Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
falling off a ledge gravity simulation
Old
Nickto1414
Guest
 
Status:
Posts: n/a
Lightbulb falling off a ledge gravity simulation - 10-18-2009, 06:11 PM

here is an example of the simulation

press space to jump
use the arrow keys to move

try to jump to the other building if you land on the block you drop 100 feet and if you make it to the other side you are still able to continue jumping back and forth please refer to the code to learn how to do this.

basically this is how it works
when you walk across without jumping you will be within 12 meters of the square and will drop when you jump you exceed that threshold just enough to be more than 12 meters away from the center of the box.


if you have any comments or questions, please feel free to leave them here so i can answer them (:
Attached Files
File Type: a2w gravity and drop simulation.a2w (335.3 KB, 21 views)
   
Reply With Quote
Old
Jeremytroid
Guest
 
Status:
Posts: n/a
Default 10-19-2009, 01:54 PM

This will be very helpful for my game. Thanks
   
Reply With Quote
Old
Nickto1414
Guest
 
Status:
Posts: n/a
Default 10-19-2009, 06:01 PM

no problem, what game are you doing?
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.