1
General / How to structure a game?
« on: March 03, 2014, 06:48:15 pm »
So, I have a reasonable understanding of C++ after following a few books, and there's enough info in the SFML documentation and tutorials that I can figure out what everything in the libary does... but I don't know how to actually structure a game's code. Every tutorial just throws everything in the main file and doesn't even mention actual file structure. I know generally to put "things" in classes, make a new function for each task, keep main as small as possible and all that, but that's not enough when working with games for the first time. Is there anything I can read/watch (really do prefer watch) on this that actually uses SFML?