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

Author Topic: SFML Blueprints - Another SFML book  (Read 49810 times)

0 Members and 1 Guest are viewing this topic.

Krozark

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • site perso
SFML Blueprints - Another SFML book
« on: June 01, 2015, 02:55:14 pm »
Hello!

I am glad to announce you that the book on the SFML SFML Blueprints has been published.

As previous books on SFML, it's published by Packt and is available at the following address:https://www.packtpub.com/game-development/sfml-blueprints.

This book was written by myself and discusses about different points.
Thus we can find different topics such as:

  • Preparation the computer software (C ++ compilers 11) and installation of SFML2.2
  • General game's architecture
  • Creating a asteroid and a tetris clone (model entities game board management)
  • Let's add physics to our tetris (using Box2D)
  • Creating a GUI from scratch, and then use SFGUI. Integration them to the tetris project
  • Multithreading mutex bases
  • Creating a Hybrid RTS / tower defense. Model "Entity system", tile map management (hexagonal isometric), game logic ...
  • Turn the previous game in a network game to make it multiplayer. TCP socket use, threads, mutex ... And backup server status (different games) in the database (Sqite3) to resume them later.

This book contains 8 chapters and each one includes at least one project, and is accompanied by the source code that you can modify as desired.

Here are some screens of different projects:
Chapitre 3

Chapitre 4 (line cleaning not enable for this screen shot)

Chapitre 7 + 8


I hope this book will help developers create games that wish.
« Last Edit: June 02, 2015, 01:58:44 pm by Krozark »

SpeCter

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: SFML Blueprints - Another SFML book
« Reply #1 on: June 01, 2015, 03:23:12 pm »
Bought it the moment it was published. Just skimmed through it(not enough time atm), but i like it so far.
Will probably give a better preview when I have time.

Anyways... congrats on publishing it ;)

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Re: SFML Blueprints - Another SFML book
« Reply #2 on: June 01, 2015, 04:34:11 pm »
Awesome!

I buy it as soon as my kindle battery is filled up! I'll give full feedback as soon as I read it. But just looking at the summary, it sounds like it completes the previous book by taking another road to the same results. I can't wait :)

Krozark

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • site perso
Re: SFML Blueprints - Another SFML book
« Reply #3 on: June 02, 2015, 10:06:07 am »
Indeed.
The idea was not to replace the previous book, but to complete it by showing new topics.
Do not hesitate to give me your feedback.

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: SFML Blueprints - Another SFML book
« Reply #4 on: June 02, 2015, 11:09:53 am »
Seems like your Tetris implementation fails horribly. :D

Krozark

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • site perso
Re: SFML Blueprints - Another SFML book
« Reply #5 on: June 02, 2015, 01:57:58 pm »
The screen shot of the Tetris was actually made by disabling the line cleaning. So don't worry, it's just for the screen shot ;)

SpeCter

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: SFML Blueprints - Another SFML book
« Reply #6 on: June 02, 2015, 02:58:22 pm »
Isn't the screenhot part of the sample Box2D Integration?

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Re: SFML Blueprints - Another SFML book
« Reply #7 on: June 02, 2015, 03:16:56 pm »
Isn't the screenhot part of the sample Box2D Integration?

I guess it is and I think it's nice to demonstrate how "real" physics would do when applied to that game :p

SeriousITGuy

  • Full Member
  • ***
  • Posts: 123
  • Still learning...
    • View Profile
Re: SFML Blueprints - Another SFML book
« Reply #8 on: June 03, 2015, 07:59:16 am »
Already preordered it last month, nice to see it published now. Can't wait to read the advanced topics like Box2D Physics in cooperation with SFML, SFGui and Multi-threading. After finishing "SFML Game Development" this seems to be the next step on the learning curve.
Thanks in advance ;)

Krozark

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • site perso
Re: SFML Blueprints - Another SFML book
« Reply #9 on: June 03, 2015, 10:12:42 am »
Isn't the screenhot part of the sample Box2D Integration?

Exactly  ;)

devilswin

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • Email
Re: SFML Blueprints - Another SFML book
« Reply #10 on: June 08, 2015, 05:11:02 pm »
When i get enough i will definitely buy this book!

One request, can you post a larger version of the third picture, i want to see more of what it looks like.

Great work, so excited to read it! :)

Krozark

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • site perso
Re: SFML Blueprints - Another SFML book
« Reply #11 on: June 08, 2015, 05:30:36 pm »
Glade to know that you are interested in it.
And don't hesitate to give your feedback  ;).

You can find some screens here : https://github.com/Krozark/SFML-book/tree/master/screen.

zombox

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: SFML Blueprints - Another SFML book
« Reply #12 on: September 11, 2015, 10:21:59 pm »
I have problem with compiling source. Anybody could share compiled .exes?

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: SFML Blueprints - Another SFML book
« Reply #13 on: September 11, 2015, 10:25:16 pm »
Perhaps you should explain what exact problems you have compiling the sources. That might actually result in useful answers and help other people. Just sending you binaries will not.
« Last Edit: September 11, 2015, 10:28:15 pm by Jesper Juhl »

zombox

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: SFML Blueprints - Another SFML book
« Reply #14 on: September 12, 2015, 03:48:36 am »
I'm using VS13 and encountered few problems. Actually I managed to compile few first projects, but it took some time.
- VS doesn't support constexpr, so i have to remove it
- i had to replace logical operators written like this: 'not', 'and'.. to '!', '&&'
- for example in 03_Android there're missing constructors
- i had some problems with GLEW references

It's a lot of fuss just tu run these project.

Would be great if somebody knew how to handle problem with logical operators.