ShowMe Code
for
ACTIONS in
3DML
<SPOT>
<HEAD>
<DEBUG />
<TITLE NAME="First Spot" />
<BLOCKSET HREF="http://blocksets.flatland.com/flatsets/basic.bset"/>
<MAP STYLE="single" DIMENSIONS = "(9,9,2)" />
<SKY TEXTURE = "images/clouds.gif" BRIGHTNESS = "90%" />
<GROUND TEXTURE="images/dirt.gif" />
<AMBIENT_LIGHT BRIGHTNESS="100%" />
<AMBIENT_SOUND FILE = "sounds/waves.wav" VOLUME="65%" PLAYBACK="looped"/>
</HEAD>
<BODY>
<CREATE SYMBOL="1" BLOCK="sprite">
<PART NAME="*" TEXTURE="images/animate.gif"/>
<PARAM ANGLE="45" />
</CREATE>
<CREATE SYMBOL="2" BLOCK="spriterevolve">
<PART NAME="*" TEXTURE="images/animate.gif"/>
<PARAM SPEED="1" />
<ACTION TRIGGER="timer" DELAY=".85" >
<REPLACE SOURCE="5" />
</ACTION>
</CREATE>
<CREATE SYMBOL="3" BLOCK="spriteface">
<PART NAME="*" TEXTURE="images/animate.gif"/>
<PARAM ALIGN="top" />
</CREATE>
<CREATE SYMBOL="4" BLOCK="spritefacet">
<PART NAME="*" TEXTURE="images/animate.gif"/>
<PARAM ALIGN="center" />
</CREATE>
<CREATE SYMBOL="5" BLOCK="sprite">
<PART NAME="*" TEXTURE="images/animate.gif"/>
<ACTION TRIGGER="timer" DELAY="2" >
<REPLACE SOURCE="2" />
</ACTION>
</CREATE>
<CREATE SYMBOL="#" BLOCK="full">
<ACTION TRIGGER="click on">
<REPLACE SOURCE="A" />
</ACTION>
</CREATE>
<CREATE SYMBOL="A" BLOCK="full">
<PART NAME="*" TEXTURE="images/pinkmarble.gif"/>
</CREATE>
<CREATE SYMBOL="B" BLOCK="pyramid">
<PART NAME="*" TEXTURE="images/pinkmarble.gif"/>
<ACTION TRIGGER="click on" >
<REPLACE SOURCE="." />
<REPLACE SOURCE="P" TARGET="(1,1,2)"/>
<REPLACE SOURCE="P" TARGET="(1,9,2)"/>
<REPLACE SOURCE="P" TARGET="(9,1,2)"/>
<REPLACE SOURCE="P" TARGET="(9,9,2)"/>
<REPLACE SOURCE="P" TARGET="(3,1,2)"/>
<REPLACE SOURCE="P" TARGET="(7,1,2)"/>
</ACTION>
</CREATE>
<CREATE SYMBOL="P" BLOCK="pyramid">
<PART NAME="*" TEXTURE="images/pinkmarble.gif"/>
</CREATE>
<LEVEL NUMBER="1">
###.@.###
#.......#
#.1.....#
#.....2.#
#...B...#
#.3.....#
#....4..#
#.......#
#########
</LEVEL>
<LEVEL NUMBER="2">
.........
.........
.........
.........
.........
.........
.........
.........
.........
</LEVEL>
<ENTRANCE LOCATION="(5,2,1)"
NAME="second" ANGLE="180.0"/>
<ENTRANCE LOCATION="(5,8,1)"
NAME="default" ANGLE="0.0" />
<EXIT LOCATION="(5,1,1)"
HREF="tallspot.3dml#default" TRIGGER="click on,step on" TEXT="tallspot"/>
</BODY>
</SPOT>