MichaelJr1 / teamproject-team-bug-less-group-7

teamproject-team-bug-less-group-7 created by GitHub Classroom
0 stars 0 forks source link

Flying Enemies #2

Open MichaelJr1 opened 9 months ago

MichaelJr1 commented 9 months ago

Pitch So far, the enemy types in the game currently are ground enemies. For a change in gameplay, how about we include flying enemies? These enemies will stick to flying at the top of the player's screen. The flying enemy will shoot bullets downward, if and only if they detect the player is directly under them. However, the player will be unable to hit them back, meaning they will have to stick to dodging and maneuvering rather than fighting. Fortunately, the flying enemy will only move horizontally back and forth. It will not follow the player during the level.

Changes

  1. For starters, a new enemy type will be created for the flying enemy in the enemyType enum class located in the "EnemyType.java" file. This is what the game will use to determine what enemies will be in the level chosen by the player.
  2. In the"Enemy.java" file, a functionality for the flying enemy will be added. Like the other enemies, it will have its own speed, enemy awareness and orientation functionality. However this enemy will have a very distinct timer from the other enemies as it will be consistently in the air.

If more clarification is needed, please let me know.

onzfonz commented 9 months ago

The only change I would like here is for the enemies to be a part of the level file that you mentioned so that you would be able to specify enemy types in that level file and the it would load the correct one there

onzfonz commented 9 months ago

@MichaelJr1 this one is the one to do