Changeset 86

Show
Ignore:
Timestamp:
12/04/07 18:13:52 (1 year ago)
Author:
clayasaurus
Message:

sound file changed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/game/levels/level.xml

    r34 r86  
    1 <?xml version="1.0" encoding="UTF-8" ?> 
    21<level> 
    32    <info> 
    4         <title>First Level</title
    5         <description>You must kill the main boss</description
    6         <objective>killall</objective>  <!-- trigger that ends the map (kill something, kill amount, timed, get to area, etc) --
    7         <tile>grass</tile>          <!-- default tile --
    8         <height>12</height>         <!-- assuming our tiles are all the same size, we can just say how many there will be --
    9         <width>10</width
     3        <title value="Mission Impossible" /
     4        <description value="Impossible mission to complete" /
     5        <objective value="Kill every game object that exists, including rocks" /
     6        <tile value="images\tiles\tile1.png" /
     7        <height value="16" /
     8        <width value="16" /
    109    </info> 
    11     <tiles> 
    12     <!-- I don't if we are going to do transitions between different tiles or not, but I am assuming that we can either have the 
    13     level loader put in the transitions, or we can just define the transitions our selves also in here.  I just didn't feel 
    14     like doing it right this moment.  We could even make the tiles have built in transitions where they can either be placed next 
    15     to any ground type. --> 
    16         <tile col="0" rox="0" image="rocky.png" /> 
    17         <tile col="8" rox="8" image="mud.png" /> 
    18         <tile col="12" rox="7" image="snow.png" />   <!-- although if we are using an editor to make levels, we  
    19         might not want to use col/row span for simplicity --> 
    20     </tiles> 
    21     <player x="0" y="0"/> 
    22     <enemies>   <!-- global modifiers that apply to all enemies? --> 
    23         <enemy type="robo-boss" x="10" y="10"/> 
    24         <enemy type="troop" x="4" y="4" /> 
    25         <enemy type="dog" x="5" y="4" /> 
    26         <enemy type="rifleman" x="6" y="4" /> 
    27         <enemy type="rocket" x="7" y="4" /> 
    28         <vehicle type="helicopter-green" x="6" y="6" /> 
    29         <vehicle type="tank-grey" x="3" y="8" /> 
    30         <vehicle type="jeep-black" x="3" y="9" /> 
     10    <tiles /> 
     11    <enemies> 
     12        <enemy x="-228" y="0" type="Tank" /> 
     13        <enemy x="229" y="61" type="Tank" /> 
     14        <enemy x="88" y="61" type="Helicopter-flight" /> 
     15        <enemy x="-77" y="58" type="Helicopter-flight" /> 
    3116    </enemies> 
    32     <!-- optionals if we have time 
    33         <triggers> 
    34             <spawn type="obstacle: rock;" x="7" x="10" /> 
    35             or spawn units or vehicles, whatever we want 
    36         </triggers> 
    37     --> 
     17    <player x="-11" y="-101" /> 
    3818</level>