Week 3 - Enemy Functions


I added the basic enemy this week which the player can shoot and kill.  This was fairly easy as we'd covered it previously in a series of practicals and exercises. I downloaded some basic enemy sprites from the unity asset store (Link).

These in particular have counterparts, and associated animations which can be used to create other enemy archetypes and show what they're doing (dying, attacking, walking.) I ended up adding:

  • A spawner
    • Spawns enemies
  • Enemies
    • Harm the player when closeup
    • Pursue the player
  • Player's..
    • Shoot script
    • health script
  • "bullets"
    • Essentially the main method for damage.

Feedback:

"What's your plan for creating some difficulty here?"

  • Multiple Enemy types
  • Ramping difficulty (Enemy Health + Enemy Frequency)

"How's that going to change the basic way you currently play which is just spam shoot as fast as possible (and maybe run left/right alternately)"

  • Adding an ability allowing for disengagement to put distance between the enemies and the player.
  • Adding some form of dodge ability (Which would allow the player to go through enemies to avoid being cornered)

This is the game at current

Files

index.zip Play in browser
Apr 29, 2021

Leave a comment

Log in with itch.io to leave a comment.