How To Change Screen Size at Runtime – Unity

This article shows you how to change the screen size at run time via script, while avoiding the unexpected pitfalls that can occur, as well as other topics, such as toggling full screen and windowed modes, limiting frame rate, toggling vsync, and setting the resolution.

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. The best way to picture... 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 →

Blog at

Up ↑