Alice Community Math in Alice

 Math in Alice
 killercatfish Guest   Status: Posts: n/a Math in Alice - 05-26-2009, 09:36 PM What is the main usefulness of Math in Alice? Is there any way to use it to help make object move and act in more life like manner? Thanks, Josh
 lanceA Guest   Status: Posts: n/a 05-26-2009, 10:03 PM To answer your question: Math will not help a person to "...act in a more life like manner." However, math will help you prevent the person from walking THROUGH walls. It will help the person know when his gun has no bullets or he has no lifes left. It will help you determine when the ball is near a bumper in a pin-ball game. But no, math will not make a penguin walk better.
 Ayyamana Guest   Status: Posts: n/a 01-07-2010, 09:32 PM Not necessarily, I used a function to determine the speed a chicken should walk at for it to look natural.
 x2495iiii Super Moderator     Status: Offline Posts: 3,508 Join Date: Dec 2008 Location: Somewhere in the Continental U.S. 01-07-2010, 10:01 PM I was thinking about using math to calculate specific angles at which a person's body parts should turn to move realistically, as well as increments in which to move so that those movements could be put into a while loop and stopped on a dime by setting a value to false. (')>
 Ayyamana Guest   Status: Posts: n/a 01-08-2010, 03:59 PM How exactly would you use? What variables?
 x2495iiii Super Moderator     Status: Offline Posts: 3,508 Join Date: Dec 2008 Location: Somewhere in the Continental U.S. 01-08-2010, 05:31 PM I was planning on having a maximum and minimum value which represent the very edge of the motion. When one of those edges are reached, the body part would change direction and the count would be reversed towards the other extreme and keep moving based on the counter using the increments I mentioned (a division of the total angle the body part would have to turn). By doing this, I could have the person stop walking immediately after he's knocked unconscious, instead of having to wait until the animation completes. (')>
 jediaction Senior Member     Status: Offline Posts: 5,064 Join Date: Jul 2009 Location: Bel Air, Maryland 01-08-2010, 06:14 PM Alice is not much of an Exactly Exact position program, its the basics Website: www.salokingames.com FaceBook: www.facebook.com/SalokinGames
 Ayyamana Guest   Status: Posts: n/a 01-09-2010, 04:44 PM Interesting... Shoulda thought of it myself...

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge