Mercurial > fife-parpg
diff demos/rpg/maps/town.xml @ 512:6ddb1eb9dfa6
Added the Scene which loads the town map. It is no longer a black screen demo.
Changed the keys to be more common. Screenshot is now the print screen key. The console is now the backtick key. Screenshots are now date/time stamped as well.
Removed the scripts/common directory as I have removed the dependency on the EventListenerBase class.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 21 May 2010 17:31:08 +0000 |
parents | 3951042a701e |
children | edf5c0cf52f3 |
line wrap: on
line diff
--- a/demos/rpg/maps/town.xml Fri May 21 13:48:49 2010 +0000 +++ b/demos/rpg/maps/town.xml Fri May 21 17:31:08 2010 +0000 @@ -1,46 +1,154 @@ <?xml version="1.0" encoding="ascii"?> -<map id="testrpg" format="1.0"> - <import file="objects/grass_and_water/object.xml"></import> - <layer y_scale="1.0" y_offset="0.0" pathing="cell_edges_only" grid_type="square" id="sdf" rotation="45.0" x_scale="1.0" x_offset="0.0" transparency="0"> +<map id="maintown" format="1.0"> + <import file="../objects/ground/grass/01/object.xml"></import> + <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"> <instances> - <i o="grass01" ns="http://www.fifengine.de/xml/rpg" x="-2.0" r="0" y="0.0" z="0.0"></i> - <i r="0" x="-2.0" o="grass01" z="0.0" y="1.0"></i> - <i r="0" x="-1.0" o="grass01" z="0.0" y="1.0"></i> - <i r="0" x="-1.0" o="grass01" z="0.0" y="2.0"></i> - <i r="0" x="0.0" o="grass01" z="0.0" y="2.0"></i> - <i r="0" x="0.0" o="grass01" z="0.0" y="1.0"></i> - <i r="0" x="1.0" o="grass01" z="0.0" y="1.0"></i> - <i r="0" x="1.0" o="grass01" z="0.0" y="0.0"></i> - <i r="0" x="-1.0" o="grass01" z="0.0" y="-1.0"></i> - <i r="0" x="-1.0" o="grass01" z="0.0" y="0.0"></i> - <i r="0" x="-2.0" o="grass01" z="0.0" y="2.0"></i> - <i r="0" x="-3.0" o="grass01" z="0.0" y="1.0"></i> - <i r="0" x="-1.0" o="grass01" z="0.0" y="-2.0"></i> - <i r="0" x="-2.0" o="grass01" z="0.0" y="-2.0"></i> - <i r="0" x="-2.0" o="grass01" z="0.0" y="-1.0"></i> - <i r="0" x="0.0" o="grass01" z="0.0" y="0.0"></i> - <i r="0" x="0.0" o="grass01" z="0.0" y="-1.0"></i> - <i r="0" x="-1.0" o="grass01" z="0.0" y="3.0"></i> - <i r="0" x="0.0" o="grass01" z="0.0" y="3.0"></i> - <i r="0" x="1.0" o="grass01" z="0.0" y="2.0"></i> - <i r="0" x="1.0" o="grass01" z="0.0" y="3.0"></i> - <i r="0" x="2.0" o="grass01" z="0.0" y="1.0"></i> - <i r="0" x="1.0" o="grass01" z="0.0" y="-1.0"></i> - <i r="0" x="-2.0" o="grass01" z="0.0" y="3.0"></i> - <i r="0" x="-1.0" o="grass01" z="0.0" y="4.0"></i> - <i r="0" x="0.0" o="grass01" z="0.0" y="4.0"></i> - <i r="0" x="-3.0" o="grass01" z="0.0" y="0.0"></i> - <i r="0" x="-3.0" o="grass01" z="0.0" y="2.0"></i> - <i r="0" x="1.0" o="grass01" z="0.0" y="-2.0"></i> - <i r="0" x="1.0" o="grass01" z="0.0" y="4.0"></i> - <i r="0" x="0.0" o="grass01" z="0.0" y="-2.0"></i> - <i r="0" x="0.0" o="grass01" z="0.0" y="-3.0"></i> - <i r="0" x="-1.0" o="grass01" z="0.0" y="-3.0"></i> - <i r="0" x="-3.0" o="grass01" z="0.0" y="-1.0"></i> - <i r="0" x="-3.0" o="grass01" z="0.0" y="3.0"></i> - <i r="0" x="-2.0" o="grass01" z="0.0" y="4.0"></i> + <i o="grass:01" ns="http://www.fifengine.de/xml/rpg" x="-2.0" r="0" y="0.0" z="0.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="-3.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="-2.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="-1.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="0.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="1.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="2.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="3.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="4.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="7.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="6.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="5.0"></i> + <i r="0" x="-6.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="-7.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="-5.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="-4.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="-3.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="-2.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="-1.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="0.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="1.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="2.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="3.0" o="grass:01" z="0.0" y="8.0"></i> + <i r="0" x="4.0" o="grass:01" z="0.0" y="8.0"></i> </instances> </layer> - <camera ref_cell_height="64" zoom="1.0" rotation="45.0" ref_layer_id="sdf" ref_cell_width="64" id="sdf" tilt="60.0"> + <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"> </camera> </map>