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

Author Topic: SFML / Box2D Demo  (Read 3128 times)

0 Members and 1 Guest are viewing this topic.

Xp

  • Newbie
  • *
  • Posts: 13
    • View Profile
SFML / Box2D Demo
« on: July 02, 2011, 02:58:56 am »
Here is a little demo using SFML + Box2D + 700 objects




Alt, Shift or Ctrl and Left mouse click creates dynamic object, Right click creates fixed object

you can move arround with the selected box with arrows keys (not static ones). shift + left or right arrow key
to selecte next or prev boxes.

Numpad 5 disable gravity,  Numpad 4,6,8,2  adds gravity


Download link:
https://legacy.sfmluploads.org/index.php?page=view_file&file_id=24

I hope you likes it  :roll:


Thanks SFML upload  :D

Haikarainen

  • Guest
Re: SFML / Box2D Demo
« Reply #1 on: July 02, 2011, 07:50:31 am »
Lol, i like what you did with the loop-around-edges thing :D Are you going to make something more out of this? :)

Cuban-Pete

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
SFML / Box2D Demo
« Reply #2 on: July 02, 2011, 12:29:14 pm »
Haha, this is awesome! :D A reset/restart option would be nice.