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.
How To Use Arrays – C#
What Is An Array Arrays are very common in game development and something I used frequently in my game Puzzledorf to store information. One example is that I store the position of every object in the puzzle below in an array, so they're useful, especially for creating an undo function. Puzzledorf The best way to... Continue Reading →
What Are Logical Operators – C#
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 I use them frequently in Puzzledorf to check when certain things are occurring. For... Continue Reading →
How To Detect Any Key Press But Ignore Mouse – Unity C#
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.
How To Not Destroy Objects Between Scenes – Unity C#
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.
How To Import Sprite Sheets – Unity
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.
How To Do Secure Saving with Binary – Unity C#
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.
How Difficult Should I Make My Game?
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 →
How To Change Sprites Colour Or Transparency – Unity C#
https://youtu.be/0Szglwf7bAU 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. I did this in various ways in my game Puzzledorf. Below, you can see I've got transparent waterfalls as an example. The transparency was changed in code.... Continue Reading →
Megaman 11 And Breaking Down Levels
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 possibly will do for my next project now that Puzzledorf is finished. Mark's analysis is great.... Continue Reading →
