From 0124a455c8af110f9271e32ebeda148d5c30d009 Mon Sep 17 00:00:00 2001 From: niku Date: Sat, 7 Mar 2015 06:03:01 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B7=E3=83=BC=E3=83=B3=E9=81=B7=E7=A7=BB?= =?UTF-8?q?=E3=81=AB=E3=83=88=E3=83=A9=E3=83=B3=E3=82=B8=E3=82=B7=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=82=92=E8=BF=BD=E5=8A=A0=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main-scene.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main-scene.js b/src/main-scene.js index 8bb4255..baa768b 100644 --- a/src/main-scene.js +++ b/src/main-scene.js @@ -210,7 +210,8 @@ var MainSceneLayer = cc.Layer.extend({ res.replayButtonPressed, function() { var scene = new MainScene(); - cc.director.runScene(scene); + var transition = new cc.TransitionFade(0.5, scene); + cc.director.runScene(transition); }); // 「タイトルへ戻る」ボタン