[gnome-nibbles] Animate out the warps as well at end game
- From: Bryan Quigley <bryanquigs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Animate out the warps as well at end game
- Date: Sun, 28 Apr 2013 04:59:24 +0000 (UTC)
commit 30badf9704bb08abf37041d08876fe19b7a402ea
Author: Bryan Quigley <bryanquigs src gnome org>
Date: Sat Apr 27 11:56:09 2013 -0400
Animate out the warps as well at end game
src/main.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 6b95698..69b8cef 100644
--- a/src/main.c
+++ b/src/main.c
@@ -429,9 +429,17 @@ animate_end_game (void)
"scale-x", 0.4, "scale-y", 0.4,
"fixed::scale-gravity", CLUTTER_GRAVITY_CENTER,
NULL);
+ }
+ for ( i = 0; i < warpmanager->numwarps; i++) {
+ clutter_actor_animate (warpmanager->warps[i]->actor, CLUTTER_EASE_IN_QUAD, 500,
+ "opacity", 0,
+ "scale-x", 0.4, "scale-y", 0.4,
+ "fixed::scale-gravity", CLUTTER_GRAVITY_CENTER,
+ NULL);
}
+
clutter_actor_animate (board->level, CLUTTER_EASE_IN_QUAD, 700,
"scale-x", 0.4, "scale-y", 0.4,
"fixed::scale-gravity", CLUTTER_GRAVITY_CENTER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]