![]() |
"While the world is running" event not workin in 2.4.1
I just installed 2.4.1 and was running several of my old programs and noticed that when the "When the world starts, do" event is converted to the "While the world is running" event, the "While the world is running" never executes the methods indicated in "Begin", "During", or "End" parameters. I have tried this on Windows 7 and Windows 8. Any thoughts?
|
I've never actually used it.
You are correct. It may be yet another bug introduced with the 2.4.1 release, many of which are now breaking numerous "while" events in older programs. However, in my older Worlds 2.4.1 still shows the "when worlds starts" event, as well as do new Worlds.
The "while world is Running" option would appear to be a good way to get background tasks like wave action. However, the only real way to stop a world is to click the "Stop" button, and doing so prevents the "end" event from executing anyway. In the past I just created a global Boolean variable, and let it control anything that needed to run in an infinite loop until the game is over. |
Update from January Posting
1 Attachment(s)
I've attached a quickie to demo.
Try it on 2.3.5 and then 2.4.1 to see major differences. |
Here, too
Same with mine :( I just use when the worl starts, an it works just as well most of the time. :)
-Jrr ;) |
2.4.2 is out for review
Tried the Beta release of 2.4.2 and it's looking good so far. I recommend moving up, and reporting anything you may find.
|
All times are GMT -5. The time now is 09:36 AM. |
Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.