Collectable By Pshaf001
Peril » Devlog
So I wanted to make an early start on working on the collectible. I was waiting for Ahmed to finish the movement for the player so I can then work on doing the collectible. Using the Chest sprite from Cainos Top-down basic asset pack. I managed to make a collectible mechanic for the game. The asset pack came with two styles of chest one open and one closed I placed the closed one on the map.
So I used object collision to detect when the player touches the hitbox of the chest. If it detects collision then it will check that if the chest has already been opened. If this is false it will change the sprite to the chest open sprite and increase the score by one.
Peril
Steal the gold don't get caught!
More posts
- GameOver Menu by Pshaf001May 09, 2021
- Pause Menu By Pshaf001May 09, 2021
- Setting's By Pshaf001May 09, 2021
- Gantt Chart - mhuss023May 09, 2021
- Main Menu by Pshaf001May 09, 2021
- Research By Pshaf001Apr 22, 2021
- Planning By Pshaf001Apr 22, 2021
Leave a comment
Log in with itch.io to leave a comment.