SFML community forums

Help => General => Topic started by: DecoratorFawn82 on January 05, 2014, 08:12:33 pm

Title: SFML Beginner: Which is the first tutorial I should read?
Post by: DecoratorFawn82 on January 05, 2014, 08:12:33 pm
Hi SFML users! I'm wondering if I want to learn to use SFML what is the first tutorial I should read at the SFML official website (http://sfml-dev.org/tutorials)?

I don't really know where to start. Thanks for replies!
Title: Re: SFML Beginner: Which is the first tutorial I should read?
Post by: zsbzsb on January 05, 2014, 08:15:37 pm
It depends on what you want to do, but generally you should start from top to bottom.  ;)
Title: Re: SFML Beginner: Which is the first tutorial I should read?
Post by: DecoratorFawn82 on January 05, 2014, 08:19:55 pm
Not from top to bottom the tutorials are totally mixed. But I'm think the first thing that is important to know is how to create a SFML window :)
Title: AW: SFML Beginner: Which is the first tutorial I should read?
Post by: eXpl0it3r on January 05, 2014, 08:33:49 pm
Or rather how to get SFML working with your environment. ;)

But from that you'll want to look at the window, system and graphics module tutorials and then jump to audio or network if needed.
The tutorials aren't build chronological but you'll jump around if you find something that you don't yet understand.

Also don't forget to take a look at the documentation and examples that come with SFML. ;)
Title: Re: SFML Beginner: Which is the first tutorial I should read?
Post by: wintertime on January 06, 2014, 02:14:58 pm
From the number of questions I perceive get asked here I would think:
- Getting started (one of the first to fourth depending on your system, then the 5th if needed) and read that word for word at least twice/thrice or until everything is compiling/linking correctly.
- Then the first to third of the Window tutorials to learn about the main loop setup and getting input.
- Then continue to Graphics and do at least first to fourth.
- Then Handling time from System tutorials.
- Then first/second/maybe fourth Audio, the remaining Graphics tutorials or the OpenGL tutorial as needed.
- Avoid using Networking or Threads/Datastreams until you are 100% confident you know everything else and there is no way around it as you have a real need. Thats because it complicates a program more than the other methods even when these would suffice.
Title: Re: SFML Beginner: Which is the first tutorial I should read?
Post by: Barlog on January 06, 2014, 04:44:43 pm
[Video Tutorial] Arkanoid in 160 lines - C++11 + SFML2 by SuperV1234.
http://en.sfml-dev.org/forums/index.php?topic=13677.0

About time steps: http://gafferongames.com/game-physics/fix-your-timestep/
Title: Re: SFML Beginner: Which is the first tutorial I should read?
Post by: amir ramezani on January 06, 2014, 05:20:32 pm
first of all, read the window and then read graphics tutorial
and then read keyboard and mouse
after you've learned events, read joystick, then go into system module, but not threading, and then read audio, and network and threading at last