Hi everyone! 👋
I've been learning Python and got tired of seeing the same old tutorials, so I decided to build a Roguelike inspired by HoloCure and Vampire Survivors.
This is just a prototype (no name yet), but I'm really proud of the technical progress. I want to improve my code architecture, so I'm looking for honest feedback from more experienced devs.
What's currently implemented:
- Modular Wave System (
oleadas.py): Time-based progression that scales enemy health, speed, and spawn rate. - Upgrade Cards (
mejoras.py): Pausing between rounds to choose 3 random upgrades (fire rate, damage, speed, etc.). - Sprite Optimization: Loading sprite sheets once and slicing them via
.subsurface() to save RAM on low-end PCs. Using a fair 24x24 hitbox while rendering larger sprites. - Basic farming mechanics (carrots drop,WIP for healing).
What I need help with:
- How would you organize the main loop? Right now
main.py feels a bit heavy and I want to avoid a giant if/elif mess. - Any tips on state management (Menu, Playing, Game Over)?
- General feedback on the architecture is highly appreciated.
GitHub Link: https://github.com/N-near/Juego-roguelike-pygame (The README has the full guide on how to run it in a venv).
Thanks for reading! Have a nice day or night >:3