Ignore:
Timestamp:
05/11/09 07:54:38 (11 years ago)
Author:
maximinus_parpg
Message:

Objects now loaded from seperate XML file.
Cleaned up some small areas in various .py files
Added crate details.
Added some simple documentation in world.py
Removed some remaining RIO code that was not needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/maps/map_objects.xml

    r54 r55  
    11<?xml version="1.0" encoding="ascii"?> 
     2<!-- PC, NPC and objects initial data for PARPG maps --> 
     3<!-- All data that is subject to change by the engine during game time 
     4     should be stored in this file --> 
    25<objects format="1.0"> 
    36    <!-- There must be one and one only PC character --> 
    47    <PC xpos="0.0" ypos="0.0"></PC> 
    5     <!-- There can be any numbers of NPC characters --> 
     8    <!-- There can be any number of NPC characters --> 
    69    <NPC gfx="npc=woman" xpos="3.0" ypos="3.0"></NPC> 
    710    <!-- There can be any number of objects --> 
    8     <object gfx="crate" xpos="3.0" ypos="4.0"></object> 
    9     <object gfx="crate" xpos="3.0" ypos="5.0"></object> 
     11    <!-- Object blocking is set in the objects own xml file --> 
     12    <object gfx="crate" xpos="-3.0" ypos="-4.0"></object> 
     13    <object gfx="crate" xpos="-4.0" ypos="-6.0"></object> 
    1014</objects> 
    1115 
Note: See TracChangeset for help on using the changeset viewer.