pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/doc worldmap.xml,NONE,1.1


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/doc worldmap.xml,NONE,1.1
Date: 8 Sep 2002 01:23:09 -0000

Update of /usr/local/cvsroot/Games/Pingus/doc
In directory dark:/tmp/cvs-serv10677

Added Files:
        worldmap.xml 
Log Message:
- added example file for the new worldmap file format

--- NEW FILE: worldmap.xml ---
<pingus-worldmap>
  <!-- The graph specifies the path on which the pingu can walk -->
  <graph>
    <nodes>
      <node id="node_1">
        <position>...</position>
        <data>
          <tube>...</tube>
        </data>
      </node>
      
      <node id="node_2">
        <position>...</position>
        <data>
          <level>...</level>
        </data>
      </node>
      ...
    </nodes>
    
    <edges>
      <edge id="egde_1" source="1" destination="2"> 
        <!-- The path which connect two nodes -->
        <data>
          <position>...</position>
          <position>...</position>
        </data>
      </edge>
    </edges>
  </graph>
  
  <!-- Objects are other things on the worldmap, most likly background
  surfaces or other animated stuff -->
  <objects>
    <sprite>
      <resource-desc>...</resource-desc>
      <position>
        ...
      </position>
    </sprite>

    <birds>
      <position>
        ...
      </position>
    </sprite>
      ...
  </objects>
  
</pingus-worldmap>

<!-- EOF -->     





reply via email to

[Prev in Thread] Current Thread [Next in Thread]