Page 1 of 1

Box2D physics (revisited)

Posted: Wed Jun 10, 2026 7:52 pm
by ClipArtGuy

Re: Box2D physics (revisited)

Posted: Thu Jun 11, 2026 10:03 am
by bn
The video in youtube looks very impressive. Thank you.

Kind regards
Bernd

Re: Box2D physics (revisited)

Posted: Thu Jun 11, 2026 12:56 pm
by ClipArtGuy
You're welcome. Here's a side-scrolling platformer demo using this extension and library kit and some of kenney.nl's excellent spritesheets,

https://youtu.be/lEPcKremrXU

Re: Box2D physics (revisited)

Posted: Fri Jun 12, 2026 6:22 pm
by ClipArtGuy
One last demo before I have to slow down. Here is the current state of the platformer demo on youtube:

https://www.youtube.com/watch?v=un8ZZ2mwJQM

It has come quite far. The LCB and libraries have changed since the original links above, so here is the v2 release:

https://github.com/SethMorrowSoftware/B ... ha-Demo-v2

Or you can just download from the repo:

https://github.com/SethMorrowSoftware/Box2Dxt

LCB is in the SRC directory as well as the accompanying xTalk "Kit" (all demos have this baked in)

Libraries will depend on platform and are in the prebuilt directory.

This has almost as much functionality as possible from Box2D via the library/shim and there are many helpful handlers in the kit. This can handle spritesheets, PNG Images, GIFs, LC controls (fields, buttons, etc cannot be rotated, but can fall, bounce, etc)