Thread: Save game
View Single Post
Old
zenteo
Senior Member
 
Status: Offline
Posts: 110
Join Date: Dec 2006
Location: Earth
Default 04-08-2010, 02:25 PM

Quote:
Originally Posted by bjia56 View Post
The "savegame" was great!

One question: How did you get the scripting in Alice?
Quote:
Originally Posted by dubastot View Post
Incredible!... I do have some experience in programming with Python, but I don't know what Jython is. Can anybody enlighten me?
You'll have to enable scripting in Alice first.

Jython is a "Phyton interpreter" made in Java (This makes it able to be integrated into Alice). Phyton is the programing language that's used for scripting in Alice. Java is the programing language that Alice is made in. Instead of using Python's classes and namespaces, you'll have to use Java's (Mainly because Jython is made in Java).

How to enable scripting in Alice:
http://www.westga.edu/~drocco/alice/scripting.html

Jython Guide:
http://www.jython.org/docs/library/indexprogress.html

Python Documentation:
http://docs.python.org/

Java Documentation/Api Summary:
http://java.sun.com/j2se/1.5.0/docs/...w-summary.html

Examples:
Easy - http://www.westga.edu/~drocco/alice/...ng_basics.html
Hard - http://www.westga.edu/~drocco/alice/networking.html

Thanks to DrJim for the page: http://www.westga.edu/~drocco/alice/.

Last edited by zenteo; 04-08-2010 at 02:30 PM.
  Send a message via MSN to zenteo  
Reply With Quote