You might be familiar with how to loop over a list, but what about a list of lists? You may not even be sure how to create one. This post will cover very simply how to create, use, and loop over a list of lists.
What Is An Array The best way to picture an array is to think of it as a series of boxes, all in a row. Each box holds a variable, but all of the same type. Below is an example: If we wanted to store an array of integers, or int's, it might look like this: The... Continue Reading →
You might have seen if statements with some confusing symbols: &&, || or !. These are called the logical operators, and are used to create more complicated logic within an if statement. They are: && - the Logical AND operator || - the Locical OR operator ! - the Logical NOT operator Quick Examples But what do they do? I will give some quick examples. if... Continue Reading →
This shows you how to check if any key key is being pressed on the keyboard and NOT the mouse in the correct way. There are some incorrect methods shown on the internet elsewhere.
This tutorial teaches you how to keep game objects from being destroyed when loading a new Unity scene. It will preserve them between multiple scenes.
This tutorial teaches how to import 2D pixel art graphics so they are nice and crisp, and then how to chop up your sprite sheets.
This tutorial shows you an easy, secure way to save and load your games data, converting it to binary (machine code), to make it hard for players to modify your data.
The subject of difficulty makes for interesting debate. There is a trend these days of making easier games to reach wider audiences. Is that a good thing? Back in the days of the Nintendo NES and SNES, games were much harder as a general rule, particularly when talking about modern Nintendo or casual games -... Continue Reading →
If you've ever wanted to write a script that could make your sprite flash a different colour or turn them transparent in Unity, there's an easy way. The following code is C#. Sprite Renderer You're sprite is contained in a component called the Sprite Renderer. Now if you click on "Color", you can manually change... Continue Reading →
I've mentioned Mark Brown before as a game design channel you should watch. One of his more recent videos is on the game design of Mega Man 11. Making a platformer is something I've always wanted to do, and with Super Mario Maker 2 coming out soon for Nintendo Switch, I really enjoyed watching his... Continue Reading →