Alice Community need help with astronaut

 need help with astronaut
 hazebo Guest   Status: Posts: n/a need help with astronaut - 11-21-2010, 01:03 PM Hi, I am so lost. I need an astronaut to jump, but with the "ask the user for a number" function, then have him jump a specific height and then have him spin around using the same function. I keep trying different functions, but I am totally lost.:
 oh yeah
 hazebo Guest   Status: Posts: n/a oh yeah - 11-21-2010, 01:06 PM I'm supposed to spin him around using a loop
 labtek9 Senior Member     Status: Offline Posts: 122 Join Date: Aug 2009 Location: Pluto 11-21-2010, 02:48 PM If I'm correct you want the user to say how high the astronaut is going to jump, yes? if so, you would put astronaut move up (ask user for a number) amount of meters and then adjust speed its not difficult, then to make him spin astronaut spin (ask user for a number) amount of rotations, then make the astronaut come back to the ground asking the user to input the first number used again. Roar Face! >:O Circle Buddy!
 labtek9 Senior Member     Status: Offline Posts: 122 Join Date: Aug 2009 Location: Pluto 11-21-2010, 02:49 PM that would be the easiest way i believe. Roar Face! >:O Circle Buddy!
 Hi labtek
hazebo
Guest

Status:
Posts: n/a
Hi labtek - 11-21-2010, 03:09 PM

Quote:
 Originally Posted by labtek9 If I'm correct you want the user to say how high the astronaut is going to jump, yes? if so, you would put astronaut move up (ask user for a number) amount of meters and then adjust speed its not difficult, then to make him spin astronaut spin (ask user for a number) amount of rotations, then make the astronaut come back to the ground asking the user to input the first number used again.

Yes, but if the user enters a number any higher than 5 meters, the astronaut flies off the page. Is there an If/Else I need to use? I was asked to create a new variable. The loop is not difficult is trying to figure out how to get the user not to enter anything higher than 5, or make it where if it's higher than 5, perhaps it asks the user for a lower number. uggh

thanks

Hazel

 labtek9 Senior Member     Status: Offline Posts: 122 Join Date: Aug 2009 Location: Pluto 11-21-2010, 07:55 PM what you could do is make the astronaut a vehicle of the camera so that you can always see him. post the world, i'll have it to you on monday, im going to my house with a computer i have alice on at monday i'll see what I can do, is this for a project, by the way? Roar Face! >:O Circle Buddy!
 Yes, it is for a project.
hazebo
Guest

Status:
Posts: n/a
Yes, it is for a project. - 11-21-2010, 07:57 PM

Quote:
 Originally Posted by labtek9 what you could do is make the astronaut a vehicle of the camera so that you can always see him. post the world, i'll have it to you on monday, im going to my house with a computer i have alice on at monday i'll see what I can do, is this for a project, by the way?

I think I have attached the actual a2w file.

Thanks so much for your help.
Attached Files
 Astronaut.a2w (783.3 KB, 53 views)

 labtek9 Senior Member     Status: Offline Posts: 122 Join Date: Aug 2009 Location: Pluto 11-21-2010, 08:00 PM I can't think of an if/else statement usable unless you add a variable, which would simplify it, if the user guesses higher than 5 just in stead of making the astronaut jump make him say something like "to high!" or what ever else you can think of and the same for too low, if user enters lower than 1 astronaut shake head as in 'no' that could work to make things work Roar Face! >:O Circle Buddy!
debussybunny563
Senior Member

Status: Offline
Posts: 852
Join Date: May 2010
11-21-2010, 08:02 PM

Quote:
 Originally Posted by labtek9 is this for a project, by the way?
Yeah, it's an assignment. I'd know 'cause I've seen it posted around the forums before.

Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.

 and....
hazebo
Guest

Status:
Posts: n/a
and.... - 11-21-2010, 08:35 PM

Quote:
 Originally Posted by debussybunny563 Yeah, it's an assignment. I'd know 'cause I've seen it posted around the forums before.