12/04/19: Day Two


Day two began by listing out tasks I planned to complete today. The following list below is what I decided;

  • Coin Collection
  • Walk Animation (Character)
  • Level Timer

The first of my tasks was a simple one to complete. By using the "OnTriggerEnter2D" function within Unity, I was able to detect when the player character collided with the coin object. From here I had to destroy the coin; which prevents multiple collisions being detected; and then increase the coin count by one. The final step was to use UnityEngine.UI to allow me to edit the UI text; which displays the coin count to the player.

Following this, I began to work on my character animations. Since I haven't had much experience with this; especially through the medium of pixel art; I used this a way to further develop my skills. Since I am using 16x16 pixel sprites, I wanted to keep the character sprite simple and the animations simple. Seen below is my sprite sheet for idle and walk animations; with idle being on the top and walk on the bottom.


Further in the project, I will expand this sprite sheet to accomodate a jump, fall and damage animation. Further animations that could be added after the game jam could include animations like celebrating completing a level.

I also coded in the countdown timer; which will be implemented into the gameplay to limit the amount of time a player can spend within a level. This mechanic will later be expanded to accomodate working out the time left when the level is complete and then rewarding players with gold or lives. This script was based off of one I am using for my college project; however I had to reverse the direction time was going.

Achieved Today;

  • Coin Collection (Mechanic)
  • Coin UI (Needs Art Assets)
  • Player Walk (Animation)
  • Player Idle (Animation)
  • Count Down Timer (Level Timer)

Get Cave Dweller's

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.