feat: Implement enemy formation behavior and attack dive mechanics
This commit is contained in:
parent
fe5579727f
commit
4256b0046c
2 changed files with 114 additions and 43 deletions
|
@ -59,9 +59,9 @@ nix develop --command bash -c "cargo build"
|
|||
**2. Enemy Behavior - Formations & Attack Patterns:**
|
||||
|
||||
* **Enemy Formations:** This is a core Galaga feature.
|
||||
* Define target positions for the enemy formation on screen.
|
||||
* Give enemies an `Entering` state/component: They fly onto the screen following predefined paths (curves, waypoints).
|
||||
* Give enemies a `Formation` state/component: Once they reach their target position, they stop and hold formation.
|
||||
* ~~Define target positions for the enemy formation on screen.~~ **(DONE)**
|
||||
* ~~Give enemies an `Entering` state/component: They fly onto the screen following predefined paths (curves, waypoints).~~ **(DONE - Basic linear path implemented)**
|
||||
* Give enemies a `Formation` state/component: Once they reach their target position, they stop and hold formation. **(DONE - Stop implemented by removing FormationTarget)**
|
||||
* **Enemy Attack Dives:**
|
||||
* Give enemies an `Attacking` state/component.
|
||||
* Periodically trigger enemies in the formation to switch to the `Attacking` state.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue