Collisions

Roger Eller roger.e.eller at sealedair.com
Sat Mar 24 21:17:44 EDT 2012


On Sat, Mar 24, 2012 at 3:57 PM, Richard MacLemale wrote:

> I'm working on a very simple iPad app where 4 large shapes randomly float
> around on the screen.  What I'd like to do is have them be able to bounce
> off each other if they happen to touch.  Are there any tutorial pages or
> sample stacks out there that anyone knows of that I could use as a starting
> point?  I can do collision detection with intersect, but before I spend
> countless hours reinventing the wheel, I thought I'd ask.
>
> ---
> Richard MacLemale
> Music = http://www.richardmac.com
> Programming = http://www.macandchee.se


In LiveCode, go to the Resource Center, Sample Projects, Bouncy (uses
gravity to bounce a single object of the walls of the screen).  This may be
a good place to start.  The commercial product "Animation Engine" is
another.

~Roger



More information about the use-livecode mailing list