SFML community forums

General => SFML projects => Topic started by: AohmZ on August 07, 2012, 11:49:35 pm

Title: A Game with Box2D integration
Post by: AohmZ on August 07, 2012, 11:49:35 pm
For the past week or so I've been working on a game using Box2D. So far it's culminated in this:

http://www.youtube.com/watch?v=lQHqhd0dE5Q (http://www.youtube.com/watch?v=lQHqhd0dE5Q)

A lot of what I've got so far is just backend code to make later development easier, but I plan to start working on the game specific elements today. The game I plan to develop is a magic combat game with a dynamic environment (hence, the physics). I am going to be using the Spark particle engine later on, however, if there is another mature particle engine that works with SFML, would anyone be so kind as to point me to it?
Title: Re: A Game with Box2D integration
Post by: mateandmetal on August 09, 2012, 12:03:32 am
Thor (http://www.bromeon.ch/libraries/thor/index.html) has a fully customizable particle system module, and works nice with SFML 2
Title: Re: A Game with Box2D integration
Post by: eXpl0it3r on August 09, 2012, 12:10:18 am
Thor (http://www.bromeon.ch/libraries/thor/index.html) has a nice particle system module, and works nice with SFML 2
Yes and there also exists a tutorial  (http://www.bromeon.ch/libraries/thor/v2.0/tutorial-particles.html)for it and Nexus just made this little fireworks example (https://github.com/Bromeon/Thor/blob/master/examples/Fireworks.cpp) for the Swiss national day (1st of August). ;)

If you want to help the community and you think you could trim down the code so it wouldn't have any unessecary parts, I think it could be a nice contribution to the source section (or tutorial section) of the SFML wiki (https://github.com/SFML/SFML/wiki). There've been quite a few users trying to get Box2D work with SFML and some never got it to work, with your code they just might. ;)
Title: Re: A Game with Box2D integration
Post by: AohmZ on August 09, 2012, 01:34:43 am
If you want to help the community and you think you could trim down the code so it wouldn't have any unessecary parts, I think it could be a nice contribution to the source section (or tutorial section) of the SFML wiki (https://github.com/SFML/SFML/wiki). There've been quite a few users trying to get Box2D work with SFML and some never got it to work, with your code they just might. ;)

I think I will do that. I hope to release a cleaner version of the "engine"/utilities that I've wrote for this which will have Box2D integration in it.