To view this content, you must be a member of Terresquall's Patreon at $10 or more
Already a qualifying Patreon member? Refresh to access this content.
Posts categorised under:
ArrayList
in Java cannot contain primitives like int
, double
or char
In Java, an ArrayList
is a very convenient object that allows us to create and manage variable-length arrays. However, in Java, an ArrayList
also has a weird quirk. You cannot declare an ArrayList
that uses Java primitives. Below are a few examples:
import java.util.ArrayList; public class ArrayListTest { public static void main(String[] args) { ArrayList<int> intList = new ArrayList<int>(); ArrayList<double> doubleList = new ArrayList<double>(); ArrayList<char> charList = new ArrayList<char>(); } }Continue reading
If you are an aspiring game developer, or someone with a lot of experience making games, you may need to, at some point, test out your games on your mobile device. However, you may find that the process of having to build and install your game onto your mobile device a time-consuming and tedious process. Especially if you encounter any bugs or UI glitches and now have to go back into Unity, make the changes and repeat the installation process all over again.
With Unity Remote 5 however, this process can be entirely avoided as, not only can you directly test them through the editor, you can even make changes on the fly just by stopping the play and making your changes, before pressing play again to check and see the effects of the new changes.
Continue readingWelcome to part 3 of our Metroidvania tutorial series, where we’ll be taking you on a journey through the development process of creating your own Metroidvania game, just like the widely popular Hollow Knight, in Unity!
Continue readingWelcome to Part 2 of our Metroidvania tutorial series, where we’ll be taking you on a journey through the development process of creating your own Metroidvania game, just like the widely popular Hollow Knight, in Unity!
Continue readingEver wanted to create a Metroidvania like Hollow Knight? In Part 1 of our guide, we will explore how to create movement, animations and a camera for our player character.
Continue readingXAMPP is a great tool for web developers because it packages a couple of applications used for web hosting into one program, and it allows websites to be tested locally on a computer. Unfortunately, because it links multiple applications together, it is pretty error-prone.
One of the errors that might happen is that you might not be able to access XAMPP’s phpMyAdmin, which provides users with an interface to modify the local SQL database. In this article, we go through the various reasons why this might occur, as well as how you can fix them.
Continue readingUnity is a popular game development engine that provides many tools to create interactive and engaging games. One of the most important aspects of any game is the user interface, which includes text elements that provide information and feedback to the player. Unity provides two options for creating text elements: the legacy Text component and the newer TextMeshPro.
Continue readingEver wanted to create a game like Subnautica in Unity? Check out Part 4 of our guide here, where we go through how to set up the storage system for the game.
A link to a package containing the project files of this tutorial series can also be found at the end of this article.
Continue reading