Builders Zone
Build Talk Explore
Flatland home

return to the 3DML tutorial

ShowMe Code for DOUBLE-CHARACTER SYMBOLS in 3DML


<SPOT>
<HEAD>

<DEBUG />

<TITLE NAME="Tall Spot" />
<BLOCKSET HREF="http://blocksets.flatland.com/flatsets/basic.bset"/>
<BLOCKSET HREF="http://blocksets.flatland.com/flatsets/village.bset"/>
<MAP STYLE="double" DIMENSIONS="(9,9,3)" />
<SKY TEXTURE = "images/clouds.gif" BRIGHTNESS = "90%" />
<GROUND TEXTURE="images/dirt.gif" />
<AMBIENT_LIGHT BRIGHTNESS="30%" />
<AMBIENT_SOUND FILE = "sounds/waves.wav" VOLUME="65%" PLAYBACK="looped"/>
<ORB POSITION="(45,45)" BRIGHTNESS="60%" HREF="http://www.flatland.com" TEXT="Check out Flatland Online!"/>
</HEAD>


<BODY>
<CREATE SYMBOL=".v" BLOCK="village:lamp">
</CREATE>


<CREATE SYMBOL=".~" BLOCK="SOUND">
   <SOUND FILE="sounds/giggle.wav" VOLUME="75%" RADIUS="5" FLOOD="yes"PLAYBACK="looped" />
</CREATE>


<CREATE SYMBOL=".c" BLOCK="ceiling">
    <PART NAME="top" TEXTURE="images/smiley.gif" />
    <PART NAME="bottom" TEXTURE="@edgetop.gif" />
    <SOUND FILE="sounds/guffaw.wav" VOLUME="100%" PLAYBACK="random" DELAY="3..6" />
    <POINT_LIGHT STYLE="pulsate" POSITION="(128,0,128)" BRIGHTNESS="20%..90%" RADIUS="1" FLOOD="yes" COLOR="(0,0,255)" SPEED="1" />
</CREATE>


<CREATE SYMBOL=".A" BLOCK="curvein">
    <PARAM ORIENT="east,0"/>
</CREATE>


<CREATE SYMBOL=".B" BLOCK="curvein">
    <PARAM ORIENT="west,0"/>
</CREATE>


<CREATE SYMBOL=".C" BLOCK="curvein">
    <PARAM ORIENT="north,90"/>
</CREATE>


<CREATE SYMBOL=".D" BLOCK="curvein">
    <PARAM ORIENT="270,90"/>
</CREATE>


<CREATE SYMBOL=".#" BLOCK="full">
    <PART NAME="n,s,e,w" TEXTURE="@village:sqcel.gif" />
</CREATE>


<CREATE SYMBOL=".-" BLOCK="ceiling">
    <PART NAME="bottom" TEXTURE="@edgetop.gif" />
</CREATE>


<LEVEL NUMBER="1">
.# .# .# .. .@ .. .# .# .#
.# .A .. .. .. .. .. .B .#
.# .# .. .. .. .. .. .. .#
.# .# .. .. .. .. .. .. .#
.# .K .. .. .. .. .. .. .#
.# .h .. .. .. .. .. .. .#
.# .k .. .. .. .. .@ .. .#
.# .D .. .. .. .. .. .C .#
.# .# .# .# .# .# .# .# .#

</LEVEL>


<LEVEL NUMBER="2">
.# .# .# .- .- .- .# .# .#
.# .c .- .- .- .- .- .c .#
.# .N .- .- .- .- .- .- .#
.# .' .- .- .- .- .- .- .#
.# .- .- .- .- .- .- .- .#
.# .- .- .- .- .- .- .- .#
.# .- .- .- .- .- .- .- .#
.# .c .- .- .- .- .- .c .#
.# .# .# .# .# .# .# .# .#

</LEVEL>


<LEVEL NUMBER="3">
.. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. ..
.. .. .. .. .~ .. .. .. ..
.. .. .. .. .. .. .. .. ..
.. .. .v .. .. .. .@ .. ..
.. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. ..

</LEVEL>


<SPOT_LIGHT STYLE="search" POSITION="(1,1,128)" BRIGHTNESS="100%" RADIUS="7" LOCATION="(4,4,1)" DIRECTION="(17,3)..(132,3)" CONE="30" SPEED=".5" />
<ENTRANCE LOCATION="(5,8,1)" NAME="default" ANGLE="0.0" />
<EXIT LOCATION="(5,1,1)" HREF="firstspot.3dml#second" TRIGGER="click on,step on" TEXT="firstspot" />
<ENTRANCE LOCATION="(7,6,1)" NAME="floor" />
<ENTRANCE LOCATION="(7,6,3)" NAME="roof" />
<EXIT LOCATION="(7,7,1)" HREF="#roof" TRIGGER="click on, step on" TEXT="Up to the Roof"/>
<EXIT LOCATION="(7,7,3)" HREF="#floor" TRIGGER="click on, step on" TEXT="Down to the Floor" />


<POPUP LOCATION="(3,3,3)" RADIUS="2" TEXT="What's so funny?" COLOR="(0,255,0)" SIZE="(100,60)" TEXTCOLOR="(255,0,0)" PLACEMENT="top" />
<POPUP LOCATION="(3,7,3)" RADIUS="2" TEXT="Beats me man!" COLOR="(0,0,255)" SIZE="(100,60)" TEXTCOLOR="(255,0,0)" PLACEMENT="bottom" />


</BODY>
</SPOT>

return to the 3DML tutorial

texture styles orientation guide tips,tricks more blocks actions sprites popups lighting sound linking orientation textures navigation mulitilevels body tag head tag starting welcome