Alice Community  

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

Reply
 
Thread Tools Display Modes
Space Jump
Old
mnstr8401
Junior Member
 
mnstr8401's Avatar
 
Status: Offline
Posts: 7
Join Date: Jun 2011
Location: Anza, California
Default Space Jump - 07-08-2011, 01:56 PM

o Space Jump: Create a world with an astronaut (Web Gallery). Using the “ask the user for a number” function, have the astronaut jump a specific height. At the top, use a loop to spin the astronaut a specified number of times, using the same function. The astronaut falls down to the surface, raises his or her arm, and says a message. Use variables for the height of the jump and the number of spins.

This the assignment. Please see where i am going wrong.
Attached Files
File Type: a2w SpaceJump.a2w (796.3 KB, 104 views)


Irene
(A.K.A mnstr8401)
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 07-08-2011, 03:23 PM

Instead of saying astronaut move up 1 meter, have him move up heightandtimes meters. And I think the assignment is saying use a different variable for number of spins and height, so you may want to set the value of height to a variable, and a new variable times should be the number of spins.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Still a little lost
Old
mnstr8401
Junior Member
 
mnstr8401's Avatar
 
Status: Offline
Posts: 7
Join Date: Jun 2011
Location: Anza, California
Default Still a little lost - 07-08-2011, 08:13 PM

Quote:
Originally Posted by TauTrumpsPi View Post
Instead of saying astronaut move up 1 meter, have him move up heightandtimes meters. And I think the assignment is saying use a different variable for number of spins and height, so you may want to set the value of height to a variable, and a new variable times should be the number of spins.
Can you show me with a world with just the changes? Not the whole code but just the thing you suggested.


Irene
(A.K.A mnstr8401)

Last edited by mnstr8401; 07-08-2011 at 09:17 PM.
   
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 ©2017, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.