File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,11 @@ var MoonWarriorsSysMenu = cc.Layer.extend({
7272 return bRet ;
7373 } ,
7474 onNewGame :function ( pSender ) {
75- var scene = cc . Scene . create ( ) ;
75+ // var scene = cc.Scene.create();
7676 //scene.addChild(GameLayer.create());
7777 //scene.addChild(GameControlMenu.create());
7878 //cc.Director.getInstance().replaceScene(cc.TransitionFade.create(1.2, scene));
79+ cc . AudioEngine . getInstance ( ) . stopBackgroundMusic ( false ) ;
7980 } ,
8081 onSettings :function ( pSender ) {
8182 this . onButtonEffect ( ) ;
Original file line number Diff line number Diff line change @@ -31,10 +31,7 @@ var ppt2 = ppt.extend({
3131 this . _timeLine . addBullet ( ) ;
3232
3333 } ,
34- onExit :function ( ) {
35- this . _super ( ) ;
36- cc . AudioEngine . getInstance ( ) . stopBackgroundMusic ( false ) ;
37- } ,
34+
3835
3936 addBullet :function ( ) {
4037 if ( this . _timeLine . addBullet ( ) == false ) {
Original file line number Diff line number Diff line change @@ -23,12 +23,14 @@ var pptHappy61 = ppt.extend({
2323
2424 } ,
2525
26- onTouchBegan :function ( touch , e ) {
27- cc . log ( "touch began" ) ;
28- this . addBullet ( ) ;
26+ onExit :function ( ) {
27+ this . _super ( ) ;
28+ cc . AudioEngine . getInstance ( ) . stopBackgroundMusic ( false ) ;
2929 }
3030
3131
32+
33+
3234} ) ;
3335
3436pptHappy61 . scene = function ( ) {
Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ var pptList = [
5252 }
5353 } ,
5454
55- {
55+ /* {
5656 title:"Closure Compiler",
5757 pptScene:function () {
5858 return ppt9.scene();
5959 }
60- } ,
60+ },*/
6161
6262 {
6363 title :"Performance Test" ,
You can’t perform that action at this time.
0 commit comments