Richard Davey
b4a06e1e27
Preparing for Beta 7
2022-05-06 17:24:44 +01:00
Richard Davey
61545eb7e4
The SceneManager.moveAbove
and moveBelow
methods didn't check the order of the Scenes being moved, so moved them even if one was already above / below the other. Both methods now check the indexes first. Fix #6040
2022-05-06 17:00:59 +01:00
Richard Davey
c56c029c7c
Updated jsdocs. Fix #6045
2022-05-06 16:38:19 +01:00
Richard Davey
e100fd76fa
Fixed issue in Utils.Objects.GetValue
where it would return an incorrect result if a source
and altSource
were provided that didn't match in structure. Fix #5952
2022-05-06 16:27:00 +01:00
Richard Davey
d7074c4e0a
Fixed jsdocs
2022-05-06 15:36:53 +01:00
Richard Davey
f8267e4ff8
ContainerCanvasRenderer
would pass in a 5th container
parameter to the child renderCanvas
call, which was breaking the GraphicsCanvasRenderer
and isn't needed by any Game Object, so has been removed. Fix #6093
2022-05-06 15:36:48 +01:00
Richard Davey
3d0ff83c51
Updated jsdocs.
2022-05-06 15:27:37 +01:00
Richard Davey
4155daeaf6
Added jsdocs. Fix #6092
2022-05-06 15:16:41 +01:00
Richard Davey
6d9aceb727
The Key.reset
method no longer resets the Key.enabled
or Key.preventDefault
booleans back to true
again, but only resets the state of the Key. Fix #6098
2022-05-06 15:12:27 +01:00
Richard Davey
ed152b92d5
WebGLSnapshot
and CanvasSnapshot
will now Math.floor the width/height values to ensure no sub-pixel dimensions, which corrupts the resulting texture. Fix #6099
2022-05-06 14:45:36 +01:00
samme
df9f4a63b1
Add Phaser.Math.Vector2#project()
2022-05-03 11:05:55 -07:00
Martin Vana
28b801840c
FIX: ImageFile addCache pending destruction status
2022-04-28 18:46:10 +02:00
Richard Davey
27ebe928b5
Update RenderTexture.js
2022-04-27 22:37:15 +01:00
Martín Capello
e668dccc8b
Fix frame durations when creating animations with createFromAseprite function
2022-04-27 17:07:02 -03:00
Richard Davey
9310f8a5a7
Beta 6
2022-04-27 15:02:04 +01:00
Richard Davey
ff093571e8
Fix #6080
2022-04-26 11:42:17 +01:00
Rex
42a127832a
Fix lint error
2022-04-25 15:59:31 +08:00
stu
c0e63d6a3a
Allow input debug hit area colour to be adjusted after enabling.
2022-04-21 19:03:27 +01:00
Adam Azmil
902b916dd1
Fixes getTop for creating MatterTileBody for isometric tiles
2022-04-19 16:43:28 +08:00
Richard Davey
54c9b653ef
Merge pull request #6031 from arosemena/master
...
Fixed the type definition of SceneUpdateCallback
2022-04-14 16:20:30 +01:00
Richard Davey
1057a18913
Merge pull request #6066 from TJ09/master
...
Fix kerning for BitmapText on Canvas renderer
2022-04-14 16:08:10 +01:00
Richard Davey
d53d8f3ea5
Merge pull request #6002 from rexrainbow/pack-loader-dotnotation-datakey
...
Can use dot notation as datakey
2022-04-14 15:49:36 +01:00
Richard Davey
cceb70a937
Merge pull request #6039 from rexrainbow/layer-destroy
...
Destroy game objects safely in layer.destroy()
2022-04-14 15:42:46 +01:00
Richard Davey
f70296382e
Merge pull request #6044 from samme/patch-11
...
Docs: correct Rectangle#setSize() description
2022-04-14 15:41:22 +01:00
Richard Davey
da9296eae7
Merge pull request #6038 from samme/patch-10
...
Docs: correct args in ParticleEmitter#explode()
2022-04-14 15:40:20 +01:00
Richard Davey
4b752aad2e
Merge pull request #6061 from samme/misc/opt-particle-moveTo
...
Simplify the particle moveTo calculations
2022-04-14 15:39:28 +01:00
Richard Davey
fb6f9d370b
Merge pull request #6060 from samme/feature/particle-moveTo-zero
...
Allow moving particles to (0, 0)
2022-04-14 15:37:55 +01:00
Richard Davey
c49674dff8
Updated docs
2022-04-14 15:35:33 +01:00
Richard Davey
1aa58849f3
Merge pull request #6058 from samme/patch-12
...
Docs: correct generateFrameNames() example
2022-04-14 15:34:13 +01:00
Richard Davey
1174993e1d
Merge pull request #6062 from samme/docs/tilemaps-classType
...
Docs: add CreateFromObjectsClassTypeConstructor
2022-04-14 15:33:48 +01:00
Richard Davey
329bc0ac95
Merge pull request #6070 from lukashass/fix-disable-context-menu-target
...
Disable context menu on input target instead of document.body
2022-04-14 15:29:01 +01:00
samme
0b6d26b114
Docs: clarify ParticleEmitter#moveTo
...
#6046
2022-04-08 09:55:42 -07:00
Krzysztof Głogocki
726c874c10
Merge remote-tracking branch 'origin/master' into bugfix/cordova-webaudio-fix
2022-04-07 14:08:05 +02:00
Lukas Hass
b7a4b77a6a
Disable context menu on input target instead of document.body
...
Fixes #6064
2022-04-02 23:57:15 +02:00
T.J. L
5e5436c44b
Fix copy-paste error in StarRender.
2022-04-02 01:51:12 -07:00
T.J. L
ff4ef2872b
Don't overwrite the return values from require()
2022-04-02 01:49:19 -07:00
T.J. L
1551d1b270
Fix kerning for BitmapText on Canvas renderer
2022-04-02 01:33:04 -07:00
samme
7f37d52ba9
Docs: add CreateFromObjectsClassTypeConstructor
2022-03-30 11:05:27 -07:00
samme
d083179cbb
Allow moving particles to (0, 0)
...
moveToX and moveToY are initialized to null instead of 0
2022-03-29 18:20:26 -07:00
samme
dfa6e8646a
Docs: correct generateFrameNames() example
...
Fixes #6054
2022-03-29 17:38:37 -07:00
samme
8b70cf643d
Simplify the moveTo calculation
2022-03-25 11:24:59 -07:00
samme
e12ccfe8a0
Docs: correct Rectangle#setSize() description
...
Re. #5744 etc.
2022-03-17 11:38:44 -07:00
Rex
24cbfa22bb
Add parameter description
2022-03-12 09:48:48 +08:00
Rex
2d1d64047c
Destroy game objects safely
2022-03-12 09:43:33 +08:00
samme
0e22b0ecd6
Docs: correct args in ParticleEmitter#explode()
...
All arguments are optional
2022-03-11 14:00:05 -08:00
Roberto Arosemena
87c44cbad7
Added time parameters to SceneUpdateCallback typedef file
2022-03-04 10:45:26 -06:00
Richard Davey
82951cbc3f
Merge pull request #6028 from samme/feature/scene-start-changes
...
Improve the scene start logic
2022-03-04 16:34:22 +00:00
Richard Davey
59fbcc5ca3
Updated copyright year
2022-02-28 14:29:51 +00:00
Richard Davey
7aa7187a0f
Merge pull request #5870 from samme/docs/class-types
...
Add GroupClassTypeConstructor and ParticleClassConstructor types
2022-02-28 13:53:39 +00:00
Richard Davey
42f23045b2
Merge pull request #5953 from schontz/master
...
destroy game objects during shutdown safely #5520
2022-02-28 13:46:31 +00:00
Richard Davey
bb13fb8e1c
Merge pull request #6023 from spayton/pub-master
...
Container game object should supply container reference to child rend…
2022-02-28 13:43:38 +00:00
Richard Davey
14c018f862
Merge pull request #6012 from arbassic/fix-bitmaptext-kerning
...
Fix kerning in BitmapText rendering
2022-02-28 13:41:33 +00:00
Richard Davey
cee43151aa
Merge pull request #5997 from samme/fix/shutdown-loading-scene
...
Remove the load complete handlers when stopping a scene
2022-02-28 13:36:33 +00:00
Richard Davey
31de3bda5f
Merge pull request #6021 from rexrainbow/video-spritefx
...
Can add spriteFx pipeline to Video game object
2022-02-28 13:27:40 +00:00
stu
85396d13ab
Container game object should supply container reference to child rendering
2022-02-25 17:56:50 +00:00
Rex
7bc14a9f12
Remove space
2022-02-24 13:03:54 +08:00
Rex
65f9228973
Can add spriteFx pipeline to Video game object
2022-02-24 13:01:30 +08:00
Andy Mikulski
b3c4616550
RenderTexture: Use 255-based RGB values when filling a Canvas
2022-02-22 18:33:09 -07:00
samme
683fc8cf06
Scene start changes
...
- Scenes starting, loading, or creating are not started
- Scenes sleeping are shutdown and then started
2022-02-22 17:29:05 -08:00
Richard Davey
58f09aa006
Update Tile.js
2022-02-22 13:51:03 +00:00
Richard Davey
cc7381e3c7
Merge pull request #5995 from samme/fix/load-script-invalid-type
...
Fix missing script type
2022-02-21 18:45:42 +00:00
Richard Davey
6edbd9df22
Update RenderTexture.js
2022-02-21 18:42:54 +00:00
Richard Davey
6a6590d0dd
Merge pull request #6000 from sjb933/hotfix-rendertexture-blend
...
Fixed WebGL blending that was broken in 3.50. Fix #5565 , fix #5996
2022-02-21 18:41:40 +00:00
arbassic
38f23baaf7
Fix kerning for BitmapText
...
There was a bug in the GetBitmapTextSize function, causing that kerning was not applied at all to BitmapTexts.
The fix sets 'x' of the character with calculated 'x' local variable (instead of general xAdvance.
Also xAdvance is modified with kerningOffset to provide consistency between proceeding characters
2022-02-15 19:03:13 +01:00
Krzysztof Głogocki
897d2444f5
Fixing WebAudio for Cordova by introducing localScheme configuration
2022-02-15 12:07:48 +01:00
Rex
14c1bd0d13
Can use dot notation as datakey
2022-02-12 17:25:36 +08:00
Shane Bammel
1c4c11b527
Fixed WebGL blending that was broken in 3.50. Fix #5565 , fix #5996
2022-02-11 16:34:43 -06:00
samme
fb7ea70610
Fix missing script type
...
Fixes #5994
2022-02-07 11:27:48 -08:00
samme
905167a5f0
Clarify the invalid file key/type errors
2022-02-07 11:27:14 -08:00
samme
0679f1aa64
Remove the load complete handlers when stopping a scene
2022-02-06 11:41:18 -08:00
Richard Davey
8087d3b495
Preparing for Beta 5
2022-02-04 17:42:30 +00:00
Richard Davey
4f0232e8c8
Restored the 3.55.2 sound system + fixes for iOS
2022-02-04 16:59:13 +00:00
Richard Davey
af07ed11cf
Extract flagCoincidentParts function
2022-02-04 14:49:51 +00:00
Richard Davey
50e3202a87
Set the decomp library
2022-02-04 14:49:27 +00:00
Richard Davey
749c9a8af3
Removed un-used modules and properties
2022-02-04 14:22:01 +00:00
Richard Davey
c8d3a20754
Updated Multi Pipeline shader so it no longer smacks Safari's arse.
2022-02-03 23:12:15 +00:00
Richard Davey
3546140b51
Merge branch 'master' of https://github.com/photonstorm/phaser
2022-02-03 21:50:54 +00:00
Richard Davey
c1b36610fb
Update TileSprite.js
2022-02-03 21:50:52 +00:00
Richard Davey
78417b3033
Upgraded Matter Physics to the v0.18 release
2022-02-03 18:44:17 +00:00
Richard Davey
2b4f9791fd
Remove console log
2022-02-03 16:47:52 +00:00
Richard Davey
8e82489a13
Merge pull request #5949 from jcyuan/iOS10fix
...
fix iOS10 webkitAudioContext failed to initialize
2022-02-03 16:46:46 +00:00
Richard Davey
a4308cfa3a
Skips Canvas drawImage calls if invalid frame sizes given. Fix #5951
2022-02-03 16:44:24 +00:00
Richard Davey
b69889fbc2
Can at least use the body reference to save some space #5948
2022-02-03 16:23:40 +00:00
Richard Davey
0603c3bf0f
Merge pull request #5948 from jcyuan/ie9fix
...
Ie9fix
2022-02-03 16:21:29 +00:00
Richard Davey
b9bf8ddb28
Merge pull request #5985 from andymikulski/snapshots-support-custom-gl-contexts
...
Bugfix: WebGLSnapshot: Support custom rendering contexts
2022-02-03 16:15:08 +00:00
Richard Davey
124daba3f5
Lint fix for #5984
2022-02-03 16:09:30 +00:00
Richard Davey
7e5ace5026
Merge pull request #5984 from optimumsuave/bugfix-closepath-polygon-canvas-renderer
...
Bugfix: PolygonCanvasRenderer: check for closePath when rendering Polygon with Phaser.CANVAS
2022-02-03 16:07:39 +00:00
Richard Davey
23193131f8
Merge pull request #5968 from vforsh/point-to-container-fix
...
Fix `pointToContainer` issue with `output` parameter
2022-02-03 16:03:21 +00:00
Richard Davey
0100586e52
Fixed jsdocs for #5958
2022-02-03 16:02:08 +00:00
Richard Davey
d193a82376
Merge pull request #5958 from rexrainbow/mesh-tint
...
Add setTint() method in Mesh GameObject
2022-02-03 15:58:23 +00:00
Richard Davey
e3ff03ff75
Merge pull request #5956 from samme/fix/physics-separate-intersects
...
Revert "Skip intersects check by argument"
2022-02-03 15:57:03 +00:00
Richard Davey
f406dd25d3
Merge pull request #5957 from samme/docs/TileSpriteConfig-frame
...
Docs: correct type for TileSpriteConfig.frame
2022-02-03 15:55:41 +00:00
Richard Davey
13fc2ca4c4
Merge pull request #5965 from PhaserEditor2D/patch-2
...
Tag as optional the `anims.chain()` argument.
2022-02-03 15:54:38 +00:00
Richard Davey
fb90923fb2
Merge pull request #5966 from PhaserEditor2D/patch-3
...
Tag as optional the `Sprite.chain(key)` argument.
2022-02-03 15:54:23 +00:00
Richard Davey
eee004485f
Merge pull request #5980 from ksritharan/master
...
Fix to SafeRange to allow more valid ranges
2022-02-03 15:38:38 +00:00
Adam Templeton
1ead3ecd7d
tween reset fix
2022-01-28 12:18:22 -06:00
Connor Nielsen
5823cd70df
fix formatting in PolygonCanvasRenderer
2022-01-26 14:26:02 -08:00
Connor Nielsen
9119b776c8
check for closePath in PolygonCanvasRenderer
2022-01-26 14:06:33 -08:00
Andy Mikulski
6108414b75
WebGLSnapshot: Support custom rendering contexts
2022-01-26 15:02:59 -07:00
ksritharan
11c8216cb6
Fix to SafeRange to allow more valid ranges
...
The expression startIndex + endIndex > len is not needed.
The fix will allow the following ranges to be valid:
- n to Array.length, n = {1, 2, ..., Array.length-1}
- n to m, n = {1, 2, ..., Array.length - 1}, m = {n+1, ..., Array.length}
2022-01-24 13:17:24 -05:00