Hi there, I've spent the past few days just reading up on various kinds of things to attempt to expand my knowledge before I even bother trying anything interesting and I've always been asking the same question and hunting for a specific answer of it, so I figured I'd open a topic to discuss it.
My current goal, once I can wrap my head around game design concepts well enough is to make a small rpg, oldskool like with a set of stats and some variance in equipment and such. This of course means the enemies as well as friendly npcs would have the same amount of detail, possibly with the exception of the player due to swappable equipment and such.
Now the reason I made the thread is because I am curious as to how most coders out there would organize this, and what would you inherit from?
I'm still unfamiliar with SFML however I've attached a simple class structure which i kinda got off the top of my head. Obviously this would not be correct since I've never done this and therefore never had to sit down and tackle the problems specifically, but how would one organize this?
With that in mind I might be able to take a more focused direction in learning. My guess however, is the simpler the better, a single creature class which contains global stuff would probably be ideal, initiated once for the player, and then multiple more times with different details for the NPCs as well as enemies.
How would the sprites, animations and such be handled for these kind of situations? Btw I'm mainly seeking just discussion, although code examples would be nice and welcome.
[attachment deleted by admin]