I noticed a problem about how to approach the design of the projects that I am working with. I know what I need to do a certain thing, but I don’t in which way should I do it. How many scripts should I make? How should I make a relation between different objects?
I can do a project that leads to the outcome that i want, but it’s not organized. I am not able to put the issue I am having in words.
Can anyone lead me to a tutorial, book or anything that can help me
I think there’s no golden solution for all cases. I for myself started my current project 4 times from scratch becasue I didn’t like the design. But each of this iterations made it easier for me to plan ahead in the context of this project. And instead of trying to make a game I’m trying to make some kind of framework to be able to klick the game together at the end.
Maybe if you write down for yourself what are the features of the game you want to create, identify the ‘actors’, study some design patterns (for my project the state machine pattern was a huge win and I think it solves many, but not all problems) and look which of them would apply to some features of the game, plan the relations between the objects (uml diagrams help a lot). There’s even a book called Game Programming Patterns.
But as I said. There’s no golden solution. It comes from experience.