Traveller’s Solas is an interactive narrative demo, presented in the style of a classic text adventure game. It was developed in Twine as a solo project, in order to demonstrate the features of a robust, data-driven framework for creating text adventure games, which is currently in development.
The two core features that I developed were the interaction system, and the game objects. The interaction system provides players with a list of actions in the sidebar, which can be selected by either clicking the word, or typing the corresponding key. This will act on whatever the player is currently looking at, or prompt the player to select an object to act on.
For this system to work, I developed a handful of Twine widgets. For example, the “This” widget is used in object descriptions, to create a clickable link with the name of the object being described, and the “Describe” widget displays the description of a given object, and can be used to append the description of other objects in the world. Other widgets exist for creating textboxes and UI elements as needed.
I also created a custom “Draw” widget, which renders pixel art using colored text. The code for these widgets was generated externally with a C# console program which I developed, to convert each pixel of an image into the appropriate line of HTML.