Sign in to follow this  
superman3275

SFML Problems :(

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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", [i]or[/i] they download the entire project which includes the folders and images.

SFML 1.6 has a [url="http://www.sfml-dev.org/tutorials/"]tutorial[/url], 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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this