Experimented with loading hitbox from .sprite file
[supertux.git] / data / images / worldmap / common / tux.sprite
index a8baa12..4ac6a31 100644 (file)
@@ -1,14 +1,12 @@
 (supertux-sprite
  (action
   (name "small-stop")
-  (x-offset 5)
-  (y-offset 20)
+  (hitbox 5 20 0 0)
   (images "smalltux.png")
  )
  (action
   (name "small-walking")
-  (x-offset 5)
-  (y-offset 20)
+  (hitbox 5 20 0 0)
   (images "smalltux.png"
 "smalltux1.png"
 "smalltux2.png"
  )
  (action
   (name "large-walking")
-  (y-offset 10)
+  (hitbox 0 10 0 0)
   (images "tux.png")
  )
  (action
   (name "large-stop")
-  (y-offset 10)
+  (hitbox 0 10 0 0)
   (images "tux.png")
  )
  (action
   (name "fire-walking")
-  (y-offset 10)
+  (hitbox 0 10 0 0)
   (images "firetux.png")
  )
  (action
   (name "fire-stop")
-  (y-offset 10)
+  (hitbox 0 10 0 0)
   (images "firetux.png")
  )
 )