New to game dev: Classes Question
Posted: Tue Mar 15, 2011 7:26 am
Let me begin by saying that I am quite new to SDL, and programming in general.
I took a look at the Programmer's Education Index (and similar threads) and found some very helpful posts, but the articles and diagrams about engine class structure seems to go right over my head. I've read through lazyfoo.net's SDL tuts probably 4 or 5 times and I am getting the hand of learning SDL's functions and what not, but I have no clue how to actually go about learning to make a game. Most of lazyfoo's tuts were a "one file" type of structure. I've made (really) basic games like Lusikka Mage's Pickin' Sticks ( :] ) but getting the hand on how to do that "better" with some basic OOP is what I am struggling with at the moment.
So my question is, are the any basic example on how to create some basic engine classes without getting too in depth for a beginner? or perhaps if anyone else has struggled with this in the past what you did to overcome it?
Thanks and I gotta say, this little community here is really awesome!
I took a look at the Programmer's Education Index (and similar threads) and found some very helpful posts, but the articles and diagrams about engine class structure seems to go right over my head. I've read through lazyfoo.net's SDL tuts probably 4 or 5 times and I am getting the hand of learning SDL's functions and what not, but I have no clue how to actually go about learning to make a game. Most of lazyfoo's tuts were a "one file" type of structure. I've made (really) basic games like Lusikka Mage's Pickin' Sticks ( :] ) but getting the hand on how to do that "better" with some basic OOP is what I am struggling with at the moment.
So my question is, are the any basic example on how to create some basic engine classes without getting too in depth for a beginner? or perhaps if anyone else has struggled with this in the past what you did to overcome it?
Thanks and I gotta say, this little community here is really awesome!