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.


Messages - slouchcouchgamer

Pages: [1]
1
General / Re: SFML Game Development book - question
« on: August 20, 2014, 02:00:46 am »
Thanks zsbzsb.

That does help a lot alright.

I'm really excited to get stuck into the book, though what I'd really love to see is the source code broken down to reflect the sections within a chapter, building to the final full source at the end of the chapter.

Still, looks like it will be a fun book to study.

2
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]
anything