Skip to content

Feature/actors #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Feature/actors #8

wants to merge 5 commits into from

Conversation

NikolaJelic
Copy link
Collaborator

  • Add enemy wave spawn in increasing intervals
  • Add enemy health and collisions
  • Enemies move towards the Lighthouse
  • Add Lighthouse, track health and rotate towards cursor
  • Add Light - spotlight that reveals and damages enemies
  • Show score

NikolaJelic and others added 3 commits June 22, 2025 21:52
* Refactor lighthouse

- Create Lighthouse class
- Add texture rendering with placeholder texture

* Add very basic enemy spawn and render

* Add util/random, demo in app (#5)

* Refactor Enemy
- add targeted movement
- change spawn point generation

* Add enemy waves

* Add simple collision detection
and enemy removal

* Extract enemy starter movement values to dedicated struct

---------

Co-authored-by: Karn Kaul <[email protected]>
* Add Light class
- move light to separate class
- let light manage its effect on the enemies
- enemies take tick damage

* Add simple score tracking and display

* Add conditional enemy rendering

* Fix initalization order

* Fix redundant assignment

* Refactor for PR
- add collision parameters struct
- fix collision calculation
- improve text score handling
- remove redundand initialization of text

* Fix type casting long to int
* Improve Lighthouse
- Add visibility radius in which enemies are revealed
- Lighthouse takes damage with enemy contact
- Stop game when Lighthouse HP reaches 0
- Add Health text
@NikolaJelic NikolaJelic requested a review from karnkaul June 28, 2025 21:23
@NikolaJelic NikolaJelic self-assigned this Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants