Update 9 - Rooms closing & opening, Enemies spawning gradually, Enemy range mechanic added & scrapped
I began by implementing a range mechanic for the enemies. I then realised it wouldnât be necessary, because enemies should only be spawning on a room-by-room basis. This taught me to plan ahead more carefully (also to laugh at myself!)
Then I added the room closing and opening feature. It works by instantiating a wall prefab upon the player entering a room, which then spawns the enemies. A count is kept of how many enemies are currently in the room that the player is in, which is then used to open the walls back up when all enemies are defeated.Â
Here is a link to the tweet/video:
https://twitter.com/cgf_dev/status/1438097590646620169












