Part of our end goal for KAGE is to see it running on mobile devices. But developing and maintaining Quixie on all devices would be a daunting task for such a small dev team like ours.
So to realize a KonsolScript for Android, on 7th of April, we started writing libKage for Android which is pure Java (again, Java for Android — not the standard Java).
libKage is a framework which would require you to extend upon to create your Android games. It contains functions and function names as if you’re still writing KonsolScript game for Quixie. This way, you can still retain the game logic you wrote for KonsolScript and run it on Android. And vice versa.
Mouse events, or Touch events rather, are already handled for you — except for keyboard inputs. Only the built-in buttons Up, Down, Left, and Right (also known as BU BD BL and BR) are available.
As a demonstration, we did a test on Smack! and here are the screenshots of the result.
Filipino’s pride, Pacman, on deck.
What better way to test Smack on Android than fighting Droid himself? (him or it? :P)
As part of libKage, we will be writing a KonsolScript to Android translator to make it even simpler to write Android Games. And possibly make use of Android SDK to automagically generate an APK of your KonsolScript game. Fingers crossed.
libKage will be available when it’s ready. It will be ready onced we release Smack for Android on Google Play. 😀
~creek23
Leave a Reply