Experimented with loading hitbox from .sprite file
[supertux.git] / data / images / creatures / mr_bomb / mr_bomb.sprite
index 9d2251a..a590af2 100644 (file)
@@ -2,8 +2,7 @@
  (action
   (name "left")
   (fps 10.0)
-  (x-offset 3)
-  (y-offset 12)
+  (hitbox 3 12 0 0)
   (images "left-0.png"
           "left-1.png"
           "left-2.png"
  (action
   (name "right")
   (fps 10.0)
-  (x-offset 7)
-  (y-offset 12)
+  (hitbox 7 12 0 0)
   (mirror-action "left"))
  
  (action
   (name "iced-left")
-  (x-offset 3)
-  (y-offset 12)
+  (hitbox 3 12 0 0)
   (images "iced-left.png"))
  
  (action
   (name "iced-right")
-  (x-offset 7)
-  (y-offset 12)
+  (hitbox 7 12 0 0)
   (mirror-action "iced-left"))
 )