diff demos/shooter/maps/shooter_map1.xml @ 448:5e2ec84902a7

Did a little re-factoring. Introduced the scene graph for collision detection. Changed the time scale to be accurate.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 01 Apr 2010 17:03:34 +0000
parents 64676ea55472
children 302a69c5141d
line wrap: on
line diff
--- a/demos/shooter/maps/shooter_map1.xml	Wed Mar 31 21:13:07 2010 +0000
+++ b/demos/shooter/maps/shooter_map1.xml	Thu Apr 01 17:03:34 2010 +0000
@@ -438,12 +438,12 @@
 	<layer y_scale="0.25" y_offset="0.0" pathing="cell_edges_and_diagonals" grid_type="square" id="objects" rotation="0.0" x_scale="0.25" x_offset="0.0" transparency="0">
 		<instances>
 			<i o="ship1" z="0.0" x="7.0" r="0" y="0.0" id="player"></i>
-			<i r="0" x="20.0" o="saucer1" z="0.0" y="-2.0"></i>
-			<i r="0" x="20.0" o="saucer1" z="0.0" y="1.0"></i>
-			<i r="0" x="20.0" o="saucer1" z="0.0" y="4.0"></i>
-			<i r="0" x="20.0" o="saucer1" z="0.0" y="-5.0"></i>
-			<i r="0" x="26.0" o="saucer2" z="0.0" y="-3.0"></i>
-			<i r="0" x="26.0" o="saucer2" z="0.0" y="2.0"></i>
+			<i r="0" id="enemy" x="20.0" o="saucer1" z="0.0" y="-2.0"></i>
+			<i r="0" id="enemy" x="20.0" o="saucer1" z="0.0" y="1.0"></i>
+			<i r="0" id="enemy" x="20.0" o="saucer1" z="0.0" y="4.0"></i>
+			<i r="0" id="enemy" x="20.0" o="saucer1" z="0.0" y="-5.0"></i>
+			<i r="0" id="enemy" x="26.0" o="saucer2" z="0.0" y="-3.0"></i>
+			<i r="0" id="enemy" x="26.0" o="saucer2" z="0.0" y="2.0"></i>
 		</instances>
 	</layer>
 	<camera ref_cell_height="256" zoom="1" rotation="0.0" ref_layer_id="background" ref_cell_width="256" id="main" tilt="0.0">