Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - slouchcouchgamer

Pages: [1]
1
General / SFML Game Development book - question
« on: August 19, 2014, 10:40:36 pm »
Hi,

I've just started with the SFML Game Development book, and was working through the first chapter, but would like to ask a question or two before I commit.

Am I right in thinking that, as each new snippet of code is introduced, it is left to the reader to do "prep work" such as declaring the function correctly?

For example, as the handlePlayerInput() function is presented, I don't see any code for declaring it, or any mention of where you should do so. Nor do I see code for declaring bool mIsMoving in the the update() function.

Is all this by design? It is presumed the reader is already proficient enough to not be told this?


Pages: [1]