comparison 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
comparison
equal deleted inserted replaced
511:773dc1dbe69d 512:6ddb1eb9dfa6
1 <?xml version="1.0" encoding="ascii"?> 1 <?xml version="1.0" encoding="ascii"?>
2 <map id="testrpg" format="1.0"> 2 <map id="maintown" format="1.0">
3 <import file="objects/grass_and_water/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="sdf" rotation="45.0" x_scale="1.0" x_offset="0.0" transparency="0"> 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">
5 <instances> 5 <instances>
6 <i o="grass01" 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="grass01" 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="grass01" 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="grass01" z="0.0" y="2.0"></i> 9 <i r="0" x="-1.0" o="grass:01" z="0.0" y="2.0"></i>
10 <i r="0" x="0.0" o="grass01" z="0.0" y="2.0"></i> 10 <i r="0" x="0.0" o="grass:01" z="0.0" y="2.0"></i>
11 <i r="0" x="0.0" o="grass01" z="0.0" y="1.0"></i> 11 <i r="0" x="0.0" o="grass:01" z="0.0" y="1.0"></i>
12 <i r="0" x="1.0" o="grass01" z="0.0" y="1.0"></i> 12 <i r="0" x="1.0" o="grass:01" z="0.0" y="1.0"></i>
13 <i r="0" x="1.0" o="grass01" z="0.0" y="0.0"></i> 13 <i r="0" x="1.0" o="grass:01" z="0.0" y="0.0"></i>
14 <i r="0" x="-1.0" o="grass01" z="0.0" y="-1.0"></i> 14 <i r="0" x="-1.0" o="grass:01" z="0.0" y="-1.0"></i>
15 <i r="0" x="-1.0" o="grass01" z="0.0" y="0.0"></i> 15 <i r="0" x="-1.0" o="grass:01" z="0.0" y="0.0"></i>
16 <i r="0" x="-2.0" o="grass01" z="0.0" y="2.0"></i> 16 <i r="0" x="-2.0" o="grass:01" z="0.0" y="2.0"></i>
17 <i r="0" x="-3.0" o="grass01" z="0.0" y="1.0"></i> 17 <i r="0" x="-3.0" o="grass:01" z="0.0" y="1.0"></i>
18 <i r="0" x="-1.0" o="grass01" z="0.0" y="-2.0"></i> 18 <i r="0" x="-1.0" o="grass:01" z="0.0" y="-2.0"></i>
19 <i r="0" x="-2.0" o="grass01" z="0.0" y="-2.0"></i> 19 <i r="0" x="-2.0" o="grass:01" z="0.0" y="-2.0"></i>
20 <i r="0" x="-2.0" o="grass01" z="0.0" y="-1.0"></i> 20 <i r="0" x="-2.0" o="grass:01" z="0.0" y="-1.0"></i>
21 <i r="0" x="0.0" o="grass01" z="0.0" y="0.0"></i> 21 <i r="0" x="0.0" o="grass:01" z="0.0" y="0.0"></i>
22 <i r="0" x="0.0" o="grass01" z="0.0" y="-1.0"></i> 22 <i r="0" x="0.0" o="grass:01" z="0.0" y="-1.0"></i>
23 <i r="0" x="-1.0" o="grass01" z="0.0" y="3.0"></i> 23 <i r="0" x="-1.0" o="grass:01" z="0.0" y="3.0"></i>
24 <i r="0" x="0.0" o="grass01" z="0.0" y="3.0"></i> 24 <i r="0" x="0.0" o="grass:01" z="0.0" y="3.0"></i>
25 <i r="0" x="1.0" o="grass01" z="0.0" y="2.0"></i> 25 <i r="0" x="1.0" o="grass:01" z="0.0" y="2.0"></i>
26 <i r="0" x="1.0" o="grass01" z="0.0" y="3.0"></i> 26 <i r="0" x="1.0" o="grass:01" z="0.0" y="3.0"></i>
27 <i r="0" x="2.0" o="grass01" z="0.0" y="1.0"></i> 27 <i r="0" x="2.0" o="grass:01" z="0.0" y="1.0"></i>
28 <i r="0" x="1.0" o="grass01" z="0.0" y="-1.0"></i> 28 <i r="0" x="1.0" o="grass:01" z="0.0" y="-1.0"></i>
29 <i r="0" x="-2.0" o="grass01" z="0.0" y="3.0"></i> 29 <i r="0" x="-2.0" o="grass:01" z="0.0" y="3.0"></i>
30 <i r="0" x="-1.0" o="grass01" z="0.0" y="4.0"></i> 30 <i r="0" x="-1.0" o="grass:01" z="0.0" y="4.0"></i>
31 <i r="0" x="0.0" o="grass01" z="0.0" y="4.0"></i> 31 <i r="0" x="0.0" o="grass:01" z="0.0" y="4.0"></i>
32 <i r="0" x="-3.0" o="grass01" z="0.0" y="0.0"></i> 32 <i r="0" x="-3.0" o="grass:01" z="0.0" y="0.0"></i>
33 <i r="0" x="-3.0" o="grass01" z="0.0" y="2.0"></i> 33 <i r="0" x="-3.0" o="grass:01" z="0.0" y="2.0"></i>
34 <i r="0" x="1.0" o="grass01" z="0.0" y="-2.0"></i> 34 <i r="0" x="1.0" o="grass:01" z="0.0" y="-2.0"></i>
35 <i r="0" x="1.0" o="grass01" z="0.0" y="4.0"></i> 35 <i r="0" x="1.0" o="grass:01" z="0.0" y="4.0"></i>
36 <i r="0" x="0.0" o="grass01" z="0.0" y="-2.0"></i> 36 <i r="0" x="0.0" o="grass:01" z="0.0" y="-2.0"></i>
37 <i r="0" x="0.0" o="grass01" z="0.0" y="-3.0"></i> 37 <i r="0" x="0.0" o="grass:01" z="0.0" y="-3.0"></i>
38 <i r="0" x="-1.0" o="grass01" z="0.0" y="-3.0"></i> 38 <i r="0" x="-1.0" o="grass:01" z="0.0" y="-3.0"></i>
39 <i r="0" x="-3.0" o="grass01" z="0.0" y="-1.0"></i> 39 <i r="0" x="-3.0" o="grass:01" z="0.0" y="-1.0"></i>
40 <i r="0" x="-3.0" o="grass01" z="0.0" y="3.0"></i> 40 <i r="0" x="-3.0" o="grass:01" z="0.0" y="3.0"></i>
41 <i r="0" x="-2.0" o="grass01" z="0.0" y="4.0"></i> 41 <i r="0" x="-2.0" o="grass:01" z="0.0" y="4.0"></i>
42 <i r="0" x="-2.0" o="grass:01" z="0.0" y="-3.0"></i>
43 <i r="0" x="-3.0" o="grass:01" z="0.0" y="-3.0"></i>
44 <i r="0" x="-3.0" o="grass:01" z="0.0" y="-2.0"></i>
45 <i r="0" x="-4.0" o="grass:01" z="0.0" y="-2.0"></i>
46 <i r="0" x="-4.0" o="grass:01" z="0.0" y="-3.0"></i>
47 <i r="0" x="-4.0" o="grass:01" z="0.0" y="-1.0"></i>
48 <i r="0" x="-4.0" o="grass:01" z="0.0" y="0.0"></i>
49 <i r="0" x="-4.0" o="grass:01" z="0.0" y="1.0"></i>
50 <i r="0" x="-4.0" o="grass:01" z="0.0" y="2.0"></i>
51 <i r="0" x="-4.0" o="grass:01" z="0.0" y="3.0"></i>
52 <i r="0" x="-4.0" o="grass:01" z="0.0" y="4.0"></i>
53 <i r="0" x="-3.0" o="grass:01" z="0.0" y="4.0"></i>
54 <i r="0" x="-3.0" o="grass:01" z="0.0" y="5.0"></i>
55 <i r="0" x="-4.0" o="grass:01" z="0.0" y="5.0"></i>
56 <i r="0" x="-5.0" o="grass:01" z="0.0" y="5.0"></i>
57 <i r="0" x="-5.0" o="grass:01" z="0.0" y="4.0"></i>
58 <i r="0" x="-5.0" o="grass:01" z="0.0" y="3.0"></i>
59 <i r="0" x="-5.0" o="grass:01" z="0.0" y="2.0"></i>
60 <i r="0" x="-5.0" o="grass:01" z="0.0" y="1.0"></i>
61 <i r="0" x="-5.0" o="grass:01" z="0.0" y="0.0"></i>
62 <i r="0" x="-6.0" o="grass:01" z="0.0" y="0.0"></i>
63 <i r="0" x="-6.0" o="grass:01" z="0.0" y="-1.0"></i>
64 <i r="0" x="-6.0" o="grass:01" z="0.0" y="-2.0"></i>
65 <i r="0" x="-6.0" o="grass:01" z="0.0" y="-3.0"></i>
66 <i r="0" x="-5.0" o="grass:01" z="0.0" y="-3.0"></i>
67 <i r="0" x="-5.0" o="grass:01" z="0.0" y="-2.0"></i>
68 <i r="0" x="-5.0" o="grass:01" z="0.0" y="-1.0"></i>
69 <i r="0" x="-6.0" o="grass:01" z="0.0" y="1.0"></i>
70 <i r="0" x="-6.0" o="grass:01" z="0.0" y="2.0"></i>
71 <i r="0" x="-6.0" o="grass:01" z="0.0" y="3.0"></i>
72 <i r="0" x="-6.0" o="grass:01" z="0.0" y="4.0"></i>
73 <i r="0" x="-6.0" o="grass:01" z="0.0" y="5.0"></i>
74 <i r="0" x="-6.0" o="grass:01" z="0.0" y="6.0"></i>
75 <i r="0" x="-5.0" o="grass:01" z="0.0" y="6.0"></i>
76 <i r="0" x="-4.0" o="grass:01" z="0.0" y="6.0"></i>
77 <i r="0" x="-3.0" o="grass:01" z="0.0" y="6.0"></i>
78 <i r="0" x="-2.0" o="grass:01" z="0.0" y="6.0"></i>
79 <i r="0" x="-2.0" o="grass:01" z="0.0" y="5.0"></i>
80 <i r="0" x="-1.0" o="grass:01" z="0.0" y="5.0"></i>
81 <i r="0" x="-1.0" o="grass:01" z="0.0" y="6.0"></i>
82 <i r="0" x="0.0" o="grass:01" z="0.0" y="6.0"></i>
83 <i r="0" x="0.0" o="grass:01" z="0.0" y="5.0"></i>
84 <i r="0" x="1.0" o="grass:01" z="0.0" y="5.0"></i>
85 <i r="0" x="1.0" o="grass:01" z="0.0" y="6.0"></i>
86 <i r="0" x="2.0" o="grass:01" z="0.0" y="6.0"></i>
87 <i r="0" x="2.0" o="grass:01" z="0.0" y="5.0"></i>
88 <i r="0" x="2.0" o="grass:01" z="0.0" y="4.0"></i>
89 <i r="0" x="2.0" o="grass:01" z="0.0" y="3.0"></i>
90 <i r="0" x="2.0" o="grass:01" z="0.0" y="2.0"></i>
91 <i r="0" x="2.0" o="grass:01" z="0.0" y="0.0"></i>
92 <i r="0" x="3.0" o="grass:01" z="0.0" y="-1.0"></i>
93 <i r="0" x="2.0" o="grass:01" z="0.0" y="-1.0"></i>
94 <i r="0" x="2.0" o="grass:01" z="0.0" y="-2.0"></i>
95 <i r="0" x="2.0" o="grass:01" z="0.0" y="-3.0"></i>
96 <i r="0" x="1.0" o="grass:01" z="0.0" y="-3.0"></i>
97 <i r="0" x="3.0" o="grass:01" z="0.0" y="-3.0"></i>
98 <i r="0" x="3.0" o="grass:01" z="0.0" y="-2.0"></i>
99 <i r="0" x="3.0" o="grass:01" z="0.0" y="0.0"></i>
100 <i r="0" x="3.0" o="grass:01" z="0.0" y="1.0"></i>
101 <i r="0" x="3.0" o="grass:01" z="0.0" y="2.0"></i>
102 <i r="0" x="4.0" o="grass:01" z="0.0" y="3.0"></i>
103 <i r="0" x="4.0" o="grass:01" z="0.0" y="4.0"></i>
104 <i r="0" x="3.0" o="grass:01" z="0.0" y="4.0"></i>
105 <i r="0" x="3.0" o="grass:01" z="0.0" y="5.0"></i>
106 <i r="0" x="3.0" o="grass:01" z="0.0" y="3.0"></i>
107 <i r="0" x="3.0" o="grass:01" z="0.0" y="6.0"></i>
108 <i r="0" x="3.0" o="grass:01" z="0.0" y="7.0"></i>
109 <i r="0" x="2.0" o="grass:01" z="0.0" y="7.0"></i>
110 <i r="0" x="1.0" o="grass:01" z="0.0" y="7.0"></i>
111 <i r="0" x="0.0" o="grass:01" z="0.0" y="7.0"></i>
112 <i r="0" x="-1.0" o="grass:01" z="0.0" y="7.0"></i>
113 <i r="0" x="-2.0" o="grass:01" z="0.0" y="7.0"></i>
114 <i r="0" x="-3.0" o="grass:01" z="0.0" y="7.0"></i>
115 <i r="0" x="-4.0" o="grass:01" z="0.0" y="7.0"></i>
116 <i r="0" x="-5.0" o="grass:01" z="0.0" y="7.0"></i>
117 <i r="0" x="-6.0" o="grass:01" z="0.0" y="7.0"></i>
118 <i r="0" x="4.0" o="grass:01" z="0.0" y="7.0"></i>
119 <i r="0" x="4.0" o="grass:01" z="0.0" y="6.0"></i>
120 <i r="0" x="4.0" o="grass:01" z="0.0" y="5.0"></i>
121 <i r="0" x="4.0" o="grass:01" z="0.0" y="2.0"></i>
122 <i r="0" x="4.0" o="grass:01" z="0.0" y="1.0"></i>
123 <i r="0" x="4.0" o="grass:01" z="0.0" y="0.0"></i>
124 <i r="0" x="4.0" o="grass:01" z="0.0" y="-1.0"></i>
125 <i r="0" x="4.0" o="grass:01" z="0.0" y="-2.0"></i>
126 <i r="0" x="4.0" o="grass:01" z="0.0" y="-3.0"></i>
127 <i r="0" x="-7.0" o="grass:01" z="0.0" y="-3.0"></i>
128 <i r="0" x="-7.0" o="grass:01" z="0.0" y="-2.0"></i>
129 <i r="0" x="-7.0" o="grass:01" z="0.0" y="-1.0"></i>
130 <i r="0" x="-7.0" o="grass:01" z="0.0" y="0.0"></i>
131 <i r="0" x="-7.0" o="grass:01" z="0.0" y="1.0"></i>
132 <i r="0" x="-7.0" o="grass:01" z="0.0" y="2.0"></i>
133 <i r="0" x="-7.0" o="grass:01" z="0.0" y="3.0"></i>
134 <i r="0" x="-7.0" o="grass:01" z="0.0" y="4.0"></i>
135 <i r="0" x="-7.0" o="grass:01" z="0.0" y="7.0"></i>
136 <i r="0" x="-7.0" o="grass:01" z="0.0" y="6.0"></i>
137 <i r="0" x="-7.0" o="grass:01" z="0.0" y="5.0"></i>
138 <i r="0" x="-6.0" o="grass:01" z="0.0" y="8.0"></i>
139 <i r="0" x="-7.0" o="grass:01" z="0.0" y="8.0"></i>
140 <i r="0" x="-5.0" o="grass:01" z="0.0" y="8.0"></i>
141 <i r="0" x="-4.0" o="grass:01" z="0.0" y="8.0"></i>
142 <i r="0" x="-3.0" o="grass:01" z="0.0" y="8.0"></i>
143 <i r="0" x="-2.0" o="grass:01" z="0.0" y="8.0"></i>
144 <i r="0" x="-1.0" o="grass:01" z="0.0" y="8.0"></i>
145 <i r="0" x="0.0" o="grass:01" z="0.0" y="8.0"></i>
146 <i r="0" x="1.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>
149 <i r="0" x="4.0" o="grass:01" z="0.0" y="8.0"></i>
42 </instances> 150 </instances>
43 </layer> 151 </layer>
44 <camera ref_cell_height="64" zoom="1.0" rotation="45.0" ref_layer_id="sdf" ref_cell_width="64" id="sdf" tilt="60.0"> 152 <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">
45 </camera> 153 </camera>
46 </map> 154 </map>