Main      Site Guide    
Smash Tutorial

Sample Adventure: The Trainer

The "start.sma" File


This file is required for every Smash game. At minimum, it must contain a g command to set the starting location of the player. Frequently it's also nice to have a p command that displays some initial text. That's precisely what we have here. Other things you might have a need for in the start file is to set the value of global variables or timers. All variables and timers start out with a value of zero, but if you need any to start out with some other value, here is a good place to do it.

g tree p This is a small, relatively easy adventure game designed to familiarize you with the way the games at <em>Adventure Games Live</em> work. It also serves to demonstrate the type of adventures and puzzles you will encounter. Enjoy!