Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: A great programming language for text adventures!  (Read 817 times)

razor871

  • Bay Watcher
    • View Profile
A great programming language for text adventures!
« on: March 24, 2014, 07:40:30 am »

"Inform 7", this is a great programming language which is designed to easily create things like interactive fiction and such, it's also great for people who've never coded before because you only need basic English skills to use it.
I don't know if I've provided an explanative enough explanation so here's the link instead: http://inform7.com/

Feel free to check it out and discuss whether you like it or not!  ;D
Logged

Eagleon

  • Bay Watcher
    • View Profile
    • Soundcloud
Re: A great programming language for text adventures!
« Reply #1 on: March 24, 2014, 11:27:33 am »

I love Inform! and I'd still be using it, if it weren't for one main beef - it somehow manages to suck at math. There are no floating points available. How, during its entire development cycle, did this never come up as a needed or even slightly useful feature? I mean yeah, I could redesign my algorithm for skill decay and rust to use cabbages, but sometimes it can help to be able to get abstract, damnit!

I would say basic English skills are only tangentially related to learning Inform, however, in that the keywords and grammar looks like English, but if you try to talk to it about the weather in a way it doesn't like it will throw up its hands and call you a moron like any other language. It's a language full of "character" - as such, it can be difficult to debug or even understand what the hell is going on to start out with. Making it look like English, and sort of act like English, and coming up with documentation for common mistakes (the debugger reads like English too) took a lot of hard work, and that means that there's usually a very specific way the designers want you to say something so that it doesn't all fall apart around your ears.

That said, 90% of the appeal for me is still the anthropomorphism that weaves its way into the mix. Yeah, it's still a programming language, but you're writing sentences to make it do things. Once you get a flow going, assuming you're not trying to do something crazy at the time, it can be very much like writing a world into existence. If you struggle to relate to brackets and needlAbbrevnCamelFunctions and crap, you can get a taste of the intimacy experienced programmers have with their language using Inform. I got pretty far making a game before I realized how terrible it would be working around its lack of math, and I'd probably go back to it if they could just add some numbers. Maybe just one number? Doesn't even have to be a full float, you can use the back half for your garage. Please, Inform?
Logged
Agora: open-source, next-gen online discussions with formal outcomes!
Music, Ballpoint
Support 100% Emigration, Everyone Walking Around Confused Forever 2044

razor871

  • Bay Watcher
    • View Profile
Re: A great programming language for text adventures!
« Reply #2 on: March 24, 2014, 05:04:46 pm »

Hope they fix all those problems up in the next release  :D , There hasn't been a release since 2010. XD
But still, fingers crossed!
Logged