Experimented with loading hitbox from .sprite file
[supertux.git] / data / images / creatures / zeekling / zeekling.sprite
index dccbcbf..a818c36 100644 (file)
@@ -2,36 +2,30 @@
 (supertux-sprite
  (action
   (name "left")
-  (x-offset 2)
-  (y-offset 4)
+  (hitbox 2 4 0 0)
   (images "left-0.png"
    "left-1.png"
    "left-2.png"
    "left-3.png"))
  (action
   (name "right")
-  (x-offset 2)
-  (y-offset 4)
+  (hitbox 2 4 0 0)
   (mirror-action "left"))
  (action
   (name "squished-left")
-  (x-offset 2)
-  (y-offset -19)
+  (hitbox 2 -19 0 0)
   (images "squished.png"))
  (action
   (name "squished-right")
-  (x-offset 2)
-  (y-offset -19)
+  (hitbox 2 -19 0 0)
   (mirror-action "squished-left"))
  (action
   (name "diving-left")
-  (x-offset 2)
-  (y-offset 4)
+  (hitbox 2 4 0 0)
   (images "diving.png"))
  (action
   (name "diving-right")
-  (x-offset 2)
-  (y-offset 4)
+  (hitbox 2 4 0 0)
   (mirror-action "diving-left")
  )
 )