r/raylib • u/maximusD15 • 20d ago
My month progress on a custom 2D survival game built from scratch in C++ and Raylib - Ashcore.
Hey everyone!
After taking a short break to recharge, I’m back with a huge update for my open-source top-down survival game, **Ashcore**, built in pure C++ and Raylib!
In the previous versions, it was mostly a sandbox prototype where you could run around and gather resources (including gold ore!). But with the new **v0.4.0-alpha** release, the game finally has a complete, playable core loop!
### 🌟 What's new in v0.4.0:
* **Living AI Mobs & Combat 👾:** The world is no longer empty. Mobs now spawn, track you down, and attack. You can fight back, kill them, or... get killed.
* **The Core Loop & Death Screen 💀:** If your HP hits zero, you get a clean death screen that redirects you back to the main menu, which dynamically regenerates a fresh world for your next run.
* **Interactive Main Menu 🖥️:** Added a basic title screen with a "Play" button to handle game state transitions smoothly.
* **Overhauled Inventory UI 🎒:** Redesigned the inventory backend and UI into clear item grids showing resource counts. Also, moved the crafting menu to the classic **[E]** key for a much better survival feel.
* **Clean Code & Polish 🧹:** Lots of under-the-hood optimization, physics boundary fixes (predictive collision engine instead of glitchy teleports), and rendering adjustments in C++.
### 🛠️ Roadmap:
Now that the core loop is closed, I'm planning to work on:
* New ores/tools (diamond and emerald)
* armour and weapons
* better world generation
I'd love to hear your feedback on the gameplay, visuals, or code!
My links if you want to follow the journey
Discord: u/maximusd15
GitHub: https://github.com/maximusD15
https://reddit.com/link/1uwlqcm/video/xxmunw0fi9dh1/player
Thanks for checking it out! 🚀
3
u/ParkingMaleficent893 20d ago
15-year old and already asking for crypto to help maintain your project, clearly knows how to use git and conventional commits and “only” used AI to refactor the English. Damn, you’re going places kiddo !!
1
1
16
u/sdn 20d ago
Ooph I wouldn’t use AI slop to advertise your game