Adding in the start of graphics and noise for the new backflip. These file are free...
authorStephen Groundwater <slacker@gluebox.com>
Thu, 29 Jun 2006 03:23:24 +0000 (03:23 +0000)
committerStephen Groundwater <slacker@gluebox.com>
Thu, 29 Jun 2006 03:23:24 +0000 (03:23 +0000)
SVN-Revision: 3803

15 files changed:
data/images/creatures/tux_big/big-tux-arms.sprite
data/images/creatures/tux_big/big-tux-body.sprite
data/images/creatures/tux_big/big-tux-feet.sprite
data/images/creatures/tux_big/big-tux-head.sprite
data/images/creatures/tux_big/flip/empty.png [new file with mode: 0644]
data/images/creatures/tux_big/flip/flip_1.png [new file with mode: 0644]
data/images/creatures/tux_big/flip/flip_2.png [new file with mode: 0644]
data/images/creatures/tux_big/flip/flip_3.png [new file with mode: 0644]
data/images/creatures/tux_big/flip/flip_4.png [new file with mode: 0644]
data/images/creatures/tux_big/flip/flip_5.png [new file with mode: 0644]
data/images/creatures/tux_big/flip/flip_6.png [new file with mode: 0644]
data/images/creatures/tux_big/flip/flip_7.png [new file with mode: 0644]
data/images/creatures/tux_big/flip/flip_8.png [new file with mode: 0644]
data/sounds/flip.wav [new file with mode: 0644]
src/object/player.cpp

index a8cb066..f09502d 100644 (file)
@@ -74,7 +74,7 @@
        (action
          (name "backflip-right")
          (hitbox 5 62 0 0)
-         (images "arms-duck-0.png"))
+         (images "flip/empty.png"))
 
        (action
          (name "backflip-left")
index 9146a17..c89bf9c 100644 (file)
 
        (action
          (name "backflip-right")
-         (fps 15.0)
+         (fps 9.0)
          (hitbox 5 62 0 0)
-         (images "body-duck-0.png"))
+         (images "flip/flip_1.png"
+"flip/flip_2.png"
+"flip/flip_3.png"
+"flip/flip_4.png"
+"flip/flip_5.png"
+"flip/flip_6.png"
+"flip/flip_1.png"
+"flip/flip_1.png"
+"flip/flip_1.png"
+"flip/flip_1.png"
+"flip/flip_1.png"
+))
 
        (action
          (name "backflip-left")
-         (fps 15.0)
+         (fps 9.0)
          (hitbox 27 62 0 0)
          (mirror-action "backflip-right"))
 
index 1018f54..d60a3e7 100644 (file)
@@ -76,7 +76,7 @@
          (name "backflip-right")
          (fps 15.0)
          (hitbox 5 62 0 0)
-         (images "feet-duck-0.png"))
+         (images "flip/empty.png"))
 
        (action
          (name "backflip-left")
index ecec745..137710b 100644 (file)
@@ -83,7 +83,7 @@
          (name "backflip-right")
          (fps 15.0)
          (hitbox 5 62 0 0)
-         (images "head-duck-0.png"))
+         (images "flip/empty.png"))
 
        (action
          (name "backflip-left")
diff --git a/data/images/creatures/tux_big/flip/empty.png b/data/images/creatures/tux_big/flip/empty.png
new file mode 100644 (file)
index 0000000..ad17df1
Binary files /dev/null and b/data/images/creatures/tux_big/flip/empty.png differ
diff --git a/data/images/creatures/tux_big/flip/flip_1.png b/data/images/creatures/tux_big/flip/flip_1.png
new file mode 100644 (file)
index 0000000..4689602
Binary files /dev/null and b/data/images/creatures/tux_big/flip/flip_1.png differ
diff --git a/data/images/creatures/tux_big/flip/flip_2.png b/data/images/creatures/tux_big/flip/flip_2.png
new file mode 100644 (file)
index 0000000..3e51c21
Binary files /dev/null and b/data/images/creatures/tux_big/flip/flip_2.png differ
diff --git a/data/images/creatures/tux_big/flip/flip_3.png b/data/images/creatures/tux_big/flip/flip_3.png
new file mode 100644 (file)
index 0000000..bd30cbc
Binary files /dev/null and b/data/images/creatures/tux_big/flip/flip_3.png differ
diff --git a/data/images/creatures/tux_big/flip/flip_4.png b/data/images/creatures/tux_big/flip/flip_4.png
new file mode 100644 (file)
index 0000000..ea31589
Binary files /dev/null and b/data/images/creatures/tux_big/flip/flip_4.png differ
diff --git a/data/images/creatures/tux_big/flip/flip_5.png b/data/images/creatures/tux_big/flip/flip_5.png
new file mode 100644 (file)
index 0000000..4d3dc01
Binary files /dev/null and b/data/images/creatures/tux_big/flip/flip_5.png differ
diff --git a/data/images/creatures/tux_big/flip/flip_6.png b/data/images/creatures/tux_big/flip/flip_6.png
new file mode 100644 (file)
index 0000000..67b71b2
Binary files /dev/null and b/data/images/creatures/tux_big/flip/flip_6.png differ
diff --git a/data/images/creatures/tux_big/flip/flip_7.png b/data/images/creatures/tux_big/flip/flip_7.png
new file mode 100644 (file)
index 0000000..3669bb8
Binary files /dev/null and b/data/images/creatures/tux_big/flip/flip_7.png differ
diff --git a/data/images/creatures/tux_big/flip/flip_8.png b/data/images/creatures/tux_big/flip/flip_8.png
new file mode 100644 (file)
index 0000000..45fd7ac
Binary files /dev/null and b/data/images/creatures/tux_big/flip/flip_8.png differ
diff --git a/data/sounds/flip.wav b/data/sounds/flip.wav
new file mode 100644 (file)
index 0000000..05bff18
Binary files /dev/null and b/data/sounds/flip.wav differ
index 29390d9..ebed28a 100644 (file)
@@ -117,6 +117,7 @@ Player::Player(PlayerStatus* _player_status)
   sound_manager->preload("sounds/jump.wav");
   sound_manager->preload("sounds/hurt.wav");
   sound_manager->preload("sounds/skid.wav");
+  sound_manager->preload("sounds/flip.wav");
 
   init();
 }
@@ -491,6 +492,7 @@ Player::do_backflip() {
   backflip_direction = (dir == LEFT)?(+1):(-1);
   backflipping = true;
   do_jump(-580);
+  sound_manager->play("sounds/flip.wav");
   backflip_timer.start(0.15);
 }