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

Author Topic: SFML Beginner: Which is the first tutorial I should read?  (Read 2028 times)

0 Members and 2 Guests are viewing this topic.

DecoratorFawn82

  • Newbie
  • *
  • Posts: 10
    • View Profile
SFML Beginner: Which is the first tutorial I should read?
« 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!

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: SFML Beginner: Which is the first tutorial I should read?
« Reply #1 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.  ;)
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

DecoratorFawn82

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: SFML Beginner: Which is the first tutorial I should read?
« Reply #2 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 :)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
AW: SFML Beginner: Which is the first tutorial I should read?
« Reply #3 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. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

wintertime

  • Sr. Member
  • ****
  • Posts: 255
    • View Profile
Re: SFML Beginner: Which is the first tutorial I should read?
« Reply #4 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.
« Last Edit: January 06, 2014, 02:16:44 pm by wintertime »

Barlog

  • Guest
Re: SFML Beginner: Which is the first tutorial I should read?
« Reply #5 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/

amir ramezani

  • Jr. Member
  • **
  • Posts: 81
  • i'm a programmer who can't see well
    • View Profile
    • download useful software!
    • Email
Re: SFML Beginner: Which is the first tutorial I should read?
« Reply #6 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
if you can't see well, you can't test your applications and operating system well
my game engine:
allegro game creator
my operating system:
AmirOS