Alice Community  

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

Reply
 
Thread Tools Display Modes
need help getting tires to turn...EASY
Old
mslvr40
Member
 
Status: Offline
Posts: 16
Join Date: Nov 2011
Default need help getting tires to turn...EASY - 11-11-2011, 03:40 PM

So on my car i have the tires turning. the problem is that wen I stop holding down the foward key the wheel continues to turn. I tried doing While up key is pressed...
Begin
During:my first method.
After

But now when i let go of the key an error comes up.

Can u please look at my world and tell me what comes up
Attached Files
File Type: a2w wheel turn.a2w (617.8 KB, 17 views)
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 11-12-2011, 03:03 AM

just get rid of the infinity loops you have, since you have

"while the up key is pressed" it is automatically going to keep the wheels turning until you let that key go, so the loops are uneccassary and is causing a throwable error


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote
Old
mslvr40
Member
 
Status: Offline
Posts: 16
Join Date: Nov 2011
Default 11-14-2011, 03:55 PM

Quote:
Originally Posted by sfunk View Post
just get rid of the infinity loops you have, since you have

"while the up key is pressed" it is automatically going to keep the wheels turning until you let that key go, so the loops are uneccassary and is causing a throwable error
Thank u
   
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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.