HIW: First week after vacation progress
Updates break stuff
Quite a few updates to Unity had been released during the months I had not worked on the project. I decided to update to the latest release before resuming work... At first all seemed fine, but after a while I got a nasty crash. If using the in game menu to save, load and then try to open the menu again Unity would simply crash. Hard. Running the project as a standalone game would do the same. No logs, no useful indication as to what went wrong. For a short few minutes I did feel a bit down :) -Gah, urgh, not really in the mood.. let's just drop the whole thing and do something else?
Good thing I did not do that. After a few quick troubleshooting step to narrow down where things could be going wrong, it turned out to be a simple matter of switching the order of two lines of code! It was obviously stupid, but this had not caused an issue in the past. Guessing why it broke now, is because Unity fixed something on their end, making this type of incorrect thinking not working anymore. The day after I had a similar issue with some async functions not working as before, making it indeed feel that something with the order of execution within Unity has been changed/fixed/improved.
Has nothing to do with the text really
Getting up to speed
It took a day or so to remember how things work in the game. All in all I have to thank my past self of actually documenting the code, even though documenting a lot feels a bit stupid at times knowing you are the only one working on it. But in a sense, I suppose there are three people working on the game. Paste, present and future lovable mes.
Before taking my long break from the project I had managed to finish most of the functionality needed in the game. I had left to fix how objects can easily communicate with the script for the current level. This I got finished this week, along with some tweaks and improvements to some naming conventions to the last bits I had done before the break. Not much progress to show, but coming weeks should finally be more about creating the actual game and less about the things needed to create it. If my six year old has anything to say about it the game will have zombies, treasure chests, diamonds and explosions!
About Hamster in the Wind
A platform game made in Unity that runs on computers, iOS, Android and WebGL. It's my first game project from scratch and I am doing it to develop my script programing abilities. The concept is to guide a horde of hamster by drawing paths of wind gusts. I'm thinking a game that is accessible to many, not difficult, just something you can fiddle with regardless if using a computer or phone.
A test version (with a tad of Christmas theme going on) can be found at https://smjn.itch.io/hiw.