Alan Interactive Fiction
Alan Interactive Fiction Language
Adventure Writing for Everyone
  • Home
  • About
    • News
    • Blog
    • Screenshots
    • Games
    • Links
    • Join!
  • Documentation
    • Getting Setup
      • The Manual (HTML)
      • The Manual (PDF)
      • All published documents
      • Repository on GitHub
    • Samples
    • The Library
      • The Cookbook
      • Beginner's Guide HTML
      • Beginner's Guide - original HTML (historic)
      • AlanIDE intro
      • AlanIDE Guide (pdf)
  • Status
    • Development Status
    • Changes
  • Download
    • Latest Releases
    • Development Kits
    • Interpreters
    • Documentation
    • Library
    • AlanIDE
    • Extensions
    • Utilities
    • Development Snapshots
    • All Downloads
    • Source code
  1. You are here:  
  2. Home
  3. About
  4. Blog

Designing Your Own Standard Library

We usually think of programming languages and their standard libraries as forming one coherent whole, and for general-purpose languages this might as well be the case. But in text adventure authoring systems the two are more divorced. Often, the language proper has few or no features specific to interactive fiction, and it's the library that makes it into an authoring system, properly speaking. Such is the case with TADS 3, which has recently acquired a new standard library called adv3lite and Inform 6, which has several alternatives, none especially popular.

Details
Written by: Felix Pleşoianu
Category: Programming
Created: 21 January 2014
Last Updated: 22 January 2014

Read more: Designing Your Own Standard Library

Using the standard library

This is a short introduction to the standard library for Alan v3. After reading this brief introduction you will probably want to have a look at the Alan Library Cookbook.

There are four files in the standard library. You should have them in the same folder as your source code file. Then, you can include the library by using the 'import' statement in your source code.

Details
Written by: Anssi Räisänen
Category: Programming
Created: 06 April 2011
Last Updated: 22 December 2014

Read more: Using the standard library

Game review: A Very Hairy Fish-Mess by Byron Alexander Campbell

WARNING: CONTAINS SLIGHT SPOILERS

“Have you ever wondered what Christmas would be like if it were run by your horrible cat, who also happened to be a timeless Lovecraftian horror? Find out in this bloody festive holiday treat!”

This is the blurb for Byron Alexander Campbell’s ALAN3 game which was published in 2009.  The tone of the game is light-hearted, especially compared to the author’s other game released at about the same time, “Room 206”. This time around, the task is to catch a fish for your pet cat which turns out to be the great Cthulhu itself (!). Despite the Lovecraftian connection, the game is humorous throughout, even if macabre elements abound.

Details
Written by: Anssi Räisänen
Category: Games
Created: 23 February 2011
Last Updated: 28 December 2011

Read more: Game review: A Very Hairy Fish-Mess by Byron Alexander Campbell

Game review: Room 206 by Byron Alexander Campbell

Byron Alexander Campbell's "Room 206" was released a while ago in ALAN3, and according to a current thread on rec.games.int-fiction he is working on an Inform7 implementation of the game. This review is based on the ALAN3 version and has mainly only mild spoilers. More straightforward spoilers will be marked below.

As to its length, the game is rather extensive - easily longer than the average IF Comp game and maybe the longest ALAN3 game produced. In the beginning of the game we find the hero in a chapel right after a wedding. Curiously, he can't seem to find his newly-wed wife anywhere; she has gone outside the chapel a bit before him to say goodbye to the guests. Outside, however, there is just an empty limousine waiting, as well as the empty chapel grounds with no people around. Initially, you only seem able to wander around the few locations in and around the chapel. Soon, however, it becomes evident that there is more to this story than meets the eye. You begin to get hints of everything not being quite right when you find a ladies' shoe - instead of, say, a bottle of champagne -  in an ice bucket in the limousine, and other similar things. From there on it's an unpredictable ride with lots of twists and turns. The game turns out to have a rather sinister and disturbing plot and could be classified as a horror story.

Details
Written by: Anssi Räisänen
Category: Games
Created: 29 November 2010
Last Updated: 30 November 2010

Read more: Game review: Room 206 by Byron Alexander Campbell

A code sample

Here's a small code snippet, mostly to test automatic Alan source code formatting on the Alan Home site.

The code traverses a set of components of a structure, say a table, and makes each component list its content. 

-- Loop over all components in an instance or class
For Each c In components Of This Do
    "The table has" Say An c. "." List c.
End For.

 

Details
Written by: Administrator
Category: Programming
Created: 25 November 2010
Last Updated: 22 January 2014

Subcategories

Programming

Games

Download!

Latest Release 3.0beta8!

Donate!

Help paying for website, certificates and modern development tools!

What they say

"Another thing I'm sure of, the game will again be in Alan."

Eric Mayer

"All those weirdly arranged parentheses, and semi-colons and strange curlicues hanging out in the middle of blank lines. Impossible. But when I looked at Alan I saw the light or, at least, English."

Eric Mayer

"I gotta say, I love it!"

Robert DeFord

"I think its most attractive quality is simplicity, a quality that no other adventure creation language possesses."

Walt Sandsquish

"Well, it was very easy to learn and it's easy to do stuff in it."

Mikko Vuorinen

"If I was to write a new text adventure I wouldn't bother with any other authoring system. Alan is just that much easier."

Felix Pleșoianu

         

Looking for v2?

Alan V2 is very obsolete. Use Alan v3 instead. But you can still visit the obsolete v2 information and downloads here.