Badguys read hitbox from .sprite file
[supertux.git] / data / images / creatures / yeti / yeti.sprite
index f33b39c..cdaef0a 100644 (file)
@@ -2,8 +2,7 @@
   (action
     (name "run-right")
     (fps 4.0)
-    (x-offset 17)
-    (y-offset 12)
+    (hitbox 17 12 60 90)
     (images 
       "y1.png"
       "y2.png"
     (name "run-left")
     (mirror-action "run-right")
     (fps 4.0)
-    (x-offset 17)
-    (y-offset 12)
+    (hitbox 17 12 60 90)
     )
   (action
     (name "jump-right")
     (images 
       "yeti_jump.png"
       )
-    (x-offset 17)
-    (y-offset 12)
+    (hitbox 17 12 60 90)
     )
   (action
     (name "jump-left")
     (mirror-action "jump-right")
-    (x-offset 17)
-    (y-offset 12)
+    (hitbox 17 12 60 90)
     )
   (action
     (name "stand-right")
     (images 
       "y.png"
       )
-    (x-offset 17)
-    (y-offset 12)
+    (hitbox 17 12 60 90)
     )
   (action
     (name "stand-left")
     (mirror-action "stand-right")
-    (x-offset 17)
-    (y-offset 12)
+    (hitbox 17 12 60 90)
     )
   (action
     (name "stomp-right")
     (images 
       "y-jump.png"
       )
-    (x-offset 17)
-    (y-offset 12)
+    (hitbox 17 12 60 90)
     )
   (action
     (name "stomp-left")
     (mirror-action "stomp-right")
-    (x-offset 17)
-    (y-offset 12)
+    (hitbox 17 12 60 90)
     )
   (action
     (name "dead")
-    (fps 2)
+    (fps 3)
     (images 
       "busted1.png"
-"busted2.png"
-"busted3.png"
+ "busted1.png"
+ "busted2.png"
+ "busted1.png"
+ "busted2.png"
+
       )
-    (x-offset 300)
-    (y-offset 400)
+    (hitbox 300 400 60 90)
     )
   )