Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   how to i create user interactivity (http://www.alice.org/community/showthread.php?t=2248)

AARONDAS 02-07-2009 09:06 PM

how to i create user interactivity
 
hello I was wondering if anyone can help me figure this out. I am trying to ask a user how many times they would like the bunny to jump. if they put in x number, the bunny will jump x times.

Thanks,

AARONDAS

johnnywas 02-08-2009 05:44 PM

this is how I do it

create a variable

make sure its a "number" variable

call it bunnny

drag it into the edit pane and choose set value

put in a dummy value (any will do) as a placeholder

go into world menu

choose the function - ask user "numberdialog question"

drag that to replace the dummy value being used as a placeholder

choose other. type in question "how many hops..."

ns5902 02-08-2009 06:28 PM

Can someone help me out with this too? IF i want a bunny to ask me how far it should hop, what should i do?


All times are GMT -5. The time now is 08:35 AM.

Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.