Skip to content

feat: implement enemy spawning and basic brute/drone AI - #29

Merged
AhmedSobhy01 merged 17 commits into
mainfrom
feat/enemy-ai-init
Apr 17, 2026
Merged

feat: implement enemy spawning and basic brute/drone AI#29
AhmedSobhy01 merged 17 commits into
mainfrom
feat/enemy-ai-init

Conversation

@AhmedSobhy01

Copy link
Copy Markdown
Collaborator

Summary

  • Add a dedicated EnemySpawner system and move enemy spawn tuning into scene.game.enemySpawner
  • Implement basic enemy AI for brute and drone/flyer enemies, including facing, hover motion, and attack cooldown timing
  • Add drone support

I didn't add any models and kept the brute and drones just a cube until we finalize the WIP of the asset loader and configs.

@LoayAhmed304 LoayAhmed304 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the json architecture here, what is components and what are health and collider?

Comment thread config/app.jsonc Outdated
Comment thread config/app.jsonc Outdated
Comment thread src/game/systems/enemy-ai.hpp Outdated
Comment thread src/game/systems/enemy-ai.hpp Outdated
Comment thread src/game/systems/enemy-ai.hpp
Comment thread src/game/systems/enemy-ai.hpp Outdated

@LoayAhmed304 LoayAhmed304 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@AhmedSobhy01
AhmedSobhy01 merged commit f873ab1 into main Apr 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants