Spawning Enemies
Last Survivor » Devlog
Spawning enemies is one of the most important features of my game so I created a script for it. It is assigned on the empty game object that has children based on the spawn points. I had to drag the zombies to their slots as prefabs before specifying the number of spawn points. I made different spawn points throughout the map to avoid the player from getting crowded.
I gave high values on the enemy count to make more enemies spawn when the game starts. I spent lot of time on this part due to the incorrect positioning of the spawn points. Minority of the zombies fell down the ground and had trouble spawning the second zombie.
Get Last Survivor
Last Survivor
Shoot many zombies as possible!
Status | In development |
Author | amh271999 |
Genre | Survival, Shooter |
Tags | 3D, First-Person, Horror |
More posts
- ImprovementsJun 18, 2021
- User TestingJun 05, 2021
- SoundJun 05, 2021
- Game OverJun 05, 2021
- Pause MenuJun 05, 2021
- Main MenuJun 05, 2021
- Player StatsJun 05, 2021
- HealthJun 05, 2021
- ShootingJun 05, 2021