home page icon Flash Bestiary / Fun with Text / World's Shortest and Most Boring Adventure Game

World's Shortest and Most Boring Adventure Game

To make this adventure game, I started with my typewriter movie (underwood) and then tore all the guts out. This movie uses a single text field for the room descriptions, and another text field for getting input from the user.

If you can't type, click next to the prompt on the bottom.

This movie illustrates the use of a state machine. The 'room' you are in corresponds to a number, which is your current state. The different commands, such as 'go south', 'go north' and 'pick up object' cause your current state to be changed.


sourcecode iconDownload the flash project
book iconJim's Favorite Actionscript Books
wiki iconAsk Jim about Actionscript
Next: Road Kill

Having trouble opening the project? You may need to Upgrade to Flash MX 2004

Copyright © 2003,2004 by Jim Bumgardner. All Rights Reserved.        Leave Jim some feedback