Commit graph

29 commits

Author SHA1 Message Date
Harald Hoyer d27d27bb5a refactor: clean up formatting and improve readability in components and player logic 2025-04-16 08:46:12 +02:00
Harald Hoyer 008f9cc24a feat: add Captured and TractorBeam components, enhance enemy behavior with capture mechanics 2025-04-16 08:41:17 +02:00
Harald Hoyer 1d1b927007 chore: remove commit message instructions file 2025-04-15 12:50:29 +02:00
Harald Hoyer 037924a4f4 feat: add AGENT.md for project setup instructions and remove CLAUDE.md 2025-04-15 12:32:11 +02:00
Harald Hoyer 9aad8dd130 refactor: improve code formatting and readability in components and resources 2025-04-15 12:28:17 +02:00
Harald Hoyer 4727c370d2 feat: add commit message guidelines
- Introduce guidelines for writing commit messages.
- Emphasize the use of Conventional Commit format.
- Include tips for brevity and clarity in descriptions.
2025-04-15 12:26:10 +02:00
Harald Hoyer 4a64e12945 refactor: remove unused imports from multiple files
- Removed `std::time::Duration` import from `components.rs`, `resources.rs`, and `enemy.rs` as it was unnecessary.
- Cleaned up imports in `systems.rs` by removing `FormationState`.
2025-04-15 12:26:01 +02:00
Harald Hoyer 3c92823cb6 chore: add 'result' directory to .gitignore 2025-04-15 12:06:28 +02:00
Harald Hoyer 3520d5122b feat: add TODO list for core gameplay loop and enemy behavior mechanics 2025-04-15 12:06:22 +02:00
Harald Hoyer 54d1fd66d2 chore: remove obsolete .goosehints file 2025-04-15 12:06:09 +02:00
Harald Hoyer c61a28de29 feat: add cratedocs server configuration to mcp.json 2025-04-15 12:05:18 +02:00
Harald Hoyer 9fa4a14d54 Refactor flake.nix to use LD_LIBRARY_PATH for dependencies.
Replaced direct buildInputs with LD_LIBRARY_PATH configuration to streamline dependency handling. This makes library paths explicitly managed and simplifies runtime linking for the required packages. Updated the devShells configuration accordingly.
2025-04-14 16:44:25 +02:00
Harald Hoyer 908a9c5c86 chore: adapt flake.nix for Linux
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-04-14 16:31:34 +02:00
Harald Hoyer c525b376b0 enemy formations
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-04-11 10:51:05 +02:00
Harald Hoyer 0b8527b955 split files
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-04-11 10:44:23 +02:00
Harald Hoyer 3dbfb9dac1 iii
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-04-11 10:43:48 +02:00
Harald Hoyer ef055fe3c5 feat: Add enemy type differentiation and adjust movement logic for Grunt and Boss enemies 2025-04-05 19:21:09 +02:00
Harald Hoyer e8dceaca27 chore: Add workspace.xml to .gitignore to prevent IDE configuration files from being tracked 2025-04-05 12:54:17 +02:00
Harald Hoyer 6acfee2f95 feat: Enhance enemy attack dive mechanics with swooping movement towards the center 2025-04-05 12:53:14 +02:00
Harald Hoyer 45482f9e11 refactor: Optimize attack dive timer logic and enemy movement checks 2025-04-05 12:48:58 +02:00
Harald Hoyer 66fd1e8b1b feat: Implement enemy attack dive mechanics and shooting behavior 2025-04-05 12:42:16 +02:00
Harald Hoyer 4256b0046c feat: Implement enemy formation behavior and attack dive mechanics 2025-04-05 00:26:22 +02:00
Harald Hoyer fe5579727f feat: Implement scoring and stage management systems 2025-04-05 00:21:44 +02:00
Harald Hoyer 0f4737fffd feat: Implement Game Over state and UI cleanup 2025-04-05 00:13:56 +02:00
Harald Hoyer 9e5addb59d iii
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-03-29 17:45:15 +01:00
Harald Hoyer 201b4589b3 fixup! feat: Implement player lives, destruction, and respawn
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-03-29 13:49:42 +01:00
Harald Hoyer 10b4648f78 feat: add more hints for the AI
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-03-29 13:46:57 +01:00
Harald Hoyer 557b38af79 feat: Implement player lives, destruction, and respawn
Adds a player lives system with respawning and temporary invincibility.

- Introduces  resource (starts at 3).
- Modifies player-enemy collision to decrement lives and despawn player.
- Implements  for delayed respawn.
- Adds  component with a timer for post-respawn protection, including a blinking visual effect.
- Updates window title dynamically to show remaining lives.

Reverted collision detection from  (due to build errors)
back to using .

Fixed several borrow checker (E0499, E0596) and type mismatch (E0308)
errors encountered during implementation, primarily within the
 system.

Added  conditions for systems like shooting, collision checking,
and respawning.

Updates README.md to reflect the current state and completed TODO item.
2025-03-29 13:45:43 +01:00
Harald Hoyer 0a5382187e feat: initial commit
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-03-29 10:58:19 +01:00