Skip to content

Commit 44d9f08

Browse files
committed
Merge branch 'dev' into multitexture-gl
2 parents e73837a + 8c99f97 commit 44d9f08

15 files changed

Lines changed: 2914 additions & 427 deletions

File tree

build/config.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
113113
<script src="$path/src/geom/Circle.js"></script>
114114
<script src="$path/src/geom/Ellipse.js"></script>
115+
<script src="$path/src/geom/Hermite.js"></script>
115116
<script src="$path/src/geom/Line.js"></script>
116117
<script src="$path/src/geom/Matrix.js"></script>
117118
<script src="$path/src/geom/Point.js"></script>
@@ -134,7 +135,6 @@
134135
<script src="$path/src/core/FlexGrid.js"></script>
135136
<script src="$path/src/core/FlexLayer.js"></script>
136137
<script src="$path/src/core/ScaleManager.js"></script>
137-
<script src="$path/src/core/MainLoop.js"></script>
138138
<script src="$path/src/core/Game.js"></script>
139139
140140
<script src="$path/src/input/Input.js"></script>
@@ -204,6 +204,12 @@
204204
<script src="$path/src/plugins/weapon/WeaponPlugin.js"></script>
205205
<script src="$path/src/plugins/weapon/Bullet.js"></script>
206206
207+
<script src="$path/src/plugins/path/PathManagerPlugin.js"></script>
208+
<script src="$path/src/plugins/path/Path.js"></script>
209+
<script src="$path/src/plugins/path/PathFollower.js"></script>
210+
<script src="$path/src/plugins/path/PathPoint.js"></script>
211+
<script src="$path/src/plugins/path/EventTarget.js"></script>
212+
207213
EOL;
208214

209215
if ($modules['rope'])

src/core/Game.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,11 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
144144
*/
145145
this.isRunning = false;
146146

147-
/**
148-
* @property {Phaser.MainLoop} mainloop - Automatically handles the core game loop via requestAnimationFrame or setTimeout.
149-
* @protected
150-
*/
151-
this.mainloop = null;
152-
153147
/**
154148
* @property {Phaser.RequestAnimationFrame} raf - Automatically handles the core game loop via requestAnimationFrame or setTimeout
155149
* @protected
156150
*/
157-
// this.raf = null;
151+
this.raf = null;
158152

159153
/**
160154
* @property {Phaser.GameObjectFactory} add - Reference to the Phaser.GameObjectFactory.
@@ -589,7 +583,6 @@ Phaser.Game.prototype = {
589583

590584
this.isRunning = true;
591585

592-
/*
593586
if (this.config && this.config['forceSetTimeOut'])
594587
{
595588
this.raf = new Phaser.RequestAnimationFrame(this, this.config['forceSetTimeOut']);
@@ -600,7 +593,6 @@ Phaser.Game.prototype = {
600593
}
601594

602595
this._kickstart = true;
603-
*/
604596

605597
if (window['focus'])
606598
{
@@ -610,11 +602,7 @@ Phaser.Game.prototype = {
610602
}
611603
}
612604

613-
this.mainloop = new Phaser.MainLoop(this);
614-
615-
this.mainloop.start();
616-
617-
// this.raf.start();
605+
this.raf.start();
618606

619607
},
620608

0 commit comments

Comments
 (0)