I'm pretty impressed that you got this far, but I'd agree with teutonicus. Perhaps you should try to just make a basic version of this game first. Maybe something purely text-based? Start with an extraordinarily simple program and keep building on it.
Then, when you thoroughly understand that, revisit SDL and a lot of the problems you're having will be obvious to you.
Outputting an Integer and Manipulating it.
Again, agreement with the general consensus that you need to learn to walk before you can run. Step back from graphics for a little bit. Get a good book, and follow all the exercises in it.
There are many skills you'll need when creating complex projects, and these skills are learned in small projects and reinforced by scaling up the difficulty. A good book's exercises will be designed with exactly this kind of difficulty ramping up in mind.
There are many skills you'll need when creating complex projects, and these skills are learned in small projects and reinforced by scaling up the difficulty. A good book's exercises will be designed with exactly this kind of difficulty ramping up in mind.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement