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

Author Topic: Where to start learing ? (intermediate c++ programmer)  (Read 1389 times)

0 Members and 1 Guest are viewing this topic.

umen

  • Newbie
  • *
  • Posts: 2
    • View Profile
Where to start learing ? (intermediate c++ programmer)
« on: November 03, 2022, 09:29:19 am »
Hey all
I like to try using SFML for 2d games desktop only . (mac/win/linux)
cloned the master branch and i will like to learn how to create 2d games by example / tutorials online .
but that are as much as updated to the current version .
i can find open source very old examples or tutorials . which looks like outdated .
Any tutorials/opensource  recommendation which are up to date ?
Thanks 

euscar

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Where to start learing ? (intermediate c++ programmer)
« Reply #1 on: November 03, 2022, 10:21:44 am »
Hello.

It is not easy to find good tutorials on the net.
But if you are willing to read a good book, I recommend this:
https://www.packtpub.com/product/beginning-c-game-programming-second-edition/9781838648572
is in its second edition (2019) and contains 5 examples of videogames written in C ++ and SFML.
I find it very useful.

Then there are also those recommended on the official site:
https://www.sfml-dev.org/learn.php
but I'm better off with John Horton's book.

P.S. You can find further examples of videogames in one of the books recommended on the "Learn" page of the official site, precisely:
https://www.packtpub.com/product/sfml-blueprints/9781784398477

In reality, almost all the recommended books contain examples of 2D videogames  ;)

« Last Edit: November 03, 2022, 04:40:28 pm by euscar »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Where to start learing ? (intermediate c++ programmer)
« Reply #2 on: November 07, 2022, 12:31:52 pm »
To understand the basics of SFML it's important to work through the relevant official tutorials. They should be addressing the parts from different perspectives and equip you to use the SFML classes in any use case: https://www.sfml-dev.org/tutorials/latest/

For books I personally recommend SFML Game Development with which you'll create a basic 2D game and learn about different patterns on how to structure a game.

The master branch is still work in progress, so I currently wouldn't recommend to learn game development or even SFML with it right now, as it's subject to change and you might run into issues, which you can't even judge if they are related to your code or some issue with SFML.
Either stick with SFML 2.5.1 or use the relatively stable SFML 2.6
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything