Commit graph

9786 commits

Author SHA1 Message Date
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
Richard Davey
e5b04f36e0 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 02:24:57 +00:00
Richard Davey
8adecaa38e Updated change log 2018-03-05 02:24:54 +00:00
Richard Davey
4c59d9a35d Added jsdocs 2018-03-05 02:24:47 +00:00
Richard Davey
90e1ef7f95
Merge pull request #3315 from vpmedia/master
Add travis.yml
2018-03-05 01:46:28 +00:00
Richard Davey
4d16b0c00a eslint fixes 2018-03-05 01:45:28 +00:00
Richard Davey
ef3df149c6 Fixed RenderTexture flipY 2018-03-05 01:42:37 +00:00
Richard Davey
4f99228d60 Removed un-used var 2018-03-05 01:42:23 +00:00
Richard Davey
ae1c91cf6a eslint fixes 2018-03-05 01:40:11 +00:00
Richard Davey
375db253f2 Quadratic Curve updates
* Quadratic Bezier Interpolation has been added to the Math.Interpolation functions
* A new Quadratic Bezier Curve class has been added, expanding the available Curve types
* Path.quadraticBezierTo allows you to add a Quadratic Bezier Curve into your Path.
2018-03-05 01:15:18 +00:00
Richard Davey
0653846b3f Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 00:21:07 +00:00
Richard Davey
8cd37afb70 Updated change log 2018-03-05 00:21:00 +00:00
Richard Davey
af8f8739ba
Merge pull request #3307 from RiCoTeRoX/curves-quadratic
Add quadraticBezier to API
2018-03-05 00:20:43 +00:00
Richard Davey
7d777f36e5
Merge pull request #3301 from migiyubi/fix-rnd
Fix RandomDataGenerator's randomness
2018-03-05 00:15:53 +00:00
Richard Davey
fc51449e00
Merge pull request #3303 from jblang94/revise-readme
Fix and improve README's clarity
2018-03-05 00:12:56 +00:00
vpmedia
e7118de78d Add travis.yml 2018-03-04 10:31:26 +01:00