Untitled

☃️ d2


📪 Notes to d2

Kid_P


📬Notes to Kid_P

🌐Blueprint and overview

December 1, 2025 9:00 AM (GMT+1) Projected Start date: December 1, 2025

Projected End date: (let’s try to get this done before the holidays - but ok for me if we don’t, though i’d still like to aim for before holidays 😅)

response fine by me ! @d2


Research and planning

Phase 0 - Project bootstrap

Phase 1 — Minimal parsing + data structures (map + player only)

Phase 2 — MLX init & render loop (visual feedback)

Phase 3 — Raycasting skeleton (flat colors)

Phase 4 — Movement and collision

Goal: smooth player movement and rotation with collision detection.

Pitfalls: forgetting fish-eye correction (use perpendicular distance), off-by-one with draw boundaries.

Phase 5 — Finalize parser (textures, colors, validation)

Goal: upgrade your parser to full .cub support and robust validation.

Pitfalls: treating spaces as walls incorrectly — spaces are void outside map; need padded map for floodfill.

📖 Bonus (if we decide to do them)

📖 git - how to


Git conventional commits cheatsheet

Pull Request

Validating (Merging) a Pull Request

Creating a New Branch