Commit graph

9551 commits

Author SHA1 Message Date
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
Richard Davey
23285896c0 The HTML5 Sound Manager would unlock the Sound API on a touch event but only if the audio files were loaded in the first Scene, if they were loaded in a subsequent Scene the audio system would never unlock. It now unlocks only if there are audio files in the cache. Fix #3311 2018-03-05 13:39:08 +00:00
Richard Davey
42d2cfdbf4 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 12:43:56 +00:00
Richard Davey
f500e827c7 Updated change log 2018-03-05 12:43:50 +00:00
Richard Davey
af212a1837
Merge pull request #3279 from squaresun/master
Fix KeyboardManager keydown events keeps firing
2018-03-05 12:21:39 +00:00
Richard Davey
c74ad8dee2
Merge pull request #3292 from CodeAndWeb/master
Support MultiAtlas with TexturePackers "Phaser 3" atlas format
2018-03-05 12:17:24 +00:00
Richard Davey
19eb931e0e
Merge pull request #3327 from patrickgalbraith/patch-1
Fix for collideGroupVsSelf is undefined
2018-03-05 12:12:27 +00:00
Richard Davey
a389cea947
Merge pull request #3325 from samme/issue/3323
Fix property name conflict in Phaser.Math.RandomDataGenerator#sign
2018-03-05 12:09:40 +00:00
Patrick Galbraith
8eb82e4fcb
Fix for collideGroupVsSelf is undefined
This happens when you call collide with a single group as the first param.

Seems like the `collideGroupVsSelf` function was not implemented. I've changed it to just call the `collideGroupVsGroup` with the first object twice which worked when I tested it on my project.
2018-03-05 21:15:38 +10:30
samme
9234fd1d4f Fix property name conflict in Phaser.Math.RandomDataGenerator#sign
Fixes #3323
2018-03-04 22:09:29 -08:00
Richard Davey
9379714c57 Updated log 2018-03-05 02:39:33 +00:00