Moved Tux' and Badguys' sprites from sprites.strf to individual .sprite files
authorChristoph Sommer <mail@christoph-sommer.de>
Wed, 8 Mar 2006 09:34:12 +0000 (09:34 +0000)
committerChristoph Sommer <mail@christoph-sommer.de>
Wed, 8 Mar 2006 09:34:12 +0000 (09:34 +0000)
SVN-Revision: 3075

28 files changed:
data/images/creatures/angrystone/angrystone.sprite [new file with mode: 0644]
data/images/creatures/mr_iceblock/mr_iceblock.sprite [new file with mode: 0644]
data/images/creatures/skullyhop/skullyhop.sprite [new file with mode: 0644]
data/images/creatures/snowsnail/snowsnail.sprite [new file with mode: 0644]
data/images/creatures/spidermite/spidermite.sprite [new file with mode: 0644]
data/images/creatures/stalactite/stalactite.sprite [new file with mode: 0644]
data/images/creatures/tux_big/big-fire-tux-head.sprite [new file with mode: 0644]
data/images/creatures/tux_big/big-tux-arms.sprite [new file with mode: 0644]
data/images/creatures/tux_big/big-tux-body.sprite [new file with mode: 0644]
data/images/creatures/tux_big/big-tux-feet.sprite [new file with mode: 0644]
data/images/creatures/tux_big/big-tux-head.sprite [new file with mode: 0644]
data/images/creatures/tux_big/bigtux-star.sprite [new file with mode: 0644]
data/images/creatures/tux_grow/tux-grow-left.sprite.old [new file with mode: 0644]
data/images/creatures/tux_grow/tux-grow-right.sprite.old [new file with mode: 0644]
data/images/creatures/tux_small/small-tux-arms.sprite [new file with mode: 0644]
data/images/creatures/tux_small/small-tux-body.sprite [new file with mode: 0644]
data/images/creatures/tux_small/smalltux-gameover.sprite [new file with mode: 0644]
data/images/creatures/tux_small/smalltux-star.sprite [new file with mode: 0644]
data/images/creatures/zeekling/zeekling.sprite [new file with mode: 0644]
data/images/sprites.strf
src/badguy/mriceblock.cpp
src/badguy/skullyhop.cpp
src/badguy/snowsnail.cpp
src/badguy/spidermite.cpp
src/badguy/stalactite.cpp
src/badguy/zeekling.cpp
src/object/player.cpp
src/resources.cpp

diff --git a/data/images/creatures/angrystone/angrystone.sprite b/data/images/creatures/angrystone/angrystone.sprite
new file mode 100644 (file)
index 0000000..bccffab
--- /dev/null
@@ -0,0 +1,10 @@
+(supertux-sprite
+       (action
+         (name "idle")
+         (images "idle-0.png"))
+       (action
+         (name "charging")
+         (images "charging-0.png"))
+       (action
+         (name "attacking")
+         (images "attacking-0.png")))
diff --git a/data/images/creatures/mr_iceblock/mr_iceblock.sprite b/data/images/creatures/mr_iceblock/mr_iceblock.sprite
new file mode 100644 (file)
index 0000000..69e659f
--- /dev/null
@@ -0,0 +1,34 @@
+(supertux-sprite
+       (action
+         (name "left")
+         (x-offset 2)
+         (y-offset 3)
+         (images "left-0.png"
+                 "left-1.png"
+                 "left-2.png"
+                 "left-1.png"))
+
+       (action (name "right")
+               (x-offset 2)
+               (y-offset 3)
+               (mirror-action "left"))
+
+       (action (name "falling-left")
+               (x-offset 2)
+               (y-offset 3)
+               (images "flat-left.png"))
+
+       (action (name "falling-right")
+               (x-offset 2)
+               (y-offset 3)
+               (mirror-action "falling-left"))
+
+       (action (name "flat-left")
+               (x-offset 2)
+               (y-offset 3)
+               (images "flat-left.png"))
+
+       (action (name "flat-right")
+               (x-offset 2)
+               (y-offset 3)
+               (mirror-action "falling-left")))
diff --git a/data/images/creatures/skullyhop/skullyhop.sprite b/data/images/creatures/skullyhop/skullyhop.sprite
new file mode 100644 (file)
index 0000000..78e4212
--- /dev/null
@@ -0,0 +1,44 @@
+(supertux-sprite
+       (action
+         (name "standing-left")
+         (x-offset 0)
+         (y-offset 0)
+         (images "standing-0.png"))
+       (action
+         (name "standing-right")
+         (x-offset 0)
+         (y-offset 0)
+         (mirror-action "standing-left"))
+       (action
+         (name "charging-left")
+         (x-offset 0)
+         (y-offset 0)
+         (fps 10.0)
+         (images "charging-0.png"
+                 "charging-1.png"))
+       (action
+         (name "charging-right")
+         (fps 10.0)
+         (x-offset 0)
+         (y-offset 0)
+         (mirror-action "charging-left"))
+       (action
+         (name "jumping-left")
+         (x-offset 0)
+         (y-offset 0)
+         (images "jumping-0.png"))
+       (action
+         (name "jumping-right")
+         (x-offset 0)
+         (y-offset 0)
+         (mirror-action "jumping-left"))
+       (action
+         (name "squished-left")
+         (x-offset 0)
+         (y-offset -14)
+         (images "squished-0.png"))
+       (action
+         (name "squished-right")
+         (x-offset 0)
+         (y-offset -14)
+         (mirror-action "squished-left")))
diff --git a/data/images/creatures/snowsnail/snowsnail.sprite b/data/images/creatures/snowsnail/snowsnail.sprite
new file mode 100644 (file)
index 0000000..83aff20
--- /dev/null
@@ -0,0 +1,48 @@
+(supertux-sprite
+       (action
+         (name "left")
+         (x-offset 2)
+         (y-offset 3)
+         (images "snowsnail1.png"
+                 "snowsnail2.png"
+                 "snowsnail3.png"
+                 ))
+
+       (action (name "right")
+               (x-offset 2)
+               (y-offset 3)
+               (mirror-action "left"))
+
+       (action (name "falling-left")
+               (x-offset 2)
+               (y-offset 3)
+               (images "snowsnail_flip1.png"
+                       "snowsnail_flip2.png"
+                       "snowsnail_flip3.png"
+                       "snowsnail_flip4.png"
+                       "snowsnail_flip5.png"
+                       "snowsnail_flip6.png"
+                       "snowsnail_flip7.png"
+                       ))
+
+       (action (name "falling-right")
+               (x-offset 2)
+               (y-offset 3)
+               (mirror-action "falling-left"))
+
+       (action (name "flat-left")
+               (x-offset 2)
+               (y-offset 3)
+               (images "snowsnail_flip1.png"
+                       "snowsnail_flip2.png"
+                       "snowsnail_flip3.png"
+                       "snowsnail_flip4.png"
+                       "snowsnail_flip5.png"
+                       "snowsnail_flip6.png"
+                       "snowsnail_flip7.png"
+                       ))
+
+       (action (name "flat-right")
+               (x-offset 2)
+               (y-offset 3)
+               (mirror-action "falling-left")))
diff --git a/data/images/creatures/spidermite/spidermite.sprite b/data/images/creatures/spidermite/spidermite.sprite
new file mode 100644 (file)
index 0000000..4d02d44
--- /dev/null
@@ -0,0 +1,25 @@
+(supertux-sprite
+       (action
+         (name "left")
+         (x-offset 4)
+         (y-offset 3)
+         (images "spidermite.png"
+                 "spidermite0.png"
+                 "spidermite1.png"
+                 "spidermite0.png"))
+       (action
+         (name "right")
+         (x-offset 4)
+         (y-offset 3)
+         (mirror-action "left"))
+
+       (action
+         (name "squished-left")
+         (x-offset 4)
+         (y-offset -12)
+         (images "spidermite-squish.png"))
+       (action
+         (name "squished-right")
+         (x-offset 4)
+         (y-offset -12)
+         (mirror-action "squished-left")))
diff --git a/data/images/creatures/stalactite/stalactite.sprite b/data/images/creatures/stalactite/stalactite.sprite
new file mode 100644 (file)
index 0000000..cc3034e
--- /dev/null
@@ -0,0 +1,11 @@
+(supertux-sprite
+       (action
+         (name "normal")
+         (x-offset 0)
+         (y-offset 0)
+         (images "falling.png"))
+       (action
+         (name "squished")
+         (x-offset 0)
+         (y-offset 16)
+         (images "broken.png")))
diff --git a/data/images/creatures/tux_big/big-fire-tux-head.sprite b/data/images/creatures/tux_big/big-fire-tux-head.sprite
new file mode 100644 (file)
index 0000000..d30bd35
--- /dev/null
@@ -0,0 +1,107 @@
+(supertux-sprite
+       (action
+         (name "walk-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "head-fire-stand-0.png"))
+
+       (action
+         (name "walk-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "walk-right"))
+
+       (action
+         (name "stand-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "head-fire-stand-0.png"))
+
+       (action
+         (name "stand-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "stand-right"))
+
+       (action
+         (name "jump-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 30)
+         (images "head-fire-stand-0.png"))
+
+       (action
+         (name "jump-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 30)
+         (mirror-action "jump-right"))
+
+       (action
+         (name "duck-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 62)
+         (images "head-fire-duck-0.png"))
+
+       (action
+         (name "duck-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 62)
+         (mirror-action "duck-right"))
+
+       (action
+         (name "skid-right")
+         (x-offset 6)
+         (y-offset 31)
+         (images "head-fire-skid-0.png"))
+
+       (action
+         (name "skid-left")
+         (x-offset 27)
+         (y-offset 31)
+         (mirror-action "skid-right"))
+
+       (action
+         (name "kick-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "head-fire-stand-0.png"))
+
+       (action
+         (name "kick-left")
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "kick-right"))
+
+       (action
+         (name "buttjump-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "head-fire-stand-0.png"))
+
+       (action
+         (name "buttjump-left")
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "buttjump-right"))
+
+       (action
+         (name "idle-right")
+         (fps 1.0)
+         (x-offset 6)
+         (y-offset 31)
+         (images "head-idle-blink-0.png"
+                 "head-idle-blink-1.png"))
+
+       (action
+         (name "idle-left")
+         (fps 1.0)
+         (x-offset 27)
+         (y-offset 31)
+         (mirror-action "idle-right")))
diff --git a/data/images/creatures/tux_big/big-tux-arms.sprite b/data/images/creatures/tux_big/big-tux-arms.sprite
new file mode 100644 (file)
index 0000000..a79f2a0
--- /dev/null
@@ -0,0 +1,125 @@
+(supertux-sprite
+       (action
+         (name "walk-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "arms-walk-0.png"
+                 "arms-walk-1.png"
+                 "arms-walk-2.png"
+                 "arms-walk-3.png"
+                 "arms-walk-4.png"
+                 "arms-walk-5.png"))
+
+       (action
+         (name "walk-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "walk-right"))
+
+       (action
+         (name "stand-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "arms-stand-0.png"))
+
+       (action
+         (name "stand-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "stand-right"))
+
+       (action
+         (name "jump-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 30)
+         (images "arms-jump-0.png"))
+
+       (action
+         (name "jump-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 30)
+         (mirror-action "jump-right"))
+
+       (action
+         (name "duck-right")
+         (x-offset 5)
+         (y-offset 62)
+         (images "arms-duck-0.png"))
+
+       (action
+         (name "duck-left")
+         (x-offset 27)
+         (y-offset 62)
+         (mirror-action "duck-right"))
+
+       (action
+         (name "skid-right")
+         (x-offset 6)
+         (y-offset 31)
+         (images "arms-skid-0.png"))
+
+       (action
+         (name "skid-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 31)
+         (mirror-action "skid-right"))
+
+       (action
+         (name "kick-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "arms-stand-0.png"))
+
+       (action
+         (name "kick-left")
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "kick-right"))
+
+       (action
+         (name "buttjump-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "arms-stand-0.png"))
+
+       (action
+         (name "buttjump-left")
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "buttjump-right"))
+
+; Grabbing is arms specific!
+       (action 
+         (name "grab-right")
+         (x-offset 5)
+         (y-offset 32)
+         (z-order 2)
+         (images "arms-grab-0.png"))
+
+       (action
+         (name "grab-left")
+         (x-offset 27)
+         (y-offset 32)
+         (z-order 2)
+         (mirror-action "grab-right"))
+
+       (action
+         (name "duck+grab-right")
+         (x-offset 5)
+         (y-offset 62)
+         (z-order 2)
+         (images "arms-duck+grab-0.png"))
+
+       (action
+         (name "duck+grab-left")
+         (x-offset 27)
+         (y-offset 62)
+         (z-order 2)
+         (mirror-action "duck+grab-right")))
diff --git a/data/images/creatures/tux_big/big-tux-body.sprite b/data/images/creatures/tux_big/big-tux-body.sprite
new file mode 100644 (file)
index 0000000..ea9b412
--- /dev/null
@@ -0,0 +1,95 @@
+(supertux-sprite
+       (action
+         (name "walk-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "body-stand-0.png"))
+
+       (action
+         (name "walk-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "walk-right"))
+
+       (action
+         (name "stand-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "body-stand-0.png"))
+
+       (action
+         (name "stand-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "stand-right"))
+
+       (action
+         (name "jump-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 30)
+         (images "body-stand-0.png"))
+
+       (action
+         (name "jump-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 30)
+         (mirror-action "jump-right"))
+
+       (action
+         (name "duck-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 62)
+         (images "body-duck-0.png"))
+
+       (action
+         (name "duck-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 62)
+         (mirror-action "duck-right"))
+
+       (action
+         (name "skid-right")
+         (x-offset 6)
+         (y-offset 31)
+         (images "body-skid-0.png"))
+
+       (action
+         (name "skid-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 31)
+         (mirror-action "skid-right"))
+
+       (action
+         (name "kick-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "body-stand-0.png"))
+
+       (action
+         (name "kick-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "kick-right"))
+
+       (action
+         (name "buttjump-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "body-stand-0.png"))
+
+       (action
+         (name "buttjump-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "buttjump-right")))
diff --git a/data/images/creatures/tux_big/big-tux-feet.sprite b/data/images/creatures/tux_big/big-tux-feet.sprite
new file mode 100644 (file)
index 0000000..ace4e1a
--- /dev/null
@@ -0,0 +1,97 @@
+(supertux-sprite
+       (action
+         (name "walk-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "feet-walk-0.png"
+                 "feet-walk-1.png"
+                 "feet-walk-2.png"
+                 "feet-walk-3.png"
+                 "feet-walk-4.png"
+                 "feet-walk-5.png"))
+
+       (action
+         (name "walk-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "walk-right"))
+
+       (action
+         (name "stand-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "feet-stand-0.png"))
+
+       (action
+         (name "stand-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "stand-right"))
+
+       (action
+         (name "jump-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 30)
+         (images "feet-jump-0.png"))
+
+       (action
+         (name "jump-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 30)
+         (mirror-action "jump-right"))
+
+       (action
+         (name "duck-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 62)
+         (images "feet-duck-0.png"))
+
+       (action
+         (name "duck-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 62)
+         (mirror-action "duck-right"))
+
+       (action
+         (name "skid-right")
+         (x-offset 6)
+         (y-offset 31)
+         (images "feet-skid-0.png"))
+
+       (action
+         (name "skid-left")
+         (x-offset 27)
+         (y-offset 31)
+         (mirror-action "skid-right"))
+
+       (action
+         (name "kick-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "feet-kick-0.png"))
+
+       (action
+         (name "kick-left")
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "kick-right"))
+
+       (action
+         (name "buttjump-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "feet-buttjump-0.png"))
+
+       (action
+         (name "buttjump-left")
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "buttjump-right")))
diff --git a/data/images/creatures/tux_big/big-tux-head.sprite b/data/images/creatures/tux_big/big-tux-head.sprite
new file mode 100644 (file)
index 0000000..5cc7f37
--- /dev/null
@@ -0,0 +1,110 @@
+(supertux-sprite
+       (action
+         (name "walk-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "head-stand-0.png"))
+
+       (action
+         (name "walk-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "walk-right"))
+
+       (action
+         (name "stand-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 32)
+         (images "head-stand-0.png"))
+
+       (action
+         (name "stand-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "stand-right"))
+
+       (action
+         (name "jump-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 30)
+         (images "head-stand-0.png"))
+
+       (action
+         (name "jump-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 30)
+         (mirror-action "jump-right"))
+
+       (action
+         (name "duck-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 62)
+         (images "head-duck-0.png"))
+
+       (action
+         (name "duck-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 62)
+         (mirror-action "duck-right"))
+
+       (action
+         (name "skid-right")
+         (x-offset 6)
+         (y-offset 31)
+         (images "head-skid-0.png"))
+
+       (action
+         (name "skid-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 31)
+         (mirror-action "skid-right"))
+
+       (action
+         (name "kick-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "head-stand-0.png"))
+
+       (action
+         (name "kick-left")
+         (fps 15.0)
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "kick-right"))
+
+       (action
+         (name "buttjump-right")
+         (x-offset 5)
+         (y-offset 32)
+         (images "head-stand-0.png"))
+
+       (action
+         (name "buttjump-left")
+         (x-offset 27)
+         (y-offset 32)
+         (mirror-action "buttjump-right"))
+
+       (action
+         (name "idle-right")
+         (fps 1.0)
+         (x-offset 6)
+         (y-offset 31)
+         (images "head-idle-blink-0.png"
+                 "head-idle-blink-1.png"))
+
+
+       (action
+         (name "idle-left")
+         (fps 1.0)
+         (x-offset 27)
+         (y-offset 31)
+         (mirror-action "idle-right")))
diff --git a/data/images/creatures/tux_big/bigtux-star.sprite b/data/images/creatures/tux_big/bigtux-star.sprite
new file mode 100644 (file)
index 0000000..791ea56
--- /dev/null
@@ -0,0 +1,7 @@
+(supertux-sprite
+       (action
+         (x-offset 8)
+         (y-offset 8)
+         (images "extra-star-0.png"
+                 "extra-star-1.png"
+                 "extra-star-2.png")))
diff --git a/data/images/creatures/tux_grow/tux-grow-left.sprite.old b/data/images/creatures/tux_grow/tux-grow-left.sprite.old
new file mode 100644 (file)
index 0000000..26d9946
--- /dev/null
@@ -0,0 +1,12 @@
+(supertux-sprite
+       (action
+          (fps 4.0)
+          (x-offset 6)
+          (y-offset 2)
+          (images "left-1.png"
+                  "left-2.png"
+                  "left-3.png"
+                  "left-4.png"
+                  "left-5.png"
+                  "left-6.png"
+                  "left-7.png")))
diff --git a/data/images/creatures/tux_grow/tux-grow-right.sprite.old b/data/images/creatures/tux_grow/tux-grow-right.sprite.old
new file mode 100644 (file)
index 0000000..eefff2e
--- /dev/null
@@ -0,0 +1,12 @@
+(supertux-sprite
+        (action
+          (fps 4.0)
+          (x-offset 6)
+          (y-offset 2)
+          (images "right-1.png"
+                  "right-2.png"
+                  "right-3.png"
+                  "right-4.png"
+                  "right-5.png"
+                  "right-6.png"
+                  "right-7.png")))
diff --git a/data/images/creatures/tux_small/small-tux-arms.sprite b/data/images/creatures/tux_small/small-tux-arms.sprite
new file mode 100644 (file)
index 0000000..ec2c141
--- /dev/null
@@ -0,0 +1,89 @@
+(supertux-sprite
+       (action
+         (name "walk-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (images "arms-walk-0.png"
+                 "arms-walk-1.png"
+                 "arms-walk-2.png"
+                 "arms-walk-3.png"
+                 "arms-walk-4.png"
+                 "arms-walk-5.png"
+                 "arms-walk-6.png"
+                 "arms-walk-7.png"))
+
+       (action
+         (name "walk-left")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (mirror-action "walk-right"))
+
+       (action
+         (name "stand-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (images "arms-walk-5.png"))
+
+       (action
+         (name "stand-left")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (mirror-action "stand-right"))
+
+       (action
+         (name "jump-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (images "arms-jump-0.png"))
+
+       (action
+         (name "jump-left")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (mirror-action "jump-right"))
+
+       (action
+         (name "skid-right")
+         (x-offset 6)
+         (y-offset 15)
+         (images "arms-skid-0.png"))
+
+       (action
+         (name "skid-left")
+         (fps 15.0)
+         (x-offset 6)
+         (y-offset 15)
+         (mirror-action "skid-right"))
+
+       (action
+         (name "kick-right")
+         (x-offset 5)
+         (y-offset 14)
+         (images "arms-kick-0.png"))
+
+       (action
+         (name "kick-left")
+         (x-offset 5)
+         (y-offset 14)
+         (mirror-action "kick-right"))
+
+; Grabbing is arms specific!
+       (action 
+         (name "grab-right")
+         (x-offset 5)
+         (y-offset 14)
+         (z-order 2)
+         (images "arms-grab-0.png"))
+
+       (action
+         (name "grab-left")
+         (x-offset 5)
+         (y-offset 14)
+         (z-order 2)
+         (mirror-action "grab-right")))
diff --git a/data/images/creatures/tux_small/small-tux-body.sprite b/data/images/creatures/tux_small/small-tux-body.sprite
new file mode 100644 (file)
index 0000000..4ad1e10
--- /dev/null
@@ -0,0 +1,73 @@
+(supertux-sprite
+       (action
+         (name "walk-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (images "body-walk-0.png"
+                 "body-walk-1.png"
+                 "body-walk-2.png"
+                 "body-walk-3.png"
+                 "body-walk-4.png"
+                 "body-walk-5.png"
+                 "body-walk-6.png"
+                 "body-walk-7.png"))
+
+       (action
+         (name "walk-left")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (mirror-action "walk-right"))
+
+       (action
+         (name "stand-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (images "body-walk-5.png"))
+
+       (action
+         (name "stand-left")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (mirror-action "stand-right"))
+
+       (action
+         (name "jump-right")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (images "body-jump-0.png"))
+
+       (action
+         (name "jump-left")
+         (fps 15.0)
+         (x-offset 5)
+         (y-offset 14)
+         (mirror-action "jump-right"))
+
+       (action
+         (name "skid-right")
+         (x-offset 6)
+         (y-offset 15)
+         (images "body-skid-0.png"))
+
+       (action
+         (name "skid-left")
+         (x-offset 6)
+         (y-offset 15)
+         (mirror-action "skid-right"))
+
+       (action
+         (name "kick-right")
+         (x-offset 5)
+         (y-offset 14)
+         (images "body-kick-0.png"))
+
+       (action
+         (name "kick-left")
+         (x-offset 5)
+         (y-offset 14)
+         (mirror-action "kick-right")))
diff --git a/data/images/creatures/tux_small/smalltux-gameover.sprite b/data/images/creatures/tux_small/smalltux-gameover.sprite
new file mode 100644 (file)
index 0000000..0a96764
--- /dev/null
@@ -0,0 +1,7 @@
+(supertux-sprite
+       (action
+         (fps 10.0)
+         (x-offset 13)
+         (y-offset 6)
+         (images "gameover-0.png"
+                 "gameover-1.png")))
diff --git a/data/images/creatures/tux_small/smalltux-star.sprite b/data/images/creatures/tux_small/smalltux-star.sprite
new file mode 100644 (file)
index 0000000..9761421
--- /dev/null
@@ -0,0 +1,7 @@
+(supertux-sprite
+       (action
+         (x-offset 5)
+         (y-offset 15)
+         (images "extra-star-0.png"
+                 "extra-star-1.png"
+                 "extra-star-2.png")))
diff --git a/data/images/creatures/zeekling/zeekling.sprite b/data/images/creatures/zeekling/zeekling.sprite
new file mode 100644 (file)
index 0000000..3909abf
--- /dev/null
@@ -0,0 +1,36 @@
+; Zeekling
+(supertux-sprite
+ (action
+  (name "left")
+  (x-offset 2)
+  (y-offset 4)
+  (images "left-0.png"
+   "left-1.png"
+   "left-2.png"
+   "left-3.png"))
+ (action
+  (name "right")
+  (x-offset 2)
+  (y-offset 4)
+  (mirror-action "left"))
+ (action
+  (name "squished-left")
+  (x-offset 2)
+  (y-offset -19)
+  (images "squished.png"))
+ (action
+  (name "squished-right")
+  (x-offset 2)
+  (y-offset -19)
+  (mirror-action "squished-left"))
+ (action
+  (name "diving-left")
+  (x-offset 2)
+  (y-offset 4)
+  (images "diving.png"))
+ (action
+  (name "diving-right")
+  (x-offset 2)
+  (y-offset 4)
+  (mirror-action "left")))
+
index f81049e..145c17e 100644 (file)
 ;; -*- mode: scheme; -*-
 (supertux-resources
 
-; Small Tux sprite
- (sprite
-;; Small Tux arms
-       (name "small-tux-arms")
-       (action
-         (name "walk-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (images "creatures/tux_small/arms-walk-0.png"
-                 "creatures/tux_small/arms-walk-1.png"
-                 "creatures/tux_small/arms-walk-2.png"
-                 "creatures/tux_small/arms-walk-3.png"
-                 "creatures/tux_small/arms-walk-4.png"
-                 "creatures/tux_small/arms-walk-5.png"
-                 "creatures/tux_small/arms-walk-6.png"
-                 "creatures/tux_small/arms-walk-7.png"))
-
-       (action
-         (name "walk-left")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (mirror-action "walk-right"))
-
-       (action
-         (name "stand-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (images "creatures/tux_small/arms-walk-5.png"))
-
-       (action
-         (name "stand-left")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (mirror-action "stand-right"))
-
-       (action
-         (name "jump-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (images "creatures/tux_small/arms-jump-0.png"))
-
-       (action
-         (name "jump-left")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (mirror-action "jump-right"))
-
-       (action
-         (name "skid-right")
-         (x-offset 6)
-         (y-offset 15)
-         (images "creatures/tux_small/arms-skid-0.png"))
-
-       (action
-         (name "skid-left")
-         (fps 15.0)
-         (x-offset 6)
-         (y-offset 15)
-         (mirror-action "skid-right"))
-
-       (action
-         (name "kick-right")
-         (x-offset 5)
-         (y-offset 14)
-         (images "creatures/tux_small/arms-kick-0.png"))
-
-       (action
-         (name "kick-left")
-         (x-offset 5)
-         (y-offset 14)
-         (mirror-action "kick-right"))
-
-; Grabbing is arms specific!
-       (action 
-         (name "grab-right")
-         (x-offset 5)
-         (y-offset 14)
-         (z-order 2)
-         (images "creatures/tux_small/arms-grab-0.png"))
-
-       (action
-         (name "grab-left")
-         (x-offset 5)
-         (y-offset 14)
-         (z-order 2)
-         (mirror-action "grab-right")))
-
-;; Small Tux Body
- (sprite
-       (name "small-tux-body")
-       (action
-         (name "walk-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (images "creatures/tux_small/body-walk-0.png"
-                 "creatures/tux_small/body-walk-1.png"
-                 "creatures/tux_small/body-walk-2.png"
-                 "creatures/tux_small/body-walk-3.png"
-                 "creatures/tux_small/body-walk-4.png"
-                 "creatures/tux_small/body-walk-5.png"
-                 "creatures/tux_small/body-walk-6.png"
-                 "creatures/tux_small/body-walk-7.png"))
-
-       (action
-         (name "walk-left")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (mirror-action "walk-right"))
-
-       (action
-         (name "stand-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (images "creatures/tux_small/body-walk-5.png"))
-
-       (action
-         (name "stand-left")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (mirror-action "stand-right"))
-
-       (action
-         (name "jump-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (images "creatures/tux_small/body-jump-0.png"))
-
-       (action
-         (name "jump-left")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 14)
-         (mirror-action "jump-right"))
-
-       (action
-         (name "skid-right")
-         (x-offset 6)
-         (y-offset 15)
-         (images "creatures/tux_small/body-skid-0.png"))
-
-       (action
-         (name "skid-left")
-         (x-offset 6)
-         (y-offset 15)
-         (mirror-action "skid-right"))
-
-       (action
-         (name "kick-right")
-         (x-offset 5)
-         (y-offset 14)
-         (images "creatures/tux_small/body-kick-0.png"))
-
-       (action
-         (name "kick-left")
-         (x-offset 5)
-         (y-offset 14)
-         (mirror-action "kick-right")))
-
-; End of Small Tux sprite
-
-; Big Tux (no power) sprite
- (sprite
-;; Big Tux arms
-       (name "big-tux-arms")
-
-       (action
-         (name "walk-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/arms-walk-0.png"
-                 "creatures/tux_big/arms-walk-1.png"
-                 "creatures/tux_big/arms-walk-2.png"
-                 "creatures/tux_big/arms-walk-3.png"
-                 "creatures/tux_big/arms-walk-4.png"
-                 "creatures/tux_big/arms-walk-5.png"))
-
-       (action
-         (name "walk-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "walk-right"))
-
-       (action
-         (name "stand-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/arms-stand-0.png"))
-
-       (action
-         (name "stand-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "stand-right"))
-
-       (action
-         (name "jump-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 30)
-         (images "creatures/tux_big/arms-jump-0.png"))
-
-       (action
-         (name "jump-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 30)
-         (mirror-action "jump-right"))
-
-       (action
-         (name "duck-right")
-         (x-offset 5)
-         (y-offset 62)
-         (images "creatures/tux_big/arms-duck-0.png"))
-
-       (action
-         (name "duck-left")
-         (x-offset 27)
-         (y-offset 62)
-         (mirror-action "duck-right"))
-
-       (action
-         (name "skid-right")
-         (x-offset 6)
-         (y-offset 31)
-         (images "creatures/tux_big/arms-skid-0.png"))
-
-       (action
-         (name "skid-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 31)
-         (mirror-action "skid-right"))
-
-       (action
-         (name "kick-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/arms-stand-0.png"))
-
-       (action
-         (name "kick-left")
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "kick-right"))
+;; Tux is now in seperate .sprite files
 
-       (action
-         (name "buttjump-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/arms-stand-0.png"))
-
-       (action
-         (name "buttjump-left")
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "buttjump-right"))
-
-; Grabbing is arms specific!
-       (action 
-         (name "grab-right")
-         (x-offset 5)
-         (y-offset 32)
-         (z-order 2)
-         (images "creatures/tux_big/arms-grab-0.png"))
-
-       (action
-         (name "grab-left")
-         (x-offset 27)
-         (y-offset 32)
-         (z-order 2)
-         (mirror-action "grab-right"))
-
-       (action
-         (name "duck+grab-right")
-         (x-offset 5)
-         (y-offset 62)
-         (z-order 2)
-         (images "creatures/tux_big/arms-duck+grab-0.png"))
-
-       (action
-         (name "duck+grab-left")
-         (x-offset 27)
-         (y-offset 62)
-         (z-order 2)
-         (mirror-action "duck+grab-right")))
-
-;; Big Tux Head
- (sprite
-       (name "big-tux-head")
-       (action
-         (name "walk-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/head-stand-0.png"))
-
-       (action
-         (name "walk-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "walk-right"))
-
-       (action
-         (name "stand-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/head-stand-0.png"))
-
-       (action
-         (name "stand-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "stand-right"))
-
-       (action
-         (name "jump-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 30)
-         (images "creatures/tux_big/head-stand-0.png"))
-
-       (action
-         (name "jump-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 30)
-         (mirror-action "jump-right"))
-
-       (action
-         (name "duck-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 62)
-         (images "creatures/tux_big/head-duck-0.png"))
-
-       (action
-         (name "duck-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 62)
-         (mirror-action "duck-right"))
-
-       (action
-         (name "skid-right")
-         (x-offset 6)
-         (y-offset 31)
-         (images "creatures/tux_big/head-skid-0.png"))
-
-       (action
-         (name "skid-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 31)
-         (mirror-action "skid-right"))
-
-       (action
-         (name "kick-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/head-stand-0.png"))
-
-       (action
-         (name "kick-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "kick-right"))
-
-       (action
-         (name "buttjump-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/head-stand-0.png"))
-
-       (action
-         (name "buttjump-left")
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "buttjump-right"))
-
-       (action
-         (name "idle-right")
-         (fps 1.0)
-         (x-offset 6)
-         (y-offset 31)
-         (images "creatures/tux_big/head-idle-blink-0.png"
-                 "creatures/tux_big/head-idle-blink-1.png"))
-
-
-       (action
-         (name "idle-left")
-         (fps 1.0)
-         (x-offset 27)
-         (y-offset 31)
-         (mirror-action "idle-right")))
-
-;; Big Tux Body
- (sprite
-       (name "big-tux-body")
-       (action
-         (name "walk-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/body-stand-0.png"))
-
-       (action
-         (name "walk-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "walk-right"))
-
-       (action
-         (name "stand-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/body-stand-0.png"))
-
-       (action
-         (name "stand-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "stand-right"))
-
-       (action
-         (name "jump-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 30)
-         (images "creatures/tux_big/body-stand-0.png"))
-
-       (action
-         (name "jump-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 30)
-         (mirror-action "jump-right"))
-
-       (action
-         (name "duck-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 62)
-         (images "creatures/tux_big/body-duck-0.png"))
-
-       (action
-         (name "duck-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 62)
-         (mirror-action "duck-right"))
-
-       (action
-         (name "skid-right")
-         (x-offset 6)
-         (y-offset 31)
-         (images "creatures/tux_big/body-skid-0.png"))
-
-       (action
-         (name "skid-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 31)
-         (mirror-action "skid-right"))
-
-       (action
-         (name "kick-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/body-stand-0.png"))
-
-       (action
-         (name "kick-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "kick-right"))
-
-       (action
-         (name "buttjump-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/body-stand-0.png"))
-
-       (action
-         (name "buttjump-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "buttjump-right")))
-
-;; Big Tux Feet
- (sprite
-       (name "big-tux-feet")
-       (action
-         (name "walk-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/feet-walk-0.png"
-                 "creatures/tux_big/feet-walk-1.png"
-                 "creatures/tux_big/feet-walk-2.png"
-                 "creatures/tux_big/feet-walk-3.png"
-                 "creatures/tux_big/feet-walk-4.png"
-                 "creatures/tux_big/feet-walk-5.png"))
-
-       (action
-         (name "walk-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "walk-right"))
-
-       (action
-         (name "stand-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/feet-stand-0.png"))
-
-       (action
-         (name "stand-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "stand-right"))
-
-       (action
-         (name "jump-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 30)
-         (images "creatures/tux_big/feet-jump-0.png"))
-
-       (action
-         (name "jump-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 30)
-         (mirror-action "jump-right"))
-
-       (action
-         (name "duck-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 62)
-         (images "creatures/tux_big/feet-duck-0.png"))
-
-       (action
-         (name "duck-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 62)
-         (mirror-action "duck-right"))
-
-       (action
-         (name "skid-right")
-         (x-offset 6)
-         (y-offset 31)
-         (images "creatures/tux_big/feet-skid-0.png"))
-
-       (action
-         (name "skid-left")
-         (x-offset 27)
-         (y-offset 31)
-         (mirror-action "skid-right"))
-
-       (action
-         (name "kick-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/feet-kick-0.png"))
-
-       (action
-         (name "kick-left")
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "kick-right"))
-
-       (action
-         (name "buttjump-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/feet-buttjump-0.png"))
-
-       (action
-         (name "buttjump-left")
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "buttjump-right")))
-
-; End of Big Tux (no power) sprite
-
-; Big Fire Tux sprite
- ;; Big Tux Head
- (sprite
-       (name "big-fire-tux-head")
-       (action
-         (name "walk-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/head-fire-stand-0.png"))
-
-       (action
-         (name "walk-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "walk-right"))
-
-       (action
-         (name "stand-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/head-fire-stand-0.png"))
-
-       (action
-         (name "stand-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "stand-right"))
-
-       (action
-         (name "jump-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 30)
-         (images "creatures/tux_big/head-fire-stand-0.png"))
-
-       (action
-         (name "jump-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 30)
-         (mirror-action "jump-right"))
-
-       (action
-         (name "duck-right")
-         (fps 15.0)
-         (x-offset 5)
-         (y-offset 62)
-         (images "creatures/tux_big/head-fire-duck-0.png"))
-
-       (action
-         (name "duck-left")
-         (fps 15.0)
-         (x-offset 27)
-         (y-offset 62)
-         (mirror-action "duck-right"))
-
-       (action
-         (name "skid-right")
-         (x-offset 6)
-         (y-offset 31)
-         (images "creatures/tux_big/head-fire-skid-0.png"))
-
-       (action
-         (name "skid-left")
-         (x-offset 27)
-         (y-offset 31)
-         (mirror-action "skid-right"))
-
-       (action
-         (name "kick-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/head-fire-stand-0.png"))
-
-       (action
-         (name "kick-left")
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "kick-right"))
-
-       (action
-         (name "buttjump-right")
-         (x-offset 5)
-         (y-offset 32)
-         (images "creatures/tux_big/head-fire-stand-0.png"))
-
-       (action
-         (name "buttjump-left")
-         (x-offset 27)
-         (y-offset 32)
-         (mirror-action "buttjump-right"))
-
-       (action
-         (name "idle-right")
-         (fps 1.0)
-         (x-offset 6)
-         (y-offset 31)
-         (images "creatures/tux_big/head-idle-blink-0.png"
-                 "creatures/tux_big/head-idle-blink-1.png"))
-
-       (action
-         (name "idle-left")
-         (fps 1.0)
-         (x-offset 27)
-         (y-offset 31)
-         (mirror-action "idle-right")))
-
-; End of Big Fire Tux sprite
-
-
- (sprite (name "smalltux-gameover")
-       (action
-         (fps 10.0)
-         (x-offset 13)
-         (y-offset 6)
-         (images "creatures/tux_small/gameover-0.png"
-                 "creatures/tux_small/gameover-1.png")))
-
- (sprite (name "smalltux-star")
-       (action
-         (x-offset 5)
-         (y-offset 15)
-         (images "creatures/tux_small/extra-star-0.png"
-                 "creatures/tux_small/extra-star-1.png"
-                 "creatures/tux_small/extra-star-2.png")))
-
- (sprite (name "bigtux-star")
-       (action
-         (x-offset 8)
-         (y-offset 8)
-         (images "creatures/tux_big/extra-star-0.png"
-                 "creatures/tux_big/extra-star-1.png"
-                 "creatures/tux_big/extra-star-2.png")))
-
-;   ;; Growing Tux animation
-;  (sprite (name "tux-grow-left")
-;        (action
-;          (fps 4.0)
-;          (x-offset 6)
-;          (y-offset 2)
-;          (images "creatures/tux_grow/left-1.png"
-;                  "creatures/tux_grow/left-2.png"
-;                  "creatures/tux_grow/left-3.png"
-;                  "creatures/tux_grow/left-4.png"
-;                  "creatures/tux_grow/left-5.png"
-;                  "creatures/tux_grow/left-6.png"
-;                  "creatures/tux_grow/left-7.png")))
-; 
-;  (sprite (name "tux-grow-right")
-;        (action
-;          (fps 4.0)
-;          (x-offset 6)
-;          (y-offset 2)
-;          (images "creatures/tux_grow/right-1.png"
-;                  "creatures/tux_grow/right-2.png"
-;                  "creatures/tux_grow/right-3.png"
-;                  "creatures/tux_grow/right-4.png"
-;                  "creatures/tux_grow/right-5.png"
-;                  "creatures/tux_grow/right-6.png"
-;                  "creatures/tux_grow/right-7.png")))
-
-
-;; Bad Guys follow
- ;; MrIceBlock
- (sprite (name "mriceblock")
-    (action
-         (name "left")
-         (x-offset 2)
-         (y-offset 3)
-         (images "creatures/mr_iceblock/left-0.png"
-                 "creatures/mr_iceblock/left-1.png"
-                 "creatures/mr_iceblock/left-2.png"
-                 "creatures/mr_iceblock/left-1.png"))
-
-    (action (name "right")
-         (x-offset 2)
-         (y-offset 3)
-         (mirror-action "left"))
-
-    (action (name "falling-left")
-         (x-offset 2)
-         (y-offset 3)
-         (images "creatures/mr_iceblock/flat-left.png"))
-
-    (action (name "falling-right")
-         (x-offset 2)
-         (y-offset 3)
-         (mirror-action "falling-left"))
-    (action (name "flat-left")
-         (x-offset 2)
-         (y-offset 3)
-         (images "creatures/mr_iceblock/flat-left.png"))
-
-    (action (name "flat-right")
-         (x-offset 2)
-         (y-offset 3)
-         (mirror-action "falling-left")))
- ;; SnowSnail
- (sprite (name "snowsnail")
-    (action
-         (name "left")
-         (x-offset 2)
-         (y-offset 3)
-         (images "creatures/snowsnail/snowsnail1.png"
-                "creatures/snowsnail/snowsnail2.png"
-                 "creatures/snowsnail/snowsnail3.png"
-))
-
-    (action (name "right")
-         (x-offset 2)
-         (y-offset 3)
-         (mirror-action "left"))
-
-    (action (name "falling-left")
-         (x-offset 2)
-         (y-offset 3)
-         (images "creatures/snowsnail/snowsnail_flip1.png"
-"creatures/snowsnail/snowsnail_flip2.png"
-"creatures/snowsnail/snowsnail_flip3.png"
-"creatures/snowsnail/snowsnail_flip4.png"
-"creatures/snowsnail/snowsnail_flip5.png"
-"creatures/snowsnail/snowsnail_flip6.png"
-"creatures/snowsnail/snowsnail_flip7.png"
-))
-
-    (action (name "falling-right")
-         (x-offset 2)
-         (y-offset 3)
-         (mirror-action "falling-left"))
-
-    (action (name "flat-left")
-         (x-offset 2)
-         (y-offset 3)
-        (images "creatures/snowsnail/snowsnail_flip1.png"
-"creatures/snowsnail/snowsnail_flip2.png"
-"creatures/snowsnail/snowsnail_flip3.png"
-"creatures/snowsnail/snowsnail_flip4.png"
-"creatures/snowsnail/snowsnail_flip5.png"
-"creatures/snowsnail/snowsnail_flip6.png"
-"creatures/snowsnail/snowsnail_flip7.png"
-))
-
-    (action (name "flat-right")
-         (x-offset 2)
-         (y-offset 3)
-         (mirror-action "falling-left")))
-
- (sprite (name "stalactite")
-       (action
-         (name "normal")
-         (x-offset 0)
-         (y-offset 0)
-         (images "creatures/stalactite/falling.png"))
-       (action
-         (name "squished")
-         (x-offset 0)
-         (y-offset 16)
-         (images "creatures/stalactite/broken.png")))
-
-(sprite (name "spidermite")
-       (action
-         (name "left")
-         (x-offset 4)
-         (y-offset 3)
-         (images "creatures/spidermite/spidermite.png"
-"creatures/spidermite/spidermite0.png"
-                 "creatures/spidermite/spidermite1.png"
-"creatures/spidermite/spidermite0.png"))
-       (action
-         (name "right")
-         (x-offset 4)
-         (y-offset 3)
-         (mirror-action "left"))
-
-       (action
-         (name "squished-left")
-         (x-offset 4)
-         (y-offset -12)
-         (images "creatures/spidermite/spidermite-squish.png"))
-       (action
-         (name "squished-right")
-         (x-offset 4)
-         (y-offset -12)
-         (mirror-action "squished-left")))
-
-; Zeekling
- (sprite (name "zeekling")
-       (action
-         (name "left")
-         (x-offset 2)
-         (y-offset 4)
-         (images "creatures/zeekling/left-0.png"
-                 "creatures/zeekling/left-1.png"
-                "creatures/zeekling/left-2.png"
-                 "creatures/zeekling/left-3.png"))
-       (action
-         (name "right")
-         (x-offset 2)
-         (y-offset 4)
-         (mirror-action "left"))
-       (action
-         (name "squished-left")
-         (x-offset 2)
-         (y-offset -19)
-         (images "creatures/zeekling/squished.png"))
-       (action
-         (name "squished-right")
-         (x-offset 2)
-         (y-offset -19)
-         (mirror-action "squished-left"))
-       (action
-         (name "diving-left")
-         (x-offset 2)
-         (y-offset 4)
-         (images "creatures/zeekling/diving.png"))
-       (action
-         (name "diving-right")
-         (x-offset 2)
-         (y-offset 4)
-         (mirror-action "left")))
-
-; Angry Stone
- (sprite (name "angrystone")
-       (action
-         (name "idle")
-         (images "creatures/angrystone/idle-0.png"))
-       (action
-         (name "charging")
-         (images "creatures/angrystone/charging-0.png"))
-       (action
-         (name "attacking")
-         (images "creatures/angrystone/attacking-0.png")))
-
-; SkullyHop
- (sprite (name "skullyhop")
-       (action
-         (name "standing-left")
-         (x-offset 0)
-         (y-offset 0)
-         (images "creatures/skullyhop/standing-0.png"))
-       (action
-         (name "standing-right")
-         (x-offset 0)
-         (y-offset 0)
-         (mirror-action "standing-left"))
-       (action
-         (name "charging-left")
-         (x-offset 0)
-         (y-offset 0)
-         (fps 10.0)
-         (images "creatures/skullyhop/charging-0.png"
-                 "creatures/skullyhop/charging-1.png"))
-       (action
-         (name "charging-right")
-         (fps 10.0)
-         (x-offset 0)
-         (y-offset 0)
-         (mirror-action "charging-left"))
-       (action
-         (name "jumping-left")
-         (x-offset 0)
-         (y-offset 0)
-         (images "creatures/skullyhop/jumping-0.png"))
-       (action
-         (name "jumping-right")
-         (x-offset 0)
-         (y-offset 0)
-         (mirror-action "jumping-left"))
-       (action
-         (name "squished-left")
-         (x-offset 0)
-         (y-offset -14)
-         (images "creatures/skullyhop/squished-0.png"))
-       (action
-         (name "squished-right")
-         (x-offset 0)
-         (y-offset -14)
-         (mirror-action "squished-left")))
+;; Bad Guys are in separate .sprite files
 
 ;; Game elements follow
           
index 782062b..18efa2f 100644 (file)
@@ -35,7 +35,7 @@ MrIceBlock::MrIceBlock(const lisp::Lisp& reader)
   stay_on_platform = false;
   reader.get("stay-on-platform", stay_on_platform);
   bbox.set_size(31.8, 31.8);
-  sprite = sprite_manager->create("mriceblock");
+  sprite = sprite_manager->create("images/creatures/mr_iceblock/mr_iceblock.sprite");
   set_direction = false;
 }
 
@@ -46,7 +46,7 @@ MrIceBlock::MrIceBlock(float pos_x, float pos_y, Direction d, bool stay_on_plat
   start_position.y = pos_y;
   stay_on_platform = stay_on_plat;
   bbox.set_size(31.8, 31.8);
-  sprite = sprite_manager->create("mriceblock");
+  sprite = sprite_manager->create("images/creatures/mr_iceblock/mr_iceblock.sprite");
   set_direction = true;
   initial_direction = d;
 }
index 418a63f..db6bfcf 100644 (file)
@@ -33,7 +33,7 @@ SkullyHop::SkullyHop(const lisp::Lisp& reader)
   reader.get("x", start_position.x);
   reader.get("y", start_position.y);
   bbox.set_size(33.8, 43.8); //sprite is 34x44
-  sprite = sprite_manager->create("skullyhop");
+  sprite = sprite_manager->create("images/creatures/skullyhop/skullyhop.sprite");
   has_initial_direction = false;
 }
 
@@ -42,7 +42,7 @@ SkullyHop::SkullyHop(float pos_x, float pos_y, Direction d)
   start_position.x = pos_x;
   start_position.y = pos_y;
   bbox.set_size(33.8, 43.8); //sprite is 34x44
-  sprite = sprite_manager->create("skullyhop");
+  sprite = sprite_manager->create("images/creatures/skullyhop/skullyhop.sprite");
   has_initial_direction = true;
   initial_direction = d;
 }
index 446d407..c644dc4 100644 (file)
@@ -33,7 +33,7 @@ SnowSnail::SnowSnail(const lisp::Lisp& reader)
   reader.get("x", start_position.x);
   reader.get("y", start_position.y);
   bbox.set_size(31.8, 31.8);
-  sprite = sprite_manager->create("snowsnail");
+  sprite = sprite_manager->create("images/creatures/snowsnail/snowsnail.sprite");
   set_direction = false;
 }
 
@@ -43,7 +43,7 @@ SnowSnail::SnowSnail(float pos_x, float pos_y, Direction d)
   start_position.x = pos_x;
   start_position.y = pos_y;
   bbox.set_size(31.8, 31.8);
-  sprite = sprite_manager->create("snowsnail");
+  sprite = sprite_manager->create("images/creatures/snowsnail/snowsnail.sprite");
   set_direction = true;
   initial_direction = d;
 }
index 7e475d7..2acd750 100644 (file)
@@ -31,7 +31,7 @@ SpiderMite::SpiderMite(const lisp::Lisp& reader)
   reader.get("x", start_position.x);
   reader.get("y", start_position.y);
   bbox.set_size(31.8, 31.8);
-  sprite = sprite_manager->create("spidermite");
+  sprite = sprite_manager->create("images/creatures/spidermite/spidermite.sprite");
   physic.enable_gravity(false);
 }
 
@@ -40,7 +40,7 @@ SpiderMite::SpiderMite(float pos_x, float pos_y)
   start_position.x = pos_x;
   start_position.y = pos_y;
   bbox.set_size(31.8, 31.8);
-  sprite = sprite_manager->create("spidermite");
+  sprite = sprite_manager->create("images/creatures/spidermite/spidermite.sprite");
   physic.enable_gravity(false);
 }
 
index 03b6742..b06a979 100644 (file)
@@ -31,7 +31,7 @@ Stalactite::Stalactite(const lisp::Lisp& lisp)
   lisp.get("x", start_position.x);
   lisp.get("y", start_position.y);
   bbox.set_size(31.8, 31.8);
-  sprite = sprite_manager->create("stalactite");
+  sprite = sprite_manager->create("images/creatures/stalactite/stalactite.sprite");
   state = STALACTITE_HANGING;
   countMe = false;
 }
index 65ae3e9..f6d795d 100644 (file)
@@ -29,7 +29,7 @@ Zeekling::Zeekling(const lisp::Lisp& reader)
   reader.get("x", start_position.x);
   reader.get("y", start_position.y);
   bbox.set_size(31.8, 31.8);
-  sprite = sprite_manager->create("zeekling");
+  sprite = sprite_manager->create("images/creatures/zeekling/zeekling.sprite");
   set_direction = false;
   state = FLYING;
 }
@@ -39,7 +39,7 @@ Zeekling::Zeekling(float pos_x, float pos_y, Direction d)
   start_position.x = pos_x;
   start_position.y = pos_y;
   bbox.set_size(63.8, 50.8);
-  sprite = sprite_manager->create("zeekling");
+  sprite = sprite_manager->create("images/creatures/zeekling/zeekling.sprite");
   set_direction = true;
   initial_direction = d;
   state = FLYING;
index 1e354bd..199ff5a 100644 (file)
@@ -101,9 +101,9 @@ Player::Player(PlayerStatus* _player_status)
   : player_status(_player_status), grabbed_object(0)
 {
   controller = main_controller;
-  smalltux_gameover = sprite_manager->create("smalltux-gameover");
-  smalltux_star = sprite_manager->create("smalltux-star");
-  bigtux_star = sprite_manager->create("bigtux-star");
+  smalltux_gameover = sprite_manager->create("images/creatures/tux_small/smalltux-gameover.sprite");
+  smalltux_star = sprite_manager->create("images/creatures/tux_small/smalltux-star.sprite");
+  bigtux_star = sprite_manager->create("images/creatures/tux_big/bigtux-star.sprite");
   init();
 }
 
index e658386..7d909b6 100644 (file)
@@ -91,27 +91,27 @@ void load_shared()
 
   small_tux = new TuxBodyParts();
   small_tux->head = 0;
-  small_tux->body = sprite_manager->create("small-tux-body");
-  small_tux->arms = sprite_manager->create("small-tux-arms");
+  small_tux->body = sprite_manager->create("images/creatures/tux_small/small-tux-body.sprite");
+  small_tux->arms = sprite_manager->create("images/creatures/tux_small/small-tux-arms.sprite");
   small_tux->feet = 0;
 
   big_tux = new TuxBodyParts();
-  big_tux->head = sprite_manager->create("big-tux-head");
-  big_tux->body = sprite_manager->create("big-tux-body");
-  big_tux->arms = sprite_manager->create("big-tux-arms");
-  big_tux->feet = sprite_manager->create("big-tux-feet");
+  big_tux->head = sprite_manager->create("images/creatures/tux_big/big-tux-head.sprite");
+  big_tux->body = sprite_manager->create("images/creatures/tux_big/big-tux-body.sprite");
+  big_tux->arms = sprite_manager->create("images/creatures/tux_big/big-tux-arms.sprite");
+  big_tux->feet = sprite_manager->create("images/creatures/tux_big/big-tux-feet.sprite");
 
   fire_tux = new TuxBodyParts();
-  fire_tux->head = sprite_manager->create("big-fire-tux-head");
-  fire_tux->body = sprite_manager->create("big-tux-body");
-  fire_tux->arms = sprite_manager->create("big-tux-arms");
-  fire_tux->feet = sprite_manager->create("big-tux-feet");
+  fire_tux->head = sprite_manager->create("images/creatures/tux_big/big-fire-tux-head.sprite");
+  fire_tux->body = sprite_manager->create("images/creatures/tux_big/big-tux-body.sprite");
+  fire_tux->arms = sprite_manager->create("images/creatures/tux_big/big-tux-arms.sprite");
+  fire_tux->feet = sprite_manager->create("images/creatures/tux_big/big-tux-feet.sprite");
 
   ice_tux = new TuxBodyParts();
-  ice_tux->head = sprite_manager->create("big-tux-head");
-  ice_tux->body = sprite_manager->create("big-tux-body");
-  ice_tux->arms = sprite_manager->create("big-tux-arms");
-  ice_tux->feet = sprite_manager->create("big-tux-feet");
+  ice_tux->head = sprite_manager->create("images/creatures/tux_big/big-tux-head.sprite");
+  ice_tux->body = sprite_manager->create("images/creatures/tux_big/big-tux-body.sprite");
+  ice_tux->arms = sprite_manager->create("images/creatures/tux_big/big-tux-arms.sprite");
+  ice_tux->feet = sprite_manager->create("images/creatures/tux_big/big-tux-feet.sprite");
 
   /* Tux life: */
   tux_life = new Surface("images/creatures/tux_small/tux-life.png");