Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: A Game with Box2D integration  (Read 5028 times)

0 Members and 1 Guest are viewing this topic.

AohmZ

  • Newbie
  • *
  • Posts: 4
    • View Profile
A Game with Box2D integration
« 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:



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?

mateandmetal

  • Full Member
  • ***
  • Posts: 171
  • The bird is the word
    • View Profile
    • my blog
Re: A Game with Box2D integration
« Reply #1 on: August 09, 2012, 12:03:32 am »
Thor has a fully customizable particle system module, and works nice with SFML 2
« Last Edit: August 09, 2012, 12:05:58 am by mateandmetal »
- Mate (beverage) addict
- Heavy metal addict _lml
- SFML 2 addict
- My first (and free) game: BichingISH!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: A Game with Box2D integration
« Reply #2 on: August 09, 2012, 12:10:18 am »
Thor has a nice particle system module, and works nice with SFML 2
Yes and there also exists a tutorial for it and Nexus just made this little fireworks example 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. 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. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

AohmZ

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: A Game with Box2D integration
« Reply #3 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. 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.