Jump to content

  • Log In with Google      Sign In   
  • Create Account


SFML Problems :(


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 superman3275   Crossbones+   -  Reputation: 1976

Like
0Likes
Like

Posted 15 September 2012 - 08:34 PM

So I started learning SFML using gamefromscratch.com's tutorial, and I find myself hopelessly lost. It's not that I don't understand the code, he just kept on doing stuff and then not explaining important details. He loaded an image from a folder he never told us to make, and half the code where he accesses sfml's library he doesn't explain. Sure, it teaches you how to make pong, however I have no idea what he was doing and he doesn't explain what he's doing whenever he accesses SFML. Does anyone have any good tutorials using SFML that actually explain the library.

I'm a game programmer and computer science ninja ph34r.png!

Here's Breakout:
Breakout!

Want to ask about Python and / or Pygame? What about HTML5 / CSS3 / JavaScript? What about C++ and / or SFML 2 (and 1.6)? Recruiting for a game development team and need a passionate programmer? Just want to talk about programming? Email me here:

Superman3275@Gmail.com

or Personal-Message me on here smile.png!


Sponsor:

#2 Dragonsoulj   Crossbones+   -  Reputation: 2008

Like
2Likes
Like

Posted 15 September 2012 - 10:06 PM

You could try SFML's page. They give you enough to work with, showing how to create a window, a clock, capture key events, etc. For more detail about things, just dig through the easy to read documentation. By the way, what version are you using? 2.0 or 1.6? And I am assuming C++ on this one. Maybe I will take a stab at writing a tutorial.

As a little aside, have you messaged the author on here? Look up Seraph.

#3 Servant of the Lord   Crossbones+   -  Reputation: 16741

Like
0Likes
Like

Posted 15 September 2012 - 10:27 PM

Generally with tutorials on a completely new subject, I use two or more together, along with other articles and the official documentation. Have more sources of information usually helps cover the gaps one of them might've missed.

As for loading an image from a folder that was never described, that's pretty normal. It's assumed people would go, "Oh, here's where I can insert my own image instead", or they download the entire project which includes the folders and images.

SFML 1.6 has a tutorial, but 2.0's tutorials aren't completed yet (2.0 is still an 'officially unofficial release'). You can use the 1.6 tutorial to learn SFML 2.0, but again you have to be willing to do a little googling to solve any gaps or changes.

But hey, post a link to the exact lesson you are "hopelessly lost" on, as well as what parts you don't understand, and we can help you. Then we'll just send a link of this thread to the website creator, and he can decide whether to update the tutorial from there.

It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.

[Fly with me on Twitter] [Google+] [My broken website]

All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.                                                                                                                                                       [Need free cloud storage? I personally like DropBox]

Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal


#4 superman3275   Crossbones+   -  Reputation: 1976

Like
0Likes
Like

Posted 16 September 2012 - 08:10 AM

/closed

I'm a game programmer and computer science ninja ph34r.png!

Here's Breakout:
Breakout!

Want to ask about Python and / or Pygame? What about HTML5 / CSS3 / JavaScript? What about C++ and / or SFML 2 (and 1.6)? Recruiting for a game development team and need a passionate programmer? Just want to talk about programming? Email me here:

Superman3275@Gmail.com

or Personal-Message me on here smile.png!





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS