9136
SFML projects / Re: My new Project
« on: November 27, 2012, 10:56:19 pm »So many things, omg.Well many things are just minor corrections, like spelling and naming conventions, so don't get scared from a list. Also nothing is really mandatory on there, but they'll improve your code quite a bit and as I said, when you're done 'refactoring' you'll feel way more comfortable working with your code.
is it still acceptable? Or did i waste my time?
Nothing is wasted, because with every step you've learned something new.
Keep in mind not that many get as far as you already have.
As gyscos already said, everyone needs some iteration until he gets a final product - nobody is born as a programmer.
i really like the idea with the RunGame Class, it should have been clear to me.Yes!
Above all I need no more global variable. And the entire management is simplified.
I usually go with an Application class and a StateManager with different states (menu state, play state, credit state, etc). Maybe it's another thing you could look into, as an example my SmallGameEngine.
Note for vs 2010 users: this seems to be totally supported by microsoft but, in their infinite wisdom, they've hidden the option under 'Tools->Options->Text Editor->C/C++->Advanced->IntelliSense->Use Forward Slash in #include Auto Complete' which is set to false by default.Cool didn't know that.