Trying to get a ball rolling
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Trying to get a ball rolling
Hi I'm new to livecode and I'm trying to create a simple physics mechanic that I wish to use in a game. All I'm try to achieve is to get a rock to fall, stop when detecting a floor and then roll down the floor if its sloped. I was hoping someone maybe able to help me with this. Thank you
Re: Trying to get a ball rolling
Personally I would recommend checking out animationEngine because he has done most of the work for you (movement, acceleration, collision detection, etc).. There is a little bit of work to using the API, but much less than writing it all by yourself.. Otherwise check out the move command and intersect function..
Re: Trying to get a ball rolling
Hi Joe,
1. welcome to the forum!
2. additionally to what Sean said, it may be a good idea to get the basics of Livecode first
Check these great stacks:
http://www.runrev.com/developers/lesson ... nferences/
Best
Klaus
1. welcome to the forum!
2. additionally to what Sean said, it may be a good idea to get the basics of Livecode first
Check these great stacks:
http://www.runrev.com/developers/lesson ... nferences/
Best
Klaus
Re: Trying to get a ball rolling
Listen to Klaus.. He is <3
Re: Trying to get a ball rolling
I'm smaller than 3? WTF?
Re: Trying to get a ball rolling
Something like that
Re: Trying to get a ball rolling
Hey, you're guaranteed a gold or silver, nothing to complain about there.
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Trying to get a ball rolling
There are also some nice physics examples in the User Examples stacks (click the icon in the toolbar.) Look for stuff by John Hurley. He wrote a pool game if I remember right, along with some others. Or search there for "physics".
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com