Making of Spacer's Adventures


So, this is my biggest project yet and also the most ambitious. I've wanted to make a content heavy game for a while and  when i tried my hand in it.. it was pretty hard. The game's main mechanic is it's upgrade system. I wanted to randomize the upgrades and devised a plan for it, which would not only keep the script clean but wouldn't overcomplicate  things. I made the whole thing by randomizing an index and with the help of booleans I would have determined what upgrades to have presented.

After choosing one of the three starter ships you will be able to choose from a different variety of space ships, I had different upgrades too, which didn't depend on the space ship you chose, so I split the 3 indexes into index_a, index_b and index_c, otherwise the range would have to have been larger, meaning a larger gap which the random index would have less of a chance of landing in. I also had 2 other rows of upgrades, in different functions, which were simpler to deal with. I also had to minimize the script's size so I decided to make a function unique to a certain "family" of upgrades, these functions were for the buttons. One example is such:

I chose to use a integer as a way to set the boolean array (the integer was set depending on the upgrade, it's only used for setting booleans, this works because in the beginning all booleans are false, I used another boolean to determine whether or not the first upgrade of the game was chosen), which would later set the actual booleans, which were used to chose other upgrades. I also used the same method for other upgrade buttons, and for spawning upgrade icons. This is a roundabout way of doing it, but it worked and decreased the amount of work I would have had to done. All and all this presented the most difficulty during the development process as I didn't have this model selected from the beginning and had to change it. All the remaining time was spent on polishing the game, adding more upgrades and content and fixing bugs. Had a lot of fun! Thanks for reading through this! :)

Files

[Installer] Spacer's Adventures - Windows 17 MB
Jan 10, 2020
[Zip] Spacer's Adventures - Windows 22 MB
Jan 10, 2020
[Zip] Spacer's Adventures - Linux 23 MB
Jan 10, 2020
[Zip] Spacer's Adventures - Mac 22 MB
Jan 10, 2020

Get Spacer's Adventures

Leave a comment

Log in with itch.io to leave a comment.