Commit graph

11 commits

Author SHA1 Message Date
c6dcf9d728 feat: add take-screenshots flake app for headless capture
Expose a `nix run .#take-screenshots` app that runs a binary inside an
Xvfb display with lavapipe software Vulkan and captures PNG snapshots
via ImageMagick. Useful for smoke-testing the Bevy renderer in
environments without a GPU (CI, sandboxed shells, agents).

Usage:
  nix run .#take-screenshots -- EXE NUM DELAY_START PAUSE_INBETWEEN [OUTPUT_DIR]

The script picks the first free :N >= 99, locates the lavapipe ICD via
pkgs.mesa with a fallback to /run/opengl-driver (NixOS), reuses the
dev shell's runtimeLibs in LD_LIBRARY_PATH, and traps EXIT for cleanup.

README updated with usage and a worked example.
2026-05-06 21:01:14 +02:00
3520d5122b feat: add TODO list for core gameplay loop and enemy behavior mechanics 2025-04-15 12:06:22 +02:00
ef055fe3c5 feat: Add enemy type differentiation and adjust movement logic for Grunt and Boss enemies 2025-04-05 19:21:09 +02:00
6acfee2f95 feat: Enhance enemy attack dive mechanics with swooping movement towards the center 2025-04-05 12:53:14 +02:00
66fd1e8b1b feat: Implement enemy attack dive mechanics and shooting behavior 2025-04-05 12:42:16 +02:00
4256b0046c feat: Implement enemy formation behavior and attack dive mechanics 2025-04-05 00:26:22 +02:00
fe5579727f feat: Implement scoring and stage management systems 2025-04-05 00:21:44 +02:00
0f4737fffd feat: Implement Game Over state and UI cleanup 2025-04-05 00:13:56 +02:00
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
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
0a5382187e feat: initial commit
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2025-03-29 10:58:19 +01:00