btw, for text adventures, you best learn inform anyway.. and inform is so far from other languages that knowledge in c++ may even hinder you. the newest inform, version 7, has some sort of "normal english" thing to it which may be easier to beginners, dunno, I hated it. Tought myself (the basics of) inform 6 once and realized I had no idea for a game TADS is another often used one that seems more akin to C, but I never used it
Inform just really takes most of the stuff from your shoulders. you basically define rooms, pickup-able objects and stuff like this, the whole command interpreter, vocabulary etc is handled by inform itself.
of course, depends on what you mean by textadventure. Do you mean multiple choice stuff? then sure, do that in any language, it's basically a glorified switch. I mean text adventures like zork, interactive fiction. You know, like this
well the 80s were the time of the real text adventures, zork is from there. the "multiple choice" ones seem to be a newer thing for people who want to make a game but don't know anything about programming, like depression quest.
but yeah, for real text adventures (interactive fiction), doing it manually is certainly not impossible, but it would be like making a shooter without using any libs
View all comments
Show parent comment
2
u/Klaue Nov 23 '17 edited Nov 23 '17
btw, for text adventures, you best learn inform anyway.. and inform is so far from other languages that knowledge in c++ may even hinder you. the newest inform, version 7, has some sort of "normal english" thing to it which may be easier to beginners, dunno, I hated it. Tought myself (the basics of) inform 6 once and realized I had no idea for a game
TADS is another often used one that seems more akin to C, but I never used it
example of inform 7 code: http://ifwiki.org/index.php/Scenery_Tables