Inform 7 and iOs app

I cannot find a clear answer about this: it is possible or it will be possible in the future to “convert” an Inform 6 or 7 game to a stand-alone app for iPhone and iPad?

Yes, using zarf’s Open Source iOS Fizmo interpreter:

It’s not a one-click-solution, though.

You’ll need an iOS Dev Account and basic knowledge of XCode would be helpful, too, I suppose. If you want to customize the look & feel of your game (maybe add an ingame map), Objective C coding experience is reuqired.

(de-lurking for once, still thinking about that new nick).

There is a good tutorial for… dummies?

I have not yet had time to write one, I’m afraid. Possibly this weekend.

It would be wonderful and good for the… market! Well, dummies like me just need to convert a game to an app, customizing it only with a map (Dreamhold) and hyperlinks. That would be enough for now. How long would take to make such a conversion from an Inform 7 game source code?

Converting a game to an app won’t take more than an hour. Plus the time it takes you to set up Xcode and go through Apple’s developer registration. (Which is, well, it’s better than it used to be.)

A map, however, is not a trivial addition. The code for that isn’t part of the open-source package – partially because it requires a bunch of Z-code disassembly and tweaking, and partially because I am theoretically a business now and have to think about businessy things like “distinguishing product features”. Same goes for hyperlinks. There’s nothing in the Z-code engine to display or support them, so you’d have to write new ObjC code to make that work.

Further warning: several features are still missing, most importantly the ability to start up a game in progress with the Glulx engine. (Which is to say, the Glulx interpreter is not yet ready for prime time.) Updating your game file between versions is also a problem, in the usual way, and I have not yet built a clever hack to work around this.

Well, Zarf, I would pay for easy one-click solutions to add maps and hyperlinks! :smiley:

Those cannot be one-click features, no matter who writes the code.

…I should says, maps cannot be. Hyperlinks depends on what you mean by “hyperlinks”.

If that is unsatisfactory, try posting a parchment runner link to your game and load that in the iOS web browser. I noticed Parchment runs on the Android browser satisfactorily, surely the iOS version of Safari runs it. In fact, creating a game with embedded hyperlinks or a menu system might be much better for running on a phone or tablet, seeing as it would be a pain to type commands onscreen all the time.

I mean hyperlinks on objects: when I click the object hyperlinked I’d like to have a list of verbs to choose and click for that object. That is good for games to play on phones or tablets. Quest, tool for adventure games, is provided with this feature.

Whoops, forgot to reply to this.

I am thinking of adding a general feature to the interpreter, where if you tap a word (or double-tap, or something) it would bring up a menu of “take X”, “drop X”, “put X in…” Not too different from what it does now.

That wouldn’t mark particular words, though, and it wouldn’t distinguish game-specific nouns from any other nouns (or verbs, or other words) in the text. Doing anything game-specific is the hard part, because you have to dig into the memory map yourself, and there’s no guarantee that the game’s representation of what you care about is simple.