itch.io is community of indie game creators and players

Devlogs

Week 10 : Enemies and Interactions

ESCAPE MANIA
A browser game made in HTML5

Enemies & Interactions

In this week, I have implement enemies in the game world to be defeated. As the first mission in Escape Mania is to kill enemy as many as possible, spawning enemies are crucial in this game.  Another thing is interactions with objects in the game. When plenty of enemies have been killed, a treasure box will be spawned in random places each time. These treasure boxes are crucial for the next mission as it gives tools to help the player to complete the game.
Enemies
Chest


Underground room 1 Character
Underground room 2 Object

Feedback

During KIT109’s tutorial in week 10, I have gotten feedback from my peers as they have test my game and play with the enemies and other new feature in the game. Here are their feedback:

 enemies are looking great, especially love the animations for them! for some reason, my health disappears after a while, and looking at your reply to Ethan, the player is supposed to teleport to the start after it collides with an enemy, but its not doing it

So basically it is correct that the player is supposed to teleport after it collides the enemy. So there are some error in my script so I have changed the index of an array so that when the index reach the last element in the array, the player will be teleported to the start position of the game. Anyway, thank you for giving me feedback:)

Hey Jastine, Games looking pretty polished right now. Small issue I noticed with some tighter corridors, this area in specific (see attached video) felt a bit tight to move through, that might just be me though.

I have fixed the collider in the some areas so that the player have more space to move now. I did it by changing the collider type of the blue thingy from Sprite to none Thanks for letting me know!

Improvement

An improvement that I have made in this step is that by adding  a new cinemachine cam when a player is colliding with the chest object and press the enter key to open it. When the chest is opened, the camera will zoom in following the player so that we can see what object inside the chest.

Credits

Files

  • BasicLevelBlocking_updated.zip 6 MB
    Sep 19, 2021
  • EnemyInteraction.zip 6 MB
    Sep 23, 2021
Download ESCAPE MANIA
Leave a comment