Home < Dev Blogs < Dev Blog 6: Holy Tester < Week 2: Enemy Spawning

Week 2: Enemy Spawning

7/9/19

Hourly Breakdown:

Total: 12 hours


This week I worked on a system that spawns (pseudo) random enemies in each room, according to parameters that can be tweaked by designers.

Shown below are a collection of spawn locations in a room:

Imagine a bunch of spawn positions shown in the room on the right (Unity makes visualizing this a pain)

These spawn locations are referenced in the Enemy Spawn Settings, along with the amount/types of enemies that can spawn in this room.

Lots of stuff for the designers to play with here. Empower the designers!

This should help our designers craft rooms with interesting encounters for the player. They can even reuse the same room layout and make different enemies spawn!

Next week I’m going all in on enemy AI. I’ll be implementing a proof-of-concept enemy based on the design I drafted up last week.

> Week 3: Enemy Prototyping