I had a dream to make video games. People around me seemed to think I should "get a real job". I ignored them and went my own way, because this is how I wanted to live my life. Now I've made Puzzledorf. This is how I did it.
This is a quick guide on how to make a 2D, custom mouse cursor in Unity, from making the texture, getting it into Unity, and then actually using it in your game.
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. One example is the fireworks that explode when you do something right: Or making the Press Any Key... Continue Reading →
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.
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.
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.