This is a follow-up on my previous article Updating Kara’s Python

KaraPy – the Kara replacement I have been working on using Python – is nearing its open source release. Everything but the “tools” object is implemented, although that does not mean there is not more development to do on it.

As you can see in the small demo above, I also have found replacement for Kara’s images and the respective authors will be named along the images’ licenses in the repository as soon as it is on GitHub. I would also like to add that it is working in both Python 2 and 3 (tested in PyPy 2.1, Python 2.7 and Python 3.3).

What Still Has To Be Done

First of all and as already mentioned, there are still methods of the “tools” object left to be implemented:

  • void showMessage(String string) “Write string to dialog window”
  • void checkState() “Checks the execution controller”
  • String stringInput(String title) “Lets the user input a string in a dialog window with a title. Returns null if the dialog is aborted using Cancel.”
  • int intInput(String title) “Lets the user input a[n] integer number in a dialog window with a title. Returns Integer.MIN_VALUE if the dialog is aborted using Cancel.”
  • double doubleInput(String title) “Lets the user input a real number in a dialog window with a title. Returns Double.MIN_VALUE if the dialog is aborted using Cancel.”`

Secondly, it barely has any tests yet, partly because I am still not used to them, but that definitely is something I have to fix.

Ideas For The Future

There are some, but I consider these this one the most important: Adding a world editor to KaraPy itself so we do not have to rely on Kara’s editor at all. But I do not think that we already have to stop there. I have good faith that this program could become more than just a Kara clone, meaning that eventually its API will get bigger and that it might get a custom map format supporting more than just the bug, trees, mushrooms and leaves.