Alice Community  

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

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Space Jump
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

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 ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.