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 dominic

Just a small demo that uses Box2D for physics simulations:

Jetpack Demo Game

I also wrote a short tutorial: Physics with Box2D. The source for the demo game is on your download page. Enjoy :)


I put all the sources for the Box2D integration in the lib/plugins/box2d/ directory as it is neither directly related to the engine, nor to the game. It think it would be nice if this lib/plugins/ directory will become somewhat of a standard when releasing code that "extends" Impact. What do you think?

1 decade ago by Hareesun

That's awesome. Gunna be fun to see how I can work that in :D

I've actually been using the plugins folder thing anyway. Makes a lot of sense really. :)

1 decade ago by Ken

Excellent! I've been wanting to play with Box2D and this just made it so much easier! Very much appreciated. Thank you Dominic.

1 decade ago by MikeL

@Dominic: I like the idea of a standard directory that we can all use if we create extensions to Impact. I have been scratching my head some as to where put these extensions.

For example, I am working on creating a bezier path module so that entities can follow a pre-created bezier pathway. I had thought about creating another directory within the entities directory, but I'll use the lib/plugins instead.

Cool demo by the way. I was also thinking, maybe those who want to (not compulsory) could add on our game's web page "Created with Impact" with a link or some such thing. That way the Impact name and capabilities will get around faster.

1 decade ago by nefD

This is awesome! I remember Dominic mentioning in #impacjtjs on freenode (the official irc channel.. check it out if you haven't already) that he'd like to get box2d working. Well done! How are tile maps / collision maps handled?

Also, love the idea about lib/plugins.. Makes it much easier to standardize module/plugin installation and keep game directories clean. Maybe this can be mentioned in the docs somewhere, or an empty plugins dir can be added to the official archives and git repo?

1 decade ago by abritinthebay

Nice. Not sure if the low-ish frame-rate is because of box2d or just a random thing for me running it though.

And I agree with a standard location for plugins.
Page 1 of 1
« first « previous next › last »