The power-ups arrive!



Within less than two weeks of finishing the project, it was time to work on the power-ups.

For this part, I use scriptable objects for my three power-ups (speed up, health recovery, and jump up). I also created an inventory system along with a UI to show the available power-ups for the player to use. First of all, I created a single group of scripts to apply the power-ups as soon as the player collects them.



It was the easier part because the real challenge was to store it in the inventory and use it when the player decided.

To draw slots and remove them when the item has been used, I create a list and use a dictionary. Basically, the inventory system was scriptable objects, interfaces, and events. I know it sounds simple, but I really have to spend a lot of time to make it work as I want.

Up to here, I really feel I have 80% of my game functionality done. However, the hardest part was coming: "Finish the game.". I wasn't sure if I really could do it since I needed to implement a menu for the game, build the rest of the level, add platforms, and apply animations to some of them.

Leave a comment

Log in with itch.io to leave a comment.