Content deleted Content added
Fixed formatting |
Adding some content, probably needs further editing. "Interpreter" changed to "virtual machine". |
||
Line 8:
in place of simpler systems like AGT ([[Adventure Game Toolkit]]).
However, [[Graham Nelson]]'s [[
slowly gained popularity and superseded TADS in the last half of the 90s.
Nevertheless, TADS 2 has been maintained and updated at regular intervals by its creator, [[Michael J. Roberts]], even after it became freeware in July 1996.
Line 15:
supports it.
Recently, TADS received a major overhaul with the release of '''TADS 3''', which is a complete rewrite of the TADS engine, only retaining the platform-dependant code to ease [[porting]].
TADS 3 has many new features, such as
==TADS games==
Games written in TADS are compiled to a platform-independent format that can be played on any computer for which a suitable [[
Whereas the TADS 1 and 2
==The Programming Language==
TADS 2 is based on [[C programming language|C]], with bits of [[Pascal programming language|Pascal]].
A [[Hello world program]] isn't that simple to write in TADS 2, because TADS 2 requires a working [[world model]] to compile.
#include <adv.t>
#include <std.t>
replace commonInit: function
{
"Hello World!\n";
quit;
}
startroom: room; // We must define a startroom object.
Of course, the goal of TADS 2 is to make Interactive Fiction (and not Hello World programs) simple to implement, and in pursuing that goal it succeeds.
Nevertheless, TADS 3 dispenses with the requirement of a working world model, and also abandons the Pascal elements of the language.
function main(args)
{
"Hello World!";
}
==Further reading==
* [[Interactive Fiction]] in general.
* [[Inform]] is another interactive fiction design system that is comparable to TADS in terms of power, flexibility, portability, and popularity. Another well-regarded system is [[Hugo programming language|Hugo]], though it is not nearly as widely-used as either TADS or Inform.
==External links==
*
*
* [http://wurb.com/if/platform/2 TADS 2] and [http://wurb.com/if/platform/39 TADS 3] games on Baf's Guide
*
* [http://www.tads.org/t3dl.htm TADS 3 interpreters for DOS, Windows, and source for Unix
* [http://www.hypertads.org/ HyperTADS], a MacOS multimedia interpreter for TADS 2 and 3
* [http://www.firthworks.com/roger/cloak/tads/index.html "Cloak of Darkness" in TADS] (A sample game coded in several languages, to demonstrate the coding of each)
* [http://lists.v-space.org/listinfo/tads3/ The TADS 3 mailing list]
|