Enemy Spawning pt.1 | 006


Additions:

  • Enemy Movement, where the enemy will move towards the player.
  • Enemy Pool, where an enemies will all be spawned at the start of the round and then enabled and moved to position when needed, this should increase the framerate of the game.
  • Enemy Manager Class, used to allow the spawning of enemies and manage easily moving them to there new position.
  • Enemy Spawning, will spawn the enemies in a ellipse around the player.
  • Enemy colour randomizer, each time an enemy is spawned it will give them a random colour between a gradient of colours.

Changes:

  • made all of the manual weapons automatic to align with the mobile element of the game.
  • Updated the enemy health script to allow for the enemies taking damage, as well as this i also made it so instead of destroying the enemies, that it will set them free, which will disable them and allow them to be spawned by the enemy pooler again.

Removed features / Replaced features:

N/A

Thoughts:

I added the colour randomizer because I believe it made the enemies feel a lot nicer, as when they where just all red it did not feel great. as for the development of the game i am happy with the progress and am really happy with how the spawning turned out, it did slightly mess up the camera so i am going to have to adjust the lerping of the main camera to focus on the player more, now i plan to start to add all of the enemies and then change the spawning algorithm so it spawns more enemies the more you play the game which means i am going to have to limit the amount of enemies it can spawn until later in level.

Get Galaxy Survivor

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.