Hello, I have been programming for some time and I created a text based RPG game and moved on after a while to create a 2D RPG game. I was fully capable of making it but it was the biggest mess of code I have ever seen and I had the worse method of progression through the story. All in all, I know how to actually program but how exactly would I structure a game.
Alot of people say things like Check for collision, player detection, rendering, but how exactly would that work with a 2D RPG or a RPG in general? Im gonna start from scratch again and by that I mean a text based RPG but I want to find a suitable way of creating a structure for smooth progression through the game and that way I wont end up with a huge mess of code. Any help would be appreciated