Commit graph

9811 commits

Author SHA1 Message Date
Richard Davey
40818ba57b
Merge pull request #3349 from migiyubi/make-scene-restartable
Make scene restartable
2018-03-09 15:41:03 +00:00
Richard Davey
278deda6e2
Merge pull request #3344 from samme/fix/util-string-format
Fix Phaser.Utils.String.Format
2018-03-09 15:39:27 +00:00
Richard Davey
db3112de31 The SceneManager.render will now render a Scene as long as it's in a LOADING state or higher. Before it would only render RUNNING scenes, but this precluded those that were loading assets. 2018-03-09 15:33:07 +00:00
Tom Catshoek
5c64404608 Fixed style issues 2018-03-09 15:31:07 +01:00
Tom Catshoek
74b18921e8 Added rotation, scaling and flipping to TileSpriteCanvasRenderer 2018-03-09 15:16:34 +01:00
Tom Catshoek
57d82d9a28 Fixed object based atlas loading 2018-03-09 15:05:01 +01:00
migiyubi
174c982966 Fix TimerEvent.remove behaves opposite to what we expect 2018-03-09 19:47:45 +09:00
Hua
4719589382 Add reference of BuildGameObject, BuildGameObjectAnimation 2018-03-09 15:13:42 +08:00
brandonvdongen
143d598780
fixed lint issue 2018-03-09 07:26:09 +01:00
Hua
cf8d4703b3 Add reference of GameObject class 2018-03-09 12:31:37 +08:00
brandonvdongen
08a02c4675 fixed camera offset when combining zoom+follow 2018-03-09 00:07:42 +01:00
Samid\Sami
6283209976 username corrected. 2018-03-08 13:56:57 +01:00
migiyubi
decbe18705 Make scene restartable 2018-03-08 20:27:22 +09:00
Samid\Sami
f5e471dad7 removed trailing space for JSHint validation. 2018-03-08 11:46:01 +01:00
Samid\Sami
84481da4d1 * Fix #3345 by adding beginPath and closePath when done drawing in postUpdate. 2018-03-08 11:16:04 +01:00
samme
b625cc1ff6 Remove extra assignment 2018-03-07 16:59:41 -08:00
samme
cad8a5ce64 Fix Phaser.Utils.String.Format
Replacements were lost.
2018-03-07 12:13:53 -08:00
Felipe Alfonso
9a21b4c7f4 Fixed issue with render texture tint 2018-03-06 15:56:33 -03:00
Richard Davey
0a9633cbd6 Preparing for 3.2.1. 2018-03-06 01:54:20 +00:00
iamchristopher
1d402a732e Fixed Group doesn't remove children from Scene when cleared 2018-03-05 19:04:01 -05:00
Richard Davey
15def0fae7 3.2.0 dist files 2018-03-05 22:27:11 +00:00
Richard Davey
d1d8d4c4a2 Updated readme and change log 2018-03-05 22:26:12 +00:00
Richard Davey
a712dea197 eslint fix 2018-03-05 22:25:55 +00:00
Richard Davey
4b03aac7c3 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 22:17:07 +00:00
Richard Davey
159147f99a Updated change log 2018-03-05 22:17:03 +00:00
Richard Davey
acf88f5aa5
Merge pull request #3313 from samme/feature/playCatchPromise
Warn if HTML5AudioSound#audio fails to play
2018-03-05 21:58:16 +00:00
Richard Davey
9ad7aeef1d
Merge pull request #3304 from rexrainbow/master
Add destroy event of gameobject
2018-03-05 21:56:07 +00:00
Richard Davey
c2f25b3742
Merge pull request #3240 from Twilrom/arc-fix
Update WebGL Graphics.arc to work more like on Canvas
2018-03-05 21:54:46 +00:00
Richard Davey
dd116f76c1 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 21:53:29 +00:00
Richard Davey
47736e71e7 Updated change log 2018-03-05 21:53:27 +00:00
Richard Davey
6e92ff6b51
Merge pull request #3331 from rblopes/pass-game-instance-in-boot-callback-arguments
Pass game instance as boot callback arguments
2018-03-05 21:51:45 +00:00
Richard Davey
bfabe35cdf eslint fixes 2018-03-05 21:49:08 +00:00
Richard Davey
f94ad4bbc6 InputPlugin.update now takes the totals from the drag and pointerup events into consideration when deciding to fall through to the Scene below. Fix #3333 2018-03-05 21:49:00 +00:00
Felipe Alfonso
ddc85cfdc7 Added support for tint and alpha to RenderTexture 2018-03-05 16:57:41 -03:00
Richard Davey
0538134a04 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 16:59:03 +00:00
Richard Davey
1e6bfe660f Removed accidental overwrite of the object key #3185 2018-03-05 16:58:59 +00:00
Rafael Barbosa Lopes
61fbbdacd9 Removed a few blank lines along the way. 2018-03-05 13:15:16 -03:00
Rafael Barbosa Lopes
20e3825e1f Pass game instance as boot callback arguments.
It may be useful to run some operations while the game is booting.
However, if a living instance of the game is necessary during this
process, only way possible is using a global variable at the moment.

This commit aims to amend that so whenever needed the game instance
reference is passed down and can be used inside the {pre,post}Boot
callbacks.
2018-03-05 13:09:12 -03:00
Felipe Alfonso
6e82760c99 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 12:32:29 -03:00
Felipe Alfonso
c1d482b593 Added jsdoc comments to new methods and properties on WebGLPipeline and WebGLRenderer 2018-03-05 12:28:59 -03:00
Richard Davey
432a03ed7e Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 14:53:02 +00:00
Richard Davey
387e5602e2 Updated change log 2018-03-05 14:52:51 +00:00
Richard Davey
6128b27402
Merge pull request #3329 from sftsk/master
Quick fix for missing lineSpacing
2018-03-05 14:51:16 +00:00
Richard Davey
5168300463 The SceneManager now employs a new queue for all pending Scenes, creating them and booting them in strict sequence. This should prevent errors where Scenes were unable to reference other Scenes further down the boot list in their create functions. Fix #3314 2018-03-05 14:48:30 +00:00
Richard Davey
e8fe6bc4b3 Change log update 2018-03-05 14:48:09 +00:00
Lukas Jakob Hafner
97bfe2e752
Quick fix for missing lineSpacing
Reads lineSpacing if passed as attribute to `style` within text config.
2018-03-05 16:35:42 +02:00
Felipe Alfonso
38dc3bbd82 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 11:29:56 -03:00
Felipe Alfonso
98893e1bba Modified WebGLPipeline and it's child classes to make them easier to generate custom Pipelines. Added functions to WebGLPipeline to modify uniforms. Exposed Renderer namespace for usage outside the engine 2018-03-05 11:29:48 -03:00
Richard Davey
8d85a9bc72 Added jsdocs 2018-03-05 14:19:53 +00:00
Richard Davey
7c16368d3e SceneManager uses new internal boot queue. 2018-03-05 14:11:42 +00:00