Box2D physics (revisited)

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ClipArtGuy
Posts: 265
Joined: Wed Aug 19, 2015 4:29 pm

Box2D physics (revisited)

Post by ClipArtGuy »

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: Box2D physics (revisited)

Post by bn »

The video in youtube looks very impressive. Thank you.

Kind regards
Bernd
ClipArtGuy
Posts: 265
Joined: Wed Aug 19, 2015 4:29 pm

Re: Box2D physics (revisited)

Post 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
ClipArtGuy
Posts: 265
Joined: Wed Aug 19, 2015 4:29 pm

Re: Box2D physics (revisited)

Post 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)
Post Reply