the chest and enemies
- Roland Arellano
- Apr 19, 2024
- 1 min read
The Treasure Chest is available to the player, when the player is on collision with chest it will spawn one of three Items by using a string variables to check which item spawn.
The next thing is bug enemy and spawn a chest, when all three enemies are destroy the number variable will check how many enemies are destroy and spawn a chest.
the last is enemy spider, still work in progress but the enemy should jump towards player.
Comentarios