top of page

Catch Dem Kids(2022)

Catch Dem Kids is a single player game where you are the parent. You just finished work and now you have to catch dem kids before the timer drops to zero. How many of dem kids can you catch?

Responsibilites & Solutions

​

  • Implement core game loop

    • Determined start, end and the game in progress scenarios and constructed a coroutine to determine the game's current state. 

​

  • Implement spawn manager for child prefabs and powerups

    • Created two arrays; one for child prefabs and another for powerups. Randomly select an x-coordinate and spawn prefab. Created a spawn interval variable to randomly determine when a prefab is spawned. 

​

  • Implement cooldown bar smooth value change

    • Used lerp function to create a smooth cooldown bar for powerup ability.

​

  • Implement saving and loading highscore data

    • Created a serializable class and utilized binary formatters to save and load data. Once game starts the game loads the data from the file. After the game is over the game is over, then a event would trigger. The event would notify the highscore script and check if the game's score is a new highscore and if yes, then the score will be added to serializable file's data. Then the file would be closed. ​

​

  • Implemented leaderboard scores display in main menu
    • Once the player goes to the main menu screen the player presses the highscores button then the highscores are loaded and displayed on the screen​​​

Game Features Code Snippets

Saving & Loading Highscore Data

Sav&Load.jpg

Leaderboard Score Data

Gamescore.png
bottom of page