Thorium Scripting Language
Posted by Johannes Stein on Mar 16, 2010 in Development, Games | 0 comments
So, I’ve been playing around with the Thorium scripting language lately. It’s a great project and I’m in the process of integrating Thorium into the Elysion frameworks.
The best feature is that I can use my Pascal classes directly in my script (if my class is derived from TThoriumPersistent and RegisterRTTIType is called with the correct parameters). I can declare the properties in my class and call these properties from my Thorium script without worrying about anything else.
This is a quick’n'dirty script I put together:
loadlibrary "core.std.io"
loadlibrary "elysion.kronos"
private elSprite sprite;
private elSprite sprite2;
private float angle;
private int al;
public void initialize()
{
angle = 0;
al = 0;
sprite = elSprite.create();
sprite.loadfromfile("test.png");
sprite.x = 128;
sprite.y = 128;
sprite2 = elSprite.create();
sprite2.loadfromfile("test.png");
sprite2.x = 256;
sprite2.y = 256;
printf("Initialize\n");
}
public void render()
{
sprite.draw();
sprite2.draw();
printf("Render\n");
}
public void update()
{
printf("Update\n");
angle++;
if (angle == 360) angle = 0;
sprite2.rotation = angle;
al++;
sprite.alpha = (al mod 255);
if (sprite2.onmouseover) sprite2.visible = false;
else sprite2.visible = true;
}
And here is the obligatory screenshot:

Graphics are loaned from Ari Feldman’s Spritelib GPL.
Play The City @ Linux Info Day 2010
Posted by Johannes Stein on Feb 22, 2010 in Miscellaneous | 0 comments
This post would only interest you if you are living in Germany and/or are willing to travel to Augsburg, Bavaria on the 27th of March 2010. Play The City (Link to german page) is an application I’m developing with a few of my fellow students since last semester.
As for the technical side, you may have already guessed or read on my blog post from about half a year ago we are using FreePascal and SDL (and the Elysion Frameworks of course).
The big news is that we are going to show Play The City on the Linux Info Day (german link again) this year. We are probably distributing some Play The City Live-CDs, you can watch and talk with us live and you can try the application for yourself.
Elysion Kronos Nightly build
Posted by Johannes Stein on Jan 28, 2010 in Uncategorized | 0 comments
I’m currently redesigning major parts of the Elysion Frameworks, but I still needed a nice base for all the games I’m going to make until the redesigning process is complete.
So I extended the source from “Colonial Age” slightly, fixed some bugs, improved Lazarus support and you can download the source including a little example project here (3.2 MB).
This base is currently being used for my game TowerManager.
Merry christmas
Posted by Johannes Stein on Dec 23, 2009 in Development, Games, Linux, Mac OS X, Windows | 0 comments
I wish everyone visiting this site a merry christmas and a happy new year.
Umm, I forget to make a blog post about my game I made for Ludum Dare #16, so here it is:
Colonial Age

Description:
You control a ship and need to explore all islands on the map before the AI does.
You see that circle around your ship? Yeah, ok, good, that’s your line of sight, you see everything that’s in this radius,
everything else is darker and hiden from you.
Download:
Windows (3,7 MB)
Linux (2,8 MB)
Mac OS X (4,6 MB)
Source (2,3 MB + Images/Sounds included)
Platform specific notes:
Mac OS X: Universal binary, needs at least Mac OS Leopard
Linux: You need libSDL, libSDL_image, libSDL_mixer, libSDL_ttf and liblua installed as well the latest graphics driver for OpenGL support.
Windows: You need Visual C++ 2005 Redist because of the Lua DLL. (The necessary DLLs are included, just in case)
