comparison demos/rpg/maps/town.xml @ 543:cb7ec12214a9

Items can now be serialized/deserialized to/from disk. I haven't finished actors yet. This allows for persistent states when you enter/leave maps.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 02 Jun 2010 21:43:03 +0000
parents 6037f79b0dcf
children
comparison
equal deleted inserted replaced
542:67f6f3538e88 543:cb7ec12214a9
1 <?xml version="1.0" encoding="ascii"?> 1 <?xml version="1.0" encoding="ascii"?>
2 <map id="maintown" format="1.0"> 2 <map id="maintown" format="1.0">
3 <import file="../objects/ground/grass/01/object.xml"></import> 3 <import file="../objects/ground/grass/01/object.xml"></import>
4 <layer y_scale="1.0" y_offset="0.0" pathing="cell_edges_only" grid_type="square" id="ground_layer" rotation="0.0" x_scale="1.0" x_offset="0.0" transparency="0"> 4 <layer y_scale="1.0" y_offset="0.0" pathing="cell_edges_and_diagonals" grid_type="square" id="ground_layer" rotation="0.0" x_scale="1.0" x_offset="0.0" transparency="0">
5 <instances> 5 <instances>
6 <i o="grass:01" ns="http://www.fifengine.de/xml/rpg" x="-2.0" r="0" y="0.0" z="0.0"></i> 6 <i o="grass:01" ns="http://www.fifengine.de/xml/rpg" x="-2.0" r="0" y="0.0" z="0.0"></i>
7 <i r="0" x="-2.0" o="grass:01" z="0.0" y="1.0"></i> 7 <i r="0" x="-2.0" o="grass:01" z="0.0" y="1.0"></i>
8 <i r="0" x="-1.0" o="grass:01" z="0.0" y="1.0"></i> 8 <i r="0" x="-1.0" o="grass:01" z="0.0" y="1.0"></i>
9 <i r="0" x="-1.0" o="grass:01" z="0.0" y="2.0"></i> 9 <i r="0" x="-1.0" o="grass:01" z="0.0" y="2.0"></i>
147 <i r="0" x="2.0" o="grass:01" z="0.0" y="8.0"></i> 147 <i r="0" x="2.0" o="grass:01" z="0.0" y="8.0"></i>
148 <i r="0" x="3.0" o="grass:01" z="0.0" y="8.0"></i> 148 <i r="0" x="3.0" o="grass:01" z="0.0" y="8.0"></i>
149 <i r="0" x="4.0" o="grass:01" z="0.0" y="8.0"></i> 149 <i r="0" x="4.0" o="grass:01" z="0.0" y="8.0"></i>
150 </instances> 150 </instances>
151 </layer> 151 </layer>
152 <layer y_scale="1.0" y_offset="0.0" pathing="cell_edges_only" grid_type="square" id="item_layer" rotation="0.0" x_scale="1.0" x_offset="0.0" transparency="0"> 152 <layer y_scale="1.0" y_offset="0.0" pathing="cell_edges_and_diagonals" grid_type="square" id="item_layer" rotation="0.0" x_scale="1.0" x_offset="0.0" transparency="0">
153 <instances> 153 <instances>
154 </instances> 154 </instances>
155 </layer> 155 </layer>
156 <layer y_scale="1.0" y_offset="0.0" pathing="cell_edges_only" grid_type="square" id="actor_layer" rotation="0.0" x_scale="1.0" x_offset="0.0" transparency="0"> 156 <layer y_scale="1.0" y_offset="0.0" pathing="cell_edges_and_diagonals" grid_type="square" id="actor_layer" rotation="0.0" x_scale="1.0" x_offset="0.0" transparency="0">
157 <instances> 157 <instances>
158 </instances> 158 </instances>
159 </layer> 159 </layer>
160 <camera ref_cell_height="64" zoom="1.0" rotation="45.0" ref_layer_id="ground_layer" ref_cell_width="64" id="camera1" tilt="-60.0"> 160 <camera ref_cell_height="64" zoom="1.0" rotation="45.0" ref_layer_id="ground_layer" ref_cell_width="64" id="camera1" tilt="-60.0">
161 </camera> 161 </camera>