I’m using Inform 7 on an Android pad. It’s a beta version that seems to have stalled at beta. The compiler and the release mechanism work fine, but the IDE is flaky. You have to generate a z8 output and run it on a z interpreter.
My dev route is: Droidedit, Inform, copy the output.z8 to Download, Text Fiction, delete previous output, import new output.z8 to Text Fiction, test… return to droidedit.
My… it’s easier on the pc!
If yours is an Android mobile, you should find Droidedit quite good, whatever if engine you are writing for.
As gil suggested, if you have to deal with an IDE that doesn’t scroll, any kind of text editor should support scrolling. Look for one that can “share” the text with other apps - this will be a shortcut to get the source code into the IDE.
Somehow spaces and tabs have been causing some problems, so my self confident answer may not be correct. However, I’ve been able to work on my current project on my phone a lot, copying and pasting tabs when necessary, with some whitespace cleanup when I have access to a laptop. It’s been much easier to work on this project than usual, because of the mobile friendly site and server-side storage.
I still swear that four spaces worked as a tab most of the time, but I probably just didn’t understand Inform 7’s whitespace rules.
For instance: 4 spaces work when doing an “After giving…:” rule, but not when doing if statements. My guess is that Inform only requires tabs for if statements, and I just thought I was making tabs with 4 spaces.
Still, most of my if statements are fairly similar, so that’s why copying and pasting works.
Unless you have nested blocks, the number of spaces or tabs is irrelevant. You can have 0, 4 or 85, mix and match, vary the amount on every line, or you can put everything on the same line.
Once you have a block inside a rule (if, while, repeat…) and want to use the colon-and-indentation style, you need to make a distinction between the blocks so you must use tabs.
If you use the begin…end style, whitespace becomes irrelevant again and you can use whatever indentation you like. And it does allow “otherwise” if you punctuate it correctly and follow the syntax (“if x is y begin; … otherwise; … end if.”)
Sorry to dig up this thread, but I was thinking a lot today about programming with Inform 7 on my iPad. Of course there is playfic and it works pretty nice, but it is not the same as a native iOS-app. Inform on the Mac is such a beautiful application and a pleasure to work with. So my simple question is, is or was there any kind of effort to bring Inform on any mobile platform? Someone mentiond Inform 7 for Andriod. Any infos on that?
Having discovered Playfic through this thread, I gave it a go on my iPad but I couldn’t figure out the tabs/spacing on it. In Chrome on my desktop at work (I’m a terrible employee some days, tbh) Ctrl+Alt+9 works. I couldn’t get the Parchment part of the site to work in IE, so I don’t know how tabbing on that would work.