Experimented with loading hitbox from .sprite file
[supertux.git] / data / images / worldmap / common / leveldot.sprite
index 03a4ae6..afa203b 100644 (file)
@@ -1,14 +1,12 @@
 (supertux-sprite
   (action
     (name "default")
-    (x-offset 16)
-    (y-offset 16)
+    (hitbox 16 16 0 0)
     (images "leveldot_red.png")
   )
   (action
     (name "solved")
-    (x-offset 16)
-    (y-offset 16)
+    (hitbox 16 16 0 0)
     (images "leveldot_green.png")
   )
 )