Merged
Conversation
Collaborator
NikolaJelic
commented
Jun 28, 2025
- 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
* 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 <karnkaul@gmail.com>
* 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
karnkaul
approved these changes
Jun 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.