SFML community forums

General => SFML website => Topic started by: rockstar8577 on February 05, 2010, 04:34:08 am

Title: Tutorials
Post by: rockstar8577 on February 05, 2010, 04:34:08 am
I was wondering if you could maybe make some more in depth tutorials. The tutorials are fine, it explains them but it doesnt really give the reader a feel of using it. Well not for me anyways i was wondering if others thought the same.
Title: Tutorials
Post by: Nexus on February 05, 2010, 01:36:52 pm
Hmm. What do you mean by "feel of using it", if the functionality itsself is explained well? Do you mean that there are no code examples in a wider context such as a small game?

Concerning design choices, there are so many ways to go, I don't know if it were good is SFML propagated one of them. But if you browse the forum, you'll find a lot of real-world examples. I sometimes write about design questions, too. Besides, you can find some code samples in the SFML installation folder.

Of course, you can ask a specific question at any time if you don't see how to implement something properly or don't know a common technique.
Title: Tutorials
Post by: rockstar8577 on February 06, 2010, 08:28:23 pm
Well, in my computer class we usually just learn what the function is what it does and how to do it. Then we go and do a program or two with it. With these tutorials it seems more like he tells you what it is and does and that's it. I don't know maybe its just me.
Title: Tutorials
Post by: phear- on February 06, 2010, 08:48:57 pm
Well what do you want a tutorial on?
Title: Tutorials
Post by: panithadrum on February 06, 2010, 09:00:06 pm
Quote from: "rockstar8577"
Well, in my computer class we usually just learn what the function is what it does and how to do it. Then we go and do a program or two with it. With these tutorials it seems more like he tells you what it is and does and that's it. I don't know maybe its just me.


When I saw the tutorials for first time I thought they were perfect :D
Title: Tutorials
Post by: Walker on February 07, 2010, 07:05:22 am
I quite like them too :). I guess different people like different things...

I like to learn by experimentation, go through the tutorials (and DO them) and read what each bit does, if you want more info on a particular command/class, look it up in the docs. If there is something in there that just doesn't make sense, search and ask in the forums.

In the tutorials I really recommend doing each bit as it is presented, don't just download the code and run it.
Title: Tutorials
Post by: Nexus on February 07, 2010, 05:32:21 pm
Quote from: "rockstar8577"
Well, in my computer class we usually just learn what the function is what it does and how to do it. Then we go and do a program or two with it. With these tutorials it seems more like he tells you what it is and does and that's it.
You mean the programming part is missing? Hey, that's your task, not SFML's. ;)

As stated, you'll find a lot of code examples in the forums, the wiki and some even in the SDK.
Title: Tutorials
Post by: rockstar8577 on February 12, 2010, 03:59:27 am
Quote from: "Nexus"
Quote from: "rockstar8577"
Well, in my computer class we usually just learn what the function is what it does and how to do it. Then we go and do a program or two with it. With these tutorials it seems more like he tells you what it is and does and that's it.
You mean the programming part is missing? Hey, that's your task, not SFML's. ;)

As stated, you'll find a lot of code examples in the forums, the wiki and some even in the SDK.


No i think its more of giving me someway to implement it, like to make a small program using the function.
Title: Tutorials
Post by: model76 on February 12, 2010, 05:04:51 am
Quote from: "rockstar8577"
No i think its more of giving me someway to implement it, like to make a small program using the function.
Maybe you didn't notice, but at the end of each tutorial, there is a down-loadable .cpp file with a small program that does exactly that.  :)
Title: Tutorials
Post by: phear- on February 12, 2010, 02:46:55 pm
Nobody answered my question... what should there be a tutorial for? Give an idea
Title: Tutorials
Post by: model76 on February 12, 2010, 08:55:18 pm
If you are taking requests, then I would like a set of complete beginners tutorials on creating and using post effects with SFML 1.5/1.6.  :D
Title: Tutorials
Post by: Laurent on February 12, 2010, 10:43:12 pm
Quote from: "model76"
If you are taking requests, then I would like a set of complete beginners tutorials on creating and using post effects with SFML 1.5/1.6.  :D

This is not SFML specific, just find a general GLSL / post-fx tutorial :P
Title: Tutorials
Post by: model76 on February 12, 2010, 11:19:45 pm
Quote from: "Laurent"
Quote from: "model76"
If you are taking requests, then I would like a set of complete beginners tutorials on creating and using post effects with SFML 1.5/1.6.  :D

This is not SFML specific, just find a general GLSL / post-fx tutorial :P

Ah yes, you are right of course. It is just that the ones I have seen are not as beginner friendly as I would like. Maybe I didn't look closely enough, though. Something in the style of the SFML tutorials would be nice!

But no ideas for truly SFML-specific tutorials, really. So maybe an appendix? Those can be kind of boring to do, though.
Title: Tutorials
Post by: sponsz on February 17, 2010, 02:08:34 am
For postfx, there should be a library of effects that you can put in, included in SFML.

My guess is that people are writing certain shaders over and over: blur, glow, HDR, bloom.  Burning blur.

Why not include 10 basic postfx shaders?
Title: Tutorials
Post by: Laurent on February 17, 2010, 07:22:14 am
Quote
Why not include 10 basic postfx shaders?

There are already five of them in the postfx (shader in SFML 2) sample.
Title: Tutorials
Post by: NightShade on April 03, 2010, 12:31:03 am
this is more so my short coming but i just dnt get the "getting started VS" tut it makes no sense to put code onto the page till u tell how to do the whole set-up and it says to set up a lib file that is not there idk if its just me not knowing but any ideas?
Title: Tutorials
Post by: Walker on April 03, 2010, 03:48:51 am
The MSVC getting started guide takes you from downloading the library to setting up your first project. It even gives you links to the download page.

I don't understand where any confusion would be coming from. Is there a particular point you don't understand?
Title: Tutorials
Post by: NightShade on April 04, 2010, 08:11:10 pm
"In Library files, add SFML-x.y\lib\vc2005"
that file path doesn't exist, i did a normal install of VS 2005.
so i just set it to the lib file witch seemed to work.
but when i tried to compile some code i get:
"LINK : fatal error LNK1104: cannot open file 'SFML_DYNAMIC.obj'"
witch i have no clue y its teling me that i falled everything else in the tut to the letter
Title: Tutorials
Post by: Laurent on April 04, 2010, 11:18:35 pm
Quote
"In Library files, add SFML-x.y\lib\vc2005"
that file path doesn't exist, i did a normal install of VS 2005.

This is the path that you extracted from the SFML archive... x.y refers to the version that you downloaded, for example 1.5.

Quote
but when i tried to compile some code i get:
"LINK : fatal error LNK1104: cannot open file 'SFML_DYNAMIC.obj'"

You've put SFML_DYNAMIC in the wrong option. There is a screenshot in the tutorial to help you... ;)