Richard Davey
252a76f416
The Headless render mode has been implemented. You can now set HEADLESS as the renderType
in the Game Config and it will run a special game step that skips rendering. It will still create a Canvas element, as lots of internal systems (like input) rely on it, but it will not draw anything to it. Fix #3256
2018-02-28 21:57:32 +00:00
Richard Davey
a223b35ccf
Rectangle.top wouldn't reset the y
position if the value given never exceed the Rectangles bottom. Fix #3290 (thanks @chancezeus)
2018-02-28 21:25:55 +00:00
Richard Davey
70eca02ce6
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-28 21:15:22 +00:00
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
Richard Davey
1cae348300
Merge pull request #3278 from nkholski/arcadeGroups
...
Groups arcade collision
2018-02-28 20:56:11 +00:00
Richard Davey
de9cfb6ee2
Merge pull request #3234 from nkholski/master
...
load.plugin now accepts class as an argument besides an url-string
2018-02-28 20:50:32 +00:00
Richard Davey
218b4e4a52
Merge pull request #3285 from samme/docs/onWorldBounds
...
Describe Arcade.Body#onWorldBounds
2018-02-28 20:48:31 +00:00
Richard Davey
63e5681073
Merge pull request #3287 from gaudeon/master
...
BugFix for ScenePlugin.launch, data now passed to queued scenes
2018-02-28 20:47:51 +00:00
Richard Davey
d22fd80ef6
Merge pull request #3299 from srobertson421/scenemanager-queue-fix
...
swapped queue loop to use _queue prop rather than queueLength var
2018-02-28 20:45:15 +00:00
Richard Davey
7d04f36bc0
Merge pull request #3298 from melissaelopez/master
...
Fixed broken link to Code of Conduct from Issue #3297
2018-02-28 20:43:52 +00:00
Richard Davey
50cf694a1d
Merge pull request #3296 from Kitanga/patch-2
...
Update CONTRIBUTING.md
2018-02-28 20:43:10 +00:00
srobertson421
66e881c7eb
swapped queue loop to use _queue prop rather than queueLength var
2018-02-28 12:25:43 -08:00
Felipe Alfonso
14399d6910
TileSprite can now set frame of the pattern texture
2018-02-28 17:04:57 -03:00
Melissa Lopez
4758fc0247
Fixed broken link to Code of Conduct
2018-02-28 13:59:12 -05:00
Kitanga Nday
d1e212e1f7
Update CONTRIBUTING.md
2018-02-28 21:40:43 +03:00
Kitanga Nday
e1c3e6bab3
Update CONTRIBUTING.md
...
Fixed the Code of Conduct link on contribution page.
Removed "Pixi and Phaser" section, phaser uses its own internal renderer.
2018-02-28 21:35:08 +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
Joachim Grill
22ecd23f09
fixed multiatlas loader to support new TexturePacker atlas format introduced for Phaser 3
2018-02-27 14:48:45 +01:00
Travis Chase
ca0366bfc8
launching a scene that is not running will now pass data through when start op is called for this scene in the scene process queue
2018-02-26 22:04:58 -07: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
samme
36d91e9955
Describe Arcade.Body#onWorldBounds
2018-02-26 11:27:57 -08:00
dominic
af7d619dc3
Simplify global key down emit check
2018-02-25 21:16:05 +08:00
squaresun
9af8cdcea6
Fix key.repeats not increased when key holding down
2018-02-25 21:03:58 +08:00
squaresun
c5514bcab7
Fix KeyboardManager keydown events keeps firing #3239
2018-02-24 18:20:36 +08:00
Niklas Berg
b87d71ab73
single out groups without physics
2018-02-24 08:44:38 +01:00
Felipe Alfonso
7c96e93c47
Canvas RenderTexture rendering added
2018-02-23 21:05:15 -03:00
Niklas Berg
a50eaae727
Arcade groups collider
2018-02-24 00:04:12 +01:00
Niklas Berg
456faf400c
Arcade groups collider
2018-02-24 00:02:19 +01:00
Niklas Berg
b9e4d15efb
Groups arcade collisions
2018-02-23 23:49:12 +01:00
Niklas Berg
25aa3263ed
Merge remote-tracking branch 'upstream/master'
2018-02-23 23:45:11 +01: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