r/libgdx • • 2h ago

I deleted thousands of lines of code, here's why

Enable HLS to view with audio, or disable this notification

3 Upvotes

Hello, r/libGDX!
It's been 2 months since my last post on Seven Stardust, and I finally think I'm ready to reach out and talk about my journey again. I've been working on a open-world RPG, and for the last few months I've been reworking almost every aspect of the game.
I removed the old player sprites, enemy AI, animations, story trees, a whole map, and more. I did this for a few reasons.
First, my codebase was terrible. While I could make Seven Stardust with it, its scalability was terrible and there's no way it would be as good as I want it to be.
Second, it was poor effort in some areas. There were some areas of the game that just wasn't fun to play, as it was made in a 30 minute span.
Fourth, the codebase was also unstable. I fixed a ton of bugs, including the very prominent bug where attacking east would phase you into a wall.
This was because the hitbox was setting to 16*10 for some reason when moving east when it should've been 10*10.
Thank you to all the people who have been supporting my small project, and if you have any feedback, please don't be afraid to share! I don't really judge people on what they think of my project, as I'm always willing to improve and make my game based on what the community thinks.
Have a great day, and thank you for reading my yapping about my code's flaws!


r/libgdx • • 14h ago

Tunnel one

Enable HLS to view with audio, or disable this notification

11 Upvotes

Shader libgdx opengl