Commit graph

9157 commits

Author SHA1 Message Date
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
danny
af3e47ce4b Fix on P0 vector 2018-03-02 20:16:11 -03:00
danny
db6039bf4f Add quadraticBezier to API 2018-03-02 17:42:12 -03:00
Richard Davey
95d85576c9 SceneManager.moveAbove and moveBelow added.
SceneManager.moveAbove will move a Scene to be directly above another Scene in the Scenes list. This is also exposed in the ScenePlugin.

SceneManager.moveBelow will move a Scene to be directly below another Scene in the Scenes list. This is also exposed in the ScenePlugin.
2018-03-02 18:25:44 +00:00
Richard Davey
7341d7a6cf Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-02 17:49:01 +00:00
Richard Davey
25bc70f690 Updated change log 2018-03-02 17:48:52 +00:00
Richard Davey
9a6e6265e8 The SceneManager no longer renders a Scene unless it is visible AND either running or paused. This now skips Scenes that are in an init state. 2018-03-02 17:48:45 +00:00
Richard Davey
a993251dea ScenePlugin.swapPosition now allows you to use it to swap the positions of any two Scenes. Before the change it only allowed you to swap the position of the calling Scene and another one, but a new optional keyB argument opens this up. 2018-03-02 17:47:01 +00:00
Richard Davey
4de9690f98 The setFrame method of the Texture component has been updated so that it will now automatically reset the width and height of a Game Object to match that of the new Frame. Related, it will also adjust the display origin values, because they are size based. If the Frame has a custom pivot it will set the origin to match the custom pivot instead. 2018-03-02 16:23:43 +00:00
Felipe Alfonso
865f0a604e Small fix on the MatrixStack rotation function 2018-03-02 11:29:04 -03:00
migiyubi
2f239de66a
Correct JSDoc 2018-03-02 19:35:01 +09:00
jblang94
69f5befeb2 Apply pull request feedback to README 2018-03-01 21:39:19 -08:00
Richard Davey
98930de3a8 The SceneManager has a new method: remove which allows you to remove and destroy a Scene, freeing up the Scene key for use by future scenes and potentially clearing the Scene from active memory for gc. 2018-03-02 03:50:55 +00:00
jblang94
0542a78766 Fix and improve README's clarity
- Address punctuation, grammar, and typo errors
- Improve the clarity of various sections
2018-03-01 10:31:11 -08:00
migiyubi
fc1181970b
Fix RandomDataGenerator's randomness 2018-03-01 19:57:16 +09:00
Richard Davey
1f8d0c80f9 Fixed array access 2018-03-01 04:13:30 +00:00
Richard Davey
695de5fbf4 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-01 02:50:16 +00:00
Richard Davey
19304c22d2 Updated change log 2018-03-01 02:50:12 +00:00
Richard Davey
d8eeb3b760
Merge pull request #3300 from pixelpicosean/master
Bug fix: arcade body does not align with scaled parent object
2018-03-01 02:48:45 +00:00
Richard Davey
acc4922027 Fixes to the InputPlugin re: drop zones and addition of setInteractive argument. 2018-03-01 02:46:17 +00:00
Sean Bohan
3f2e63fc17 Fix arcade body does not align with scaled parent object.
When a game object scaled, arcade body still calculate its position based on its original size instead of scaled one.
2018-03-01 09:02:04 +08:00
Richard Davey
ee42432c74 Texture.get has been optimized to fail first, then error, with a new falsey check. This allows you to skip out specifying animation frames in the animation config without generating a console warning. 2018-03-01 00:36:50 +00:00
Richard Davey
9a561ff385 Added roundPixels support to BitmapText canvas 2018-02-28 23:07:30 +00:00
Richard Davey
fdc1f3cab3 Added canvas roundPixels support for Text, Particles and TileSprites 2018-02-28 22:40:08 +00:00