Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by coreysnyder

I am reading an article about Box2DJS (not particularly impact related) and they say: "A ground isn't provided for you, you need to define it. There isn't anything special about a ground, it's a static object like any other static item in the world."

Is this true in the case of Impact? Do I need to defined/place a ground or does it work with my collision layer?

1 decade ago by coreysnyder

BTW, I'm just getting started writing my own games in Impact so I'll be around here quite a bit. Is there an IRC Channel any of you hang out in?

1 decade ago by alexandre

If your game extends impact's ig.Box2DGame class, then static bodies will automatically be created from your collision map if one is found.

Or, you can opt to go native--say for a space sim, something unlikely to need a collision map--and create static bodies yourself for b2world's bounds.

1 decade ago by coreysnyder

Great that's what I had hoped but I just wanted to verify. Thanks again.
Page 1 of 1
« first « previous next › last »