Alice Community

Alice Community (
-   How do I...? (
-   -   I need help ASAP thanks for anyone who can (

losdog522 08-31-2011 04:56 PM

I need help ASAP thanks for anyone who can
1 Attachment(s)
I have added a recursion to replay the story scenario when asking the user if they would like to replay the story. Once you select yes the story replays but you can't see the characters correctly like you do when the program first start. Can someone give me some advice to what I am doing wrong because I have tried all I know and it is not working thanks. I have attached a copy of the file.

legolizard 08-31-2011 05:47 PM

This is because you don't reset everything you just replay the method. If the user enters yes then you should call a method the resets everthing back to its original location at the start of the program.

losdog522 09-13-2011 08:48 AM

need help
Reset everything? To reset do I go to properties in world? Confused on when you say reset.

x2495iiii 09-13-2011 10:47 AM

No, he means you need to make everything that has moved from its original position at the start of the world move back to that original position to replay properly. I suggest just telling the user to click the button at the top of the window, as it resets the world for you.

David B 09-13-2011 05:52 PM

When I need to reset a video, all I do it create a new method, put a "do together" in the method, and then put a piece of code for each object that returns it to the initial position. I then go through the list, and change the duration to "0 Seconds."

All times are GMT -5. The time now is 09:58 AM.

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