Commit Graph

  • 7a778b1a34 Update README main cdo 2025-10-22 11:42:50 +01:00
  • 6aec397072 Make shots self-destruct after 4 seconds cdo 2025-10-19 18:41:06 +01:00
  • cc5c118582 Make shots faster and lighter cdo 2025-10-19 17:53:07 +01:00
  • f8a8edaa46 Make everything 2x smaller cdo 2025-10-19 13:07:28 +01:00
  • 50f5cb4347 Write README cdo 2025-10-18 17:43:22 +01:00
  • f8bb2e0737 Add license (Komorebi 2.0.0) cdo 2025-10-18 17:43:22 +01:00
  • 6345479a18 Add armour items cdo 2025-10-18 17:43:22 +01:00
  • cb0d7e67f1 Handle wrapping in physics_separation() cdo 2025-10-18 17:43:22 +01:00
  • 93ba6f4a04 Refactor into more modular architecture cdo 2025-10-18 17:43:22 +01:00
  • 26b9e1da94 Make aspect global cdo 2025-10-18 17:43:22 +01:00
  • 5604675ca6 Add pausing cdo 2025-10-18 17:43:22 +01:00
  • 07616120d3 Add score cdo 2025-10-18 17:43:22 +01:00
  • 4da5437715 Add levelling cdo 2025-10-18 17:43:22 +01:00
  • 2078eb07da Only display "clear" message for a short time cdo 2025-10-18 17:43:22 +01:00
  • 1f2fd1ce0e Don't spawn small asteroids cdo 2025-10-18 17:43:22 +01:00
  • 8cbe1b0431 Add huge asteroids cdo 2025-10-18 17:43:22 +01:00
  • 79ac5a489d Add "clear" text when all asteroids destroyed cdo 2025-10-18 17:43:22 +01:00
  • 88f49dab91 Create text module for displaying messages cdo 2025-10-18 17:43:22 +01:00
  • d6ec24ae5d Add restart and handle quitting with callback cdo 2025-10-18 17:43:22 +01:00
  • 10be5ec391 Add game over message cdo 2025-10-18 17:43:22 +01:00
  • 7ed120899c Track asteroid count cdo 2025-10-18 17:43:22 +01:00
  • bd6161505c Add shooting recoil cdo 2025-10-18 17:43:22 +01:00
  • b964c277a7 Add renderer function to clear rectangle cdo 2025-10-18 17:43:22 +01:00
  • 450fdd8afe Tweak some parameters cdo 2025-10-18 17:43:22 +01:00
  • fe3c615517 Wrap all entities and shapes cdo 2025-10-18 17:43:22 +01:00
  • 8d13b862c5 Replace big asteroids with smaller ones when shot cdo 2025-10-18 17:43:22 +01:00
  • a1f289ef9d Prevent asteroids from spawning overlapped cdo 2025-10-18 17:43:22 +01:00
  • 4ce86ec405 Increase min distance asteroids spawn at cdo 2025-10-18 17:43:22 +01:00
  • e9cb65534c Implement asteroid bouncing cdo 2025-10-18 17:43:22 +01:00
  • 1b3bc21026 Rename collision_radius to just radius cdo 2025-10-18 17:43:22 +01:00
  • 64b7fc60fc Handle collisions cdo 2025-10-18 17:43:22 +01:00
  • 1053d61fda Implement collision detection cdo 2025-10-18 17:43:22 +01:00
  • 9ed14e07e5 Add collision info to entities cdo 2025-10-18 17:43:22 +01:00
  • da6a56b0b5 Refactor asteroid generation cdo 2025-10-18 17:43:22 +01:00
  • 0b4f014b33 Add more vector operations cdo 2025-10-18 17:43:22 +01:00
  • 1907d00782 Add asteroids cdo 2025-10-18 17:43:22 +01:00
  • 79dc3c1256 Move all input handling into input module cdo 2025-10-18 17:43:22 +01:00
  • f992dd3d39 Create RNG module cdo 2025-10-18 17:43:22 +01:00
  • c1f339484b Factor game logic into own module cdo 2025-10-18 17:43:22 +01:00
  • cbe0d42c3c Increase max shapes and entities cdo 2025-10-18 17:43:22 +01:00
  • 7aa582f04b Allow display wrapping to be specified per shape cdo 2025-10-18 17:43:22 +01:00
  • 5da6b00fc8 Add shooting cdo 2025-10-18 17:43:22 +01:00
  • 10b675618f Add random jitter to fire cdo 2025-10-18 17:43:22 +01:00
  • b4b46623da Move ship vertices so origin is closer to visual centre cdo 2025-10-18 17:43:22 +01:00
  • ce0636aea6 Refactor to seperate shapes and physics cdo 2025-10-18 17:43:22 +01:00
  • 66e9dcbf8e Rename MAX_VERTS_PER_DRAW to MAX_VERTS cdo 2025-10-18 17:43:22 +01:00
  • 7d6be1eb14 Grab input device to stop key events reaching terminal cdo 2025-10-18 17:43:22 +01:00
  • ed09a335d4 Add fire when thrust is active cdo 2025-10-18 17:43:22 +01:00
  • e4a7c2e665 Use warning flags in build script cdo 2025-10-18 17:43:22 +01:00
  • 7db0c66920 Add control / update logic cdo 2025-10-18 17:43:22 +01:00
  • 770f7a569c Fix wrapping cdo 2025-10-18 17:43:22 +01:00
  • 0deaf4435c Implement simple line drawing cdo 2025-10-18 17:43:22 +01:00
  • fad9a8935f Create separate input module cdo 2025-10-18 17:43:22 +01:00
  • d975f5ed42 Create separate renderer and framebuffer modules cdo 2025-10-18 17:43:22 +01:00
  • 72d73c2889 Set up input handling cdo 2025-10-18 17:43:22 +01:00
  • 9b72a63810 Implement back-buffering cdo 2025-10-18 17:43:22 +01:00
  • 9f1cb46a3b Set up drawing to framebuffer cdo 2025-10-18 17:43:22 +01:00