SFML community forums
Help => General => Topic started by: schuki on November 06, 2014, 10:38:16 am
-
Hi there,
I'm new to sfml and created a little break out game. It's very basic and therefor I want to pimp it with some explosions. I thought about creating a little particle system to simulate a explosion of the breaks. Then I found the spar engine, which seems to be a very powerful engine for particle purposes....
Please could you tell me, what the common way in sfml to create explosions is? Sprites or bigger systems like spark?
thx a lot.
rgds
_schuki
-
There's no common way, "explosions" are not SFML specific, you can do it however you want.
-
On the other hand, Thor does have a particles module (http://www.bromeon.ch/libraries/thor/v2.0/doc/group___particles.html) which makes creating pretty explosions pretty easy (check the fireworks example).
-
Thanks for the advice using thor. I did the cmake, but I can't compile the files. I get the following error: msb6006 code 3.
Could anyone pls compile and upload this library?
I use SFML 2.1 and VS2013, Windows 8.1
Thanks a lot
_schuki
-
See the link in eXpl0it3r's signature, he provides nightly builds for Thor.
-
Ok thanks a lot. Ill try the library, because it supports the particle system I need =)
To include the library into my projekt I have to do the same as I did with SFML, right?
_schuki
-
Pretty much. Please refer to the installation tutorial on my homepage (link in my signature).
-
I tried to include Thor. Visual Studio now knows the thor library, but if I excecute my game it tells me that it isn't able to find the thor-d.dll. How could I fix this?
If I copy the file into my project folder I get an "Entry Point Not Found" exception :(
-
Then you have a version or configuration mismatch. Please follow the linking steps of my tutorial precisely, a lot of people don't read it carefully.
How are you linking Thor? Are you sure the .lib and .dll binaries are from the same compiler and Git revision?
-
Hi there,
I downloaded the nightly build from the following
url: http://www.nightlybuilds.ch/project/show/2/Thor/ (http://www.nightlybuilds.ch/project/show/2/Thor/)
commit: 949f79ebcf10e85656d9c9d5e81faf7a6cf68dfd
I put the content into: C:\Thor
Then I opened the properties of my project and added the thor libraries:
http://www.directupload.net/file/d/3801/aj329oge_jpg.htm (http://www.directupload.net/file/d/3801/aj329oge_jpg.htm)
http://www.directupload.net/file/d/3801/dgx9vsmm_jpg.htm (http://www.directupload.net/file/d/3801/dgx9vsmm_jpg.htm)
http://www.directupload.net/file/d/3801/hv4twi8i_jpg.htm (http://www.directupload.net/file/d/3801/hv4twi8i_jpg.htm)
Did I miss something?
_schuki
-
The configuration looks fine, are you getting errors?