Experimented with loading hitbox from .sprite file
[supertux.git] / data / images / worldmap / common / torch.sprite
index c6c2838..e23492e 100644 (file)
@@ -1,8 +1,7 @@
 (supertux-sprite
   (action
     (name "default")
-    (x-offset 16)
-    (y-offset 16)
+    (hitbox 16 16 0 0)
 (fps 6)
     (images "torch.png"
 
@@ -16,8 +15,7 @@
   )
   (action
     (name "solved")
-    (x-offset 16)
-    (y-offset 16)
+    (hitbox 16 16 0 0)
 (fps 1)
     (images "smoke1.png"
 "smoke2.png"