Alice Community  

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

Reply
 
Thread Tools Display Modes
Space Jump
Old
fb0171
Guest
 
Status:
Posts: n/a
Default Space Jump - 08-11-2010, 03:40 PM

I'm having trouble getting Alice to perform something probably very simple. In brief, I'm trying to make my Astronaut jump based on input from the user. My world begins with an Astronaut standing on a lunar landscape. I've programmed in for the user to participate in a game that enables the user to make the astronaut jump with a yes or no command.

After inputting yes, I need the astronaut to jump based on input from the user. An input of 1 will make the astronaut jump 1meter, 2=2 meter and so on through 5.

I've successfully programmed Alice to ask the user if he/she would like to play. I've been successful in getting the Astronaut to jump after an input from the user, but I cannot specify this input (1-5)

Can anyone give me some advice on how I will go about doing this? I've been working on this now for quit sometime and feeling a bit frustrated that I cannot make this program perform such a simple task.

I've attached my Alice program for further assistance.

Thanks Greatly!!!!
Attached Files
File Type: a2w Week 3-Astronaut.a2w (770.6 KB, 140 views)
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 08-11-2010, 04:33 PM

Hmm, ive made a system. Its my JA command System. Its got the same thing. You put a distance you want the cube to vmeo and moves that far. Check it out and see if you get it then.

http://www.alice.org/community/showt...command+system

This is the link to the thread with the command list
Attached Files
File Type: a2w My code.a2w (917.5 KB, 143 views)


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Thank You!
Old
fb0171
Guest
 
Status:
Posts: n/a
Default Thank You! - 08-12-2010, 02:29 PM

Thanks for the suggestions! You've given me some ideas for my current assignment and others to follow.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 08-12-2010, 10:15 PM

np man. Im here a lot


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
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.