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 →
How To Use The Action Command – PuzzleScript
This post is part of a series in learning how to make Sokoban games with PuzzleScript. If you haven’t read my previous tutorials, I recommend you do so here, as that is assumed knowledge for this post. The Action Command By now we know how to walk around, push and pull blocks, but what if we... Continue Reading →
How To Check Next To Objects – PuzzleScript
Sometimes you might want to check what's next to an object. You might want to check if a duck is sneaking up behind you, or you might want to create blocks that can only be pushed horizontally, but not vertically. We can do this without too much difficulty.
How To Limit Movement To Specific Directions – PuzzleScript
For some reason you might want to create custom movement in your game. Ducks that can only walk left, crates that can only be pushed horizontally, that sort of thing. There's a very simple way to do that, and I will show you how.
How To Check Movement Direction – PuzzleScript
There might be times when you want to check for something only in a certain direction. You might, for example, want to create blocks that can only be pushed horizontally. Or you might want to create a duck that can only walk left. Whatever your reasons, you specify things to occur only in specific directions.
Intermediate PuzzleScript Tutorials
I have created a series of intermediate tutorials for PuzzleScript. These tutorials are aimed at someone with no prior knowledge about programming, except that you have read my beginner tutorials for PuzzleScript.
Retro Game Colour Palettes And Tools
This post contains a bunch of colour palettes you can use in your games and pixel art projects, as well as some resources for helping you to automatically generate or manually create your own palettes, as well as some other resources. Updated periodically as I discover more stuff.
How To Do Lerping – Unity C#
Moving one object towards another is a simple enough task, and a Lerp is a good way to get the job done. Lerping can also be used to gradually change one value into another. It's easy to do wrong, so I'll talk about the right way if you want to get a constant speed.
How To Do 2D Top-Down Movement – Unity C#
This post describes how to create a simple movement for a 2D top-down game, and it assumes that the reader is a beginner in such topics.
How To Do Vector MoveTowards – Unity C#
A common task is moving one object towards another position in Unity. Assuming you want constant, linear speed, there are two methods I will discuss: Lerp and MoveTowards.
