I have recently begun porting the game Linux Tycoon over to Illumination Software Creator.
Both because it is fun, and because it shows how astoundingly quick and easy it is to build apps and games with Illumination.
And, as I progress, I am making the project file available to you, licensed under a BSD license. Basically meaning that you can take the Illumination Software Creator project and modify it or use it in any way you like.
I've currently spent roughly, I'd say, 25 to 30 minutes on this project. (You can download the project file right here, for use with Illumination 6.0 Beta 4 or higher.) And here's what's working so far.
The main user interface.
The main window is laid out and organized in a way that should translate well for both web and mobile (read: not too wide). It's a slight change from the desktop version, but only slightly.
DistroRank Updating.
The DistroRank list is updated, at the onset of every new day (once per second), with the data being pulled from a few Dictionary variables. There is one Dictionary variable for each property of a Distro, with the Key in each Key/Value pair being a number. In this sense Dictionaries are acting like a normal programming array here.
Actually what you see to the right is the whole thing. It's really, really simple.
Game Saving / Loading
There are also Save and Load game buttons. Those are completely, fully functional.
That screenshot on the right is the entire "Save Game" functionality. Here we are using the "Save Dictionary" block which takes a dictionary and saves it to the local storage. Then we use a "Load Dictionary" block to load the data back in.
As we add more dictionaries to the project, we'll need to add more "Save Dictionary" blocks. Luckily that takes about 3 seconds. Give or take a second.
Game Pausing
The game can also be paused and resumed. Here's a simple tutorial on how to use Timer Blocks this way.
Not much of a game yet. Needs a few features before it'll really be playable, but it's not far off and already has some cool stuff in it. (Drag and drop one little blue block and WHAMO you've got a saved game? That qualifies as cool in any universe.) You can grab the project file here and the latest version of Illumination Software Creator from the Download Page. I will post updates to the project as I toss in new features.
And, just for the heck of it, here's the current HTML5 version based on that project.
Filed under: Games, Illumination, Linux |