[gnome-games] Changed the tweening for the bonus show animation



commit 2cafd76ca965f186e9f106986e9a17be788274ff
Author: Guillaume Beland <guillaume beland gmail com>
Date:   Thu Aug 20 17:29:47 2009 -0400

    Changed the tweening for the bonus show animation

 gnibbles/bonus.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnibbles/bonus.c b/gnibbles/bonus.c
index f65e227..626c726 100644
--- a/gnibbles/bonus.c
+++ b/gnibbles/bonus.c
@@ -103,9 +103,9 @@ gnibbles_bonus_draw (GnibblesBonus *bonus)
   clutter_container_add_actor (CLUTTER_CONTAINER (stage), bonus->actor);
 
   clutter_actor_set_opacity (bonus->actor, 0);
-  clutter_actor_set_scale (bonus->actor, 2.0, 2.0);
+  clutter_actor_set_scale (bonus->actor, 3.0, 3.0);
   g_signal_connect_after (
-    clutter_actor_animate (bonus->actor, CLUTTER_EASE_OUT_CIRC, 500,
+    clutter_actor_animate (bonus->actor, CLUTTER_EASE_OUT_BOUNCE, 800,
                          "scale-x", 1.0, "scale-y", 1.0,
                          "fixed::scale-gravity", CLUTTER_GRAVITY_CENTER,
                          "opacity", 0xff,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]