Alice Community  

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

Reply
 
Thread Tools Display Modes
stop the world
Old
ShakeYoSenses
Guest
 
Status:
Posts: n/a
Default stop the world - 12-02-2006, 11:52 PM

what function or whatever do i use to get ther world to stop running, i just need to get it too stop when a certain method is called.
   
Reply With Quote
Method to exit player?
Old
ringo
Guest
 
Status:
Posts: n/a
Default Method to exit player? - 12-21-2006, 02:32 PM

I have a related question:
Is there a method that I can call from the code to exit playing the world?
At the moment I have to click the "Stop" button in the editor, or close the window if I use the standalone player. I believe that there must be one, which is called when clicking the "Stop" button, but it does not show up under "world's details".
   
Reply With Quote
Nice holiday project for a good programmer if really bored.
Old
DrJim
Guest
 
Status:
Posts: n/a
Question Nice holiday project for a good programmer if really bored. - 12-21-2006, 08:24 PM

I don't think this capabilility currently exists in Alice - at least the question has been asked multiple time and I haven't seen any response.

It may be possible to write a simple script to simulate the needed keyboard inputs (hold the mouse over the buttons on the screen that the world plays in to see the keystroke equivalents) but so far this has exceeded my programming capabilities and may not be part of the implemented functions. (See the first reference and general comments in this forum on the status of Alice scripting - it was in 1.0 but apparently not fully implemented in 2.0.)

Anyway, the references I'm starting with are:

http://www.westga.edu/~drocco/alice/scripting.html
http://www.rutherfurd.net/python/sendkeys/#overview and
http://www.rutherfurd.net/python/sendkeys/#overview

Please post the results if you have any success - or if you see an obvious flaw in this line of thought. This would really be something nice to have.
   
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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.