No description
Find a file
Harald Hoyer efef8df102 feat: Implement boss tractor beam and player capture
This commit introduces a new mechanic where boss enemies can use a tractor beam to capture the player.

Key changes:
- Bosses can now fire a tractor beam that targets the player.
- If the player is caught in the beam for a certain duration, they are "captured".
- Captured players are carried by the boss as it returns to its formation.
- If the boss is destroyed while carrying a player, the player is freed.
- If the player is captured, they lose a life and respawn.
- Refactored player and enemy systems to handle the new capture logic and states.
- Added GEMINI.md and CLAUDE.md to track assistant configurations.
2025-06-26 09:46:49 +02:00
.roo iii 2025-04-11 10:43:48 +02:00
.vscode feat: add cratedocs server configuration to mcp.json 2025-04-15 12:05:18 +02:00
src feat: Implement boss tractor beam and player capture 2025-06-26 09:46:49 +02:00
.envrc feat: initial commit 2025-03-29 10:58:19 +01:00
.gitignore chore: add 'result' directory to .gitignore 2025-04-15 12:06:28 +02:00
AGENT.md feat: add AGENT.md for project setup instructions and remove CLAUDE.md 2025-04-15 12:32:11 +02:00
Cargo.lock feat: initial commit 2025-03-29 10:58:19 +01:00
Cargo.toml feat: initial commit 2025-03-29 10:58:19 +01:00
CLAUDE.md feat: Implement boss tractor beam and player capture 2025-06-26 09:46:49 +02:00
flake.lock feat: initial commit 2025-03-29 10:58:19 +01:00
flake.nix Refactor flake.nix to use LD_LIBRARY_PATH for dependencies. 2025-04-14 16:44:25 +02:00
GEMINI.md feat: Implement boss tractor beam and player capture 2025-06-26 09:46:49 +02:00
README.md feat: add TODO list for core gameplay loop and enemy behavior mechanics 2025-04-15 12:06:22 +02:00
TODO.md feat: add TODO list for core gameplay loop and enemy behavior mechanics 2025-04-15 12:06:22 +02:00

bglga

This project is a simple Galaga-like space shooter game built using the Bevy engine.

Current State

The game features:

  • A player ship at the bottom of the screen that can move left and right.
  • Shooting bullets upward using the spacebar or up arrow key.
  • Enemy ships that spawn at the top and move downward.
  • Collision detection between bullets and enemies.
  • Collision detection between the player and enemies.
  • A player lives system (starting with 3 lives).
  • Player destruction upon collision.
  • Player respawn after a short delay with temporary invincibility.
  • Remaining lives displayed in the window title.

Controls

  • Move Left: A key or Left Arrow
  • Move Right: D key or Right Arrow
  • Shoot: Spacebar or Up Arrow

How to Compile

nix develop --command bash -c "cargo build"

How to Run

  1. Make sure you have Rust and Nix installed.
  2. Clone the repository.
  3. Navigate to the project directory.
  4. Run the game using the command: nix develop --command bash -c "cargo run"