Skip to content

feat: Implement Crimson Labyrinth FPS game - #2

Open
tomadowley wants to merge 1 commit into
masterfrom
cosine/make-game-doom
Open

feat: Implement Crimson Labyrinth FPS game#2
tomadowley wants to merge 1 commit into
masterfrom
cosine/make-game-doom

Conversation

@tomadowley

Copy link
Copy Markdown
Owner

This pull request introduces the core gameplay mechanics and assets for the Crimson Labyrinth, a retro 3D FPS game built from scratch.

Changes include:

  • README.md: Updated to reflect the new project name and details, including run instructions and controls.
  • assets/script.js:
    • Implemented the game loop, rendering engine (raycasting), player controls (keyboard and mouse).
    • Added game elements such as walls, enemies, pickups (health, ammo, armor, keys), projectiles, and particles.
    • Developed HUD, minimap, and game state management (health, armor, ammo, score, paused, game over, victory).
    • Integrated procedural sound effects using the Web Audio API.
    • Created enemy AI for chasing and attacking the player.
    • Implemented weapon firing mechanics and hit detection.
  • assets/style.css:
    • Styled the game interface, including the main game shell, viewport, overlay, and mission information panels.
    • Designed controls and typography to match the retro aesthetic.
  • index.html:
    • Set up the basic HTML structure for the game.
    • Linked the CSS and JavaScript files.
    • Included initial UI elements like the start button, game overlay, and mission brief.

Co-Authored-By: Cosine CLI (gpt-5.5) <agent@cosine.sh>
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.

1 participant