Alice Community

Alice Community (
-   How do I...? (
-   -   Stop animation while it is playing (

Lordcorvin 05-28-2011 02:30 PM

Stop animation while it is playing
How do i stop an animation if it started playing using the code without exiting the whole program?

DensetsuNoKaboom 05-28-2011 03:46 PM

Create an event.

While <condition> is true,
Begin: <None>
During: <play animation>
End: <None>

Lordcorvin 05-28-2011 06:39 PM

Thanks, another question

Can you make that when one button is pressed then you can press another one?

TauTrumpsPi 05-28-2011 07:46 PM

When you press the first button, have a boolean variable set value to true. Then, inside the method for the button press of the second button, put the whole method inside an if/else statement that only activates if the first variable is true.

sfunk 05-28-2011 08:23 PM

you should check out my piano helper game or candle light piano games, because those are very well done and is pretty simple to see and understand

here is the link to the thread with the game on it [url][/url]

All times are GMT -5. The time now is 06:50 AM.

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