Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Works-In-Progress (http://www.alice.org/community/forumdisplay.php?f=14)
-   -   Save game (http://www.alice.org/community/showthread.php?t=3917)

jediaction 03-31-2010 08:10 PM

"sig" "sig-niture"

dubastot 04-01-2010 11:27 AM

Oh I see what you mean.The only problem is, you spelled signature wrong jedi!

jediaction 04-01-2010 11:42 AM

I realized that already when i was puttin it in. I zometimse forget how to spell because because im tired or day dreaming

bjia56 04-08-2010 11:25 AM

Scripting
 
The "savegame" was great!

One question: How did you get the scripting in Alice?

zenteo 04-08-2010 01:25 PM

[QUOTE=bjia56;19578]The "savegame" was great!

One question: How did you get the scripting in Alice?[/QUOTE]

[QUOTE=dubastot;17001]Incredible!... I do have some experience in programming with Python, but I don't know what Jython is. Can anybody enlighten me?[/QUOTE]

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:
[URL="http://www.westga.edu/~drocco/alice/scripting.html"]http://www.westga.edu/~drocco/alice/scripting.html[/URL]

Jython Guide:
[URL="http://www.jython.org/docs/library/indexprogress.html"]http://www.jython.org/docs/library/indexprogress.html[/URL]

Python Documentation:
[URL="http://docs.python.org/"]http://docs.python.org/[/URL]

Java Documentation/Api Summary:
[URL="http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html"]http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html[/URL]

Examples:
Easy - [URL="http://www.westga.edu/~drocco/alice/scripting_basics.html"]http://www.westga.edu/~drocco/alice/scripting_basics.html[/URL]
Hard - [URL="http://www.westga.edu/~drocco/alice/networking.html"]http://www.westga.edu/~drocco/alice/networking.html[/URL]

Thanks to DrJim for the page: [URL="http://www.westga.edu/~drocco/alice/"]http://www.westga.edu/~drocco/alice/[/URL].


All times are GMT -5. The time now is 03:47 PM.

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