itch.io is community of indie game creators and players

Devlogs

Dev Log Week #3 Monster States, Collectibles, UI & Menus

Resonance
A browser game made in HTML5


Dev Log Week #3 Chase & Roam

  • Get a lot of inspiration from Mimic (horror game) specifically from Book 1 Chapter 1 where the player will have to go through mazes.
  • The enemy is called Hiachi and she sings throughout the maze that the player can hear, which gets louder the closer they get to her.
  • When in line of sight, Hibachi pursues the player, and instead of immediately stopping her chase once the player is out of sight (behind a wall for instance), she continues following the player until they get to a very far distance before entering into roam state.
  • Get the monster having a ROAM, INESTIVATE, and an CHASE state
  • Implement the Navigation3DRegion and NavigationAgent to the monster, so that it’s able to chase after the player without getting stuck behind walls.
  • Write the code for the monster (sensing, aggro and roam states)
  • Add the monster into the scene, and it chases the player when in line of sight, and continues to chase them until the player reaches a further distance away, the monster will enter its roaming state.

Collectibles & Sound

  • As the maze is big, it’ll be generally easy for the monster to actually get lost in the maze, so I’m going to implement these 10 orbs the player needs to collect that will emit a sound effect the monster will hear (no matter where it is, it will attract it)
  • IdleSound is audio for the orb, which plays on loop on its own.
  • CollectSound is an audio that plays whenever an orb is collected. 
  • The orbs emit an audio that plays whenever the player collects it. The latest orb collected will attract the monster to its location, and hopefully stumble upon the player.

Door

  • The door disappears when the player collects all 10 orbs. 
  • It will lead to the triggerbox that will fire the WinScreen, allowing the player to play again as well.

Score, Win Screen + Play Again, Main Menu & Kill Screen

  • Create a WinScreen that appears when the player reaches the end of the maze. It is triggered by a collision that is placed after the door, which will open once the player collects all of the ten orbs.
  • The WinScreen allows the option to click Play Again. This will restart the game and allow the player to go back to the start and play the game again.
  • Create a Main Menu screen that gives three buttons the player can click on. Play, Instructions, and Credits. 
  • Create a Kill Screen, of which occurs when the player comes into contact with the monster. The kill is immediate, which should encourage the player to keep listening out for music from the monster. 
Leave a comment