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
Cave Dweller's
Retro Stealth Platformer
Status | In development |
Author | _LCPM |
Genre | Platformer, Action, Adventure |
Tags | 16-bit, 2D, Pixel Art, Retro, Short, Singleplayer, Unity |
Languages | English |
More posts
- 20/04/19: Day Ten (Bug Fixing)Apr 20, 2019
- 18/04/19: Day Eight (Alpha Out Now!)Apr 18, 2019
- 17/04/19: Day SevenApr 17, 2019
- 16/04/19: Day SixApr 17, 2019
- 15/04/19: Day FiveApr 15, 2019
- 14/04/19: Day FourApr 14, 2019
- 13/04/19: Day ThreeApr 13, 2019
- 11/04/19: Day OneApr 11, 2019
Leave a comment
Log in with itch.io to leave a comment.