Commit graph

9079 commits

Author SHA1 Message Date
Richard Davey
3a1a9ea700 If you set transparent in the Game Config but didn't provide a backgroundColor then it would render as black. It will now be properly transparent. If you do provide a color value then it must include an alpha component. 2018-02-28 21:15:18 +00:00
Richard Davey
a89be7abc5 Tween.complete will allow you to flag a tween as being complete, no matter what stage it is at. If an onComplete callback has been defined it will be invoked. You can set an optional delay before this happens (thanks @Jerenaux for the idea)
Fix #3280
2018-02-28 21:14:56 +00:00
Felipe Alfonso
14399d6910 TileSprite can now set frame of the pattern texture 2018-02-28 17:04:57 -03:00
Felipe Alfonso
4a103f91ad Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-28 15:08:35 -03:00
Felipe Alfonso
6a114fc07a Added roundPixels to the texture pipeline 2018-02-28 15:08:08 -03:00
Richard Davey
31f331de98 Added CameraManager.resize method. 2018-02-28 17:19:10 +00:00
Richard Davey
e6059f65cd SceneManager invokes resize method on all Systems. 2018-02-28 17:18:55 +00:00
Richard Davey
e44ce76214 Scene.Systems resize handler added. 2018-02-28 17:18:40 +00:00
Richard Davey
cf01056913 Game.resize now resizes the SceneManager and emits an event. 2018-02-28 17:18:25 +00:00
Richard Davey
c9d3c1a279 Added missing autoResize property to Game.Config 2018-02-28 17:17:37 +00:00
Richard Davey
cc3a6964dd Updated change log 2018-02-28 14:36:26 +00:00
Richard Davey
550e53b81b Fixed InputManager.updateBounds so it factors in the document element position.
Also added `InputManager.resize` method, as the scale wouldn't ever be updated in the update loop if no interactive objects exist.
2018-02-28 14:27:28 +00:00
Richard Davey
d4d2b21d6c Added Game.resize to help with resizing the game config, renderer and input in one 2018-02-28 14:26:24 +00:00
Richard Davey
0144badd94 Added roundPixels boolean to config 2018-02-28 14:26:02 +00:00
Richard Davey
8ae3493296 setText updates
BitmapText.setText will check if the value given is falsey but not a zero and set to an empty string if so.
BitmapText.setText will now cast the given value to a string before setting.
BitmapText.setText will not change the text via `setText` unless the new text is different to the old one.
2018-02-27 15:14:03 +00:00
Richard Davey
b447665533 Text.setText will check if the value given is falsey but not a zero and set to an empty string if so. 2018-02-27 15:13:39 +00:00
Richard Davey
6b77ca6ae5 Updated change log 2018-02-27 01:09:17 +00:00
Richard Davey
34e5a282d2 AnimationComponent.play now calls setSizeToFrame() and updateDisplayOrigin() on the parent Game Object in order to catch situations where you've started playing an animation on a Game Object that uses a different size to the previously set frame. 2018-02-27 01:09:09 +00:00
Richard Davey
921d7e317a Arcade Physics Bodies didn't apply the results of allowRotation to the parent Game Object. 2018-02-27 01:08:55 +00:00
Felipe Alfonso
7c96e93c47 Canvas RenderTexture rendering added 2018-02-23 21:05:15 -03:00
Richard Davey
f6210905ae Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-23 17:48:05 +00:00
Richard Davey
13863eca30 Preparing for 3.2.0. 2018-02-23 17:48:00 +00:00
Richard Davey
650cfa7ad0 Ironic typo fix. 2018-02-23 17:47:50 +00:00
Felipe Alfonso
9dbb4db4c6 Added inverted alpha to bitmap mask 2018-02-23 14:09:27 -03:00
Pavle Goloskokovic
e0b85dd3f2 Updated forEachActiveSound method docs to make scope param optional 2018-02-23 15:27:40 +01:00
Richard Davey
b1b5c863f3 3.1.2 Release 2018-02-23 13:29:52 +00:00
Felipe Alfonso
c6ff83f023 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-23 00:47:44 -03:00
Felipe Alfonso
ef8e92dc01 RenderTexture base webgl implementation 2018-02-23 00:44:22 -03:00
Richard Davey
7b42abd601 Updated change log 2018-02-23 02:23:46 +00:00
Richard Davey
49959f1ab9
Merge pull request #3272 from AleBles/Phaser#3180
Phaser#3180
2018-02-22 23:59:03 +00:00
Richard Davey
4043fa2925
Merge branch 'master' into Phaser#3180 2018-02-22 23:58:38 +00:00
Richard Davey
6581f301c4
Merge pull request #3273 from samme/feature/load-data-uri-warning
Elevate console message for loading data URIs
2018-02-22 23:53:03 +00:00
Richard Davey
024767e1cd Updated change log 2018-02-22 23:50:45 +00:00
Felipe Alfonso
57333ea492 Fixed issue with null texture on particle emitter batch generation 2018-02-22 20:36:25 -03:00
samme
2b309c06e5 Elevate console message for loading data URIs 2018-02-22 09:28:02 -08:00
AleBles
fd4e6f8920 Updated changelog 2018-02-22 12:50:32 +01:00
AleBles
697d096221 Added data to ScenePlugin, fixes #3180 2018-02-22 12:34:19 +01:00
Felipe Alfonso
6293233488 Implemented static tilemap layer scale and tilemap alpha 2018-02-22 01:16:10 -03:00
Felipe Alfonso
a218cd5f4a Fixed issue with vertex buffer creation on Static Tilemap Layer 2018-02-22 01:07:43 -03:00
Richard Davey
11d77de4ab Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-22 01:59:41 +00:00
Richard Davey
b57ab091c1 The KeyCode FORWAD_SLASH had a typo and has been changed to FORWAD_SLASH. Fix #3271 (thanks @josedarioxyz) 2018-02-22 01:59:32 +00:00
Richard Davey
0fdeb64ad1
Merge pull request #3269 from samme/docs/load-spritesheet
Correct method name in LoaderPlugin#spritesheet
2018-02-22 01:56:43 +00:00
Richard Davey
997338c35b jsdoc fixes 2018-02-22 01:52:11 +00:00
Richard Davey
9b37a123e2 Updated version number and change log 2018-02-22 01:50:46 +00:00
Richard Davey
147dec11ab Tween.updateTweenData will now check to see if the Tween target still exists before trying to update its properties. 2018-02-22 01:50:36 +00:00
Richard Davey
7126f80615 Fixed jsdocs 2018-02-22 01:38:19 +00:00
Richard Davey
df341be520 Removed local properties that were overwritten by the getters / setters 2018-02-22 01:26:36 +00:00
Richard Davey
4b96ed4d6e jsdoc fixes 2018-02-22 01:17:54 +00:00
Richard Davey
26f0578261 jsdoc fixes 2018-02-22 01:07:30 +00:00
Richard Davey
fe5bd7e6bb Fixed jsdoc errors 2018-02-21 22:51:05 +00:00