Wednesday, February 8, 2017

Thunderword will expose a JSON interface for other Android apps

I'm going to be adding an option to expose RemGlk JSON input/output to other apps. This is to encourage people to focus on the user-interface side of how to best adapt classic and newly created Interactive Fiction.

You will be able to make your own app and tell Thunderword to load the interpreter engine of your choice (currently: Bocfel. Frotz, Git, Glulxe, Nitfol, Scott, Tads) with the data file of your choice. Then your app will have a full JSON interface to the interpreters.  This will allow you to have lightweight APK files and not have to get involved with the NDK cross-compiler side of Android development.  Your app will have full and total control of the screen and presentation.

Should be ready for early preview in a few days.

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Good success so far, I've made an internal testing app called "Thunderclap" that can render the output from Thunderword. Both line-by-line RemGlk output and assembled-stanzas from RemGlk can be passed to outside apps. The latest alpha release on the Play Store has this new RemGlk sharing - let me know if you want to jump in and experiment with it.

    ReplyDelete