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
Vladislav Forsh
7a636379f5
Fix pointToContainer
issue with output
parameter
...
provided `output` parameter was ignored when the container didn't have a parent container (was attached directly to the scene)
(cherry picked from commit 0d97dcc1f844f528f2361bfd800dec4885c5edc1)
2022-01-06 13:07:16 +03:00
Phaser Editor 2D
61ef57a399
Tag as optional the Sprite.chain(key)
argument.
...
The `chain()` method accepts no argument to reset the chain of animations.
2022-01-02 17:05:30 -05:00
Phaser Editor 2D
e0ec267efc
Tag as optional the anims.chain()
argument.
...
The `chain()` method accepts no argument to reset the chain of animations.
2022-01-02 16:59:59 -05:00
Rex
38e0323b01
Add setTint() method
2021-12-24 11:47:09 +08:00
samme
f81a047029
Docs: correct type for TileSpriteConfig.frame
...
Fixes #5955
2021-12-23 13:35:04 -08:00
samme
3ab43f56f6
Revert "Skip intersects check by argument"
...
This reverts commit d80e4f5824
.
2021-12-23 10:55:23 -08:00
David Schontzler
daa5e662e7
destroy game objects during shutdown safely #5520
2021-12-21 19:55:35 -08:00
Richard Davey
08bc828493
Removed duplicate docs line
2021-12-21 18:01:59 +00:00
Richard Davey
d51fa15cdf
Made docs include mention of post fx. #5942
2021-12-21 17:41:52 +00:00
Richard Davey
063e8c78ef
Including a render
object within the Game Config will no longer erase any top-level config render settings. The render
object will now take priority over the game config, but both will be used. Close #5935
2021-12-21 17:16:22 +00:00
Richard Davey
dcbfd7677e
The GetValue
function has a new optional parameter altSource
which allows you to provide an alternative object to source the value from.
2021-12-21 17:16:22 +00:00
J.C
214cdf6c1c
on iOS 10, the webkitAudioContext does not have a parameter, it will cause error if you pass one.
2021-12-21 17:26:29 +08:00
J.C
7da6f4d747
in canvas mode, don't draw stuff with no size, it will throws error, and actually unnecessary.
2021-12-21 17:18:35 +08:00
J.C
271ce6932a
polyfill for audio.dataset if it's missing on some browser.
2021-12-21 17:17:32 +08:00
J.C
57dee7c461
1, add missing polyfill for IE9,10
...
2, IE9, 10, function alias causes error and all audio can't work properly
2021-12-21 17:09:55 +08:00
Andy Mikulski
607bbe4ccd
TimeStep: Continue to use setTimeout after waking
2021-12-19 11:11:48 -07:00
Richard Davey
38fa339196
Merge branch 'master' of https://github.com/photonstorm/phaser
2021-12-15 22:26:20 +00:00
Richard Davey
ba132ab25c
Fixed JSDocs
2021-12-15 22:26:04 +00:00
Richard Davey
8a38f04ef2
You can now create Aseprite anims directly on a Sprite
2021-12-14 17:46:10 +00:00
Richard Davey
476ed38e33
Removed deprecated functions
2021-12-07 17:30:56 +00:00
Richard Davey
6b7a000975
Fix eslint
2021-12-07 17:30:56 +00:00
Richard Davey
c7ee6ff44d
Merge pull request #5937 from EmilSV/fix/move_scene_below
...
fix sceneManager moveBelow and moveAbove
2021-12-07 16:18:28 +00:00
Emil Schnedler Vad
92694ac5ee
fix sceneManager moveBelow and moveAbove
...
made the code account for that sceneA index decrement if SceneB is below it
2021-12-05 16:57:51 +01:00
samme
e9e72a3ea5
Remove GetBounds component from PointLight
2021-12-04 11:55:19 -08:00
samme
82d7861930
Fix the pause and sleep status checks
2021-12-01 14:38:15 -08:00
Richard Davey
31cbacbe20
Can only sleep a running scene
2021-12-01 21:24:03 +00:00
Richard Davey
e56391d8ed
Merge pull request #5918 from rexrainbow/shape-gameobject-mask
...
Allow Shape game object to be a mask
2021-12-01 18:36:04 +00:00
Richard Davey
982ab23aba
Update InputPlugin.js
2021-12-01 18:30:02 +00:00
Richard Davey
11ae9f1b35
Make use of the disable
method to avoid duplication of code
2021-12-01 18:10:04 +00:00
Richard Davey
a9538c0145
Updated function to use internal vars and fixed jsdoc. Also don't return if input false, as object may still be in arrays anyway #5839
2021-12-01 17:59:46 +00:00
Richard Davey
385800ec2f
Merge pull request #5839 from natureofcode/fix/issue-5828
...
Fix #5828 , improve GameObject#disableInteractive() and InputPlugin#disable()
2021-12-01 17:46:34 +00:00
Richard Davey
322a6131f8
Added clarifications to the documentation re: out handling. Close #5796
2021-12-01 17:41:46 +00:00
Richard Davey
7188040d7d
The GameObject.willRender
method will now factor in the parent displayList
, if it has one, to the end result. This fixes issues like that where an invisible Layer will still process input events. Fix #5883
2021-12-01 17:24:12 +00:00
Richard Davey
e1718f9fbe
The InputPlugin.sortGameObjects
will now assign a value of 0 to any game object not in the render list, but still viable for input, such as an invisible object with alwaysEnabled
set to true. This fixes an issue where non-render list objects would be skipped. Fix #5507
2021-12-01 17:03:01 +00:00
Richard Davey
91f72f7700
The InputManager.onTouchMove
method will now check if the changed touch is over the canvas, or not, via the DOM elementFromPoint
function. This means if the touch leaves the canvas, it will now trigger the GAME_OUT
and GAME_OVER
events, where-as before this would only happen for a Mouse. If the touch isn't over the canvas, no Pointer touch move happens, just like with the mouse. Fix #5592
2021-12-01 16:36:06 +00:00
Richard Davey
d36c8177b5
Update InputManager.js
2021-12-01 13:15:27 +00:00
Richard Davey
c0d2d1d35e
Removed over and out events as no browser supports them. Tidied up the rest. Added isTop property.
2021-11-30 22:38:26 +00:00
Richard Davey
1273145a6b
When the Pointer moves out of the canvas and is released it would trigger Uncaught TypeError: Cannot read properties of undefined (reading 'renderList')
if multiple children existed in the pointer-out array. Fix #5867
2021-11-30 20:29:16 +00:00
Richard Davey
0e364321e6
Update BitmapMask-frag.js
2021-11-23 18:24:14 +00:00
Richard Davey
6c459eb3d5
Update Multi-frag.js
2021-11-23 18:19:05 +00:00
Richard Davey
8699e97f94
The BitmapMask
shader has been recoded so it now works correctly if you mask a Game Object that has alpha set on it, or in its texture. Previously it would alpha the Game Object against black
2021-11-23 18:18:47 +00:00
Richard Davey
1af06910e2
Moved unlock handling to base, tidying up the common code
2021-11-22 23:54:12 +00:00
Richard Davey
a51267419d
Use cache reference, more concise error
2021-11-22 23:53:56 +00:00
Richard Davey
5456267b2a
Added pendingUnlock, tidied up the events, added unlock method
2021-11-22 23:53:44 +00:00
Richard Davey
3f237d6e1e
Tidying up this class. Better name, lock handling and onload
2021-11-22 23:53:20 +00:00
Richard Davey
2b6afda684
New unlock handler
2021-11-22 18:35:43 +00:00
Richard Davey
9705ea5b70
Debugging audio
2021-11-22 18:35:36 +00:00
Richard Davey
6c6084a4c5
Debugging logs
2021-11-22 16:59:30 +00:00
Richard Davey
5b39d22368
Mesh addVertices and addVerticesFromObj will now throw warnings if invalid verts are given. Fix #5922
2021-11-22 16:59:30 +00:00
Richard Davey
ec4e8ccff7
Merge pull request #5927 from samme/feature/createLayer-warning
...
Improve the "Invalid Tilemap Layer" warning
2021-11-22 16:49:09 +00:00
Richard Davey
06afcf7903
Merge pull request #5928 from samme/docs/ArcadePhysicsCallback
...
Docs: namespace ArcadePhysicsCallback type
2021-11-22 16:48:41 +00:00
samme
2ebbb970a5
Shorten the 'Valid tilelayer' warning
2021-11-22 08:47:56 -08:00
samme
6dc89a4596
Docs: namespace ArcadePhysicsCallback
2021-11-21 20:23:31 -08:00
Emil Schnedler Vad
98ea9e681e
fixes a bug in Phaser.Loader.LoaderPlugin#texture
2021-11-15 16:43:42 +01:00
Richard Davey
e65b77a2f7
Only emit unlocked if actually unlocking
2021-11-09 18:38:37 +00:00
Richard Davey
93c182f8f9
Renamed method to decodeAudioQueue
2021-11-09 00:05:30 +00:00
Richard Davey
b538f77b26
Added decodeOnDemand boolean
2021-11-08 22:17:34 +00:00
Richard Davey
ef711f1444
Drop the iife
2021-11-08 21:55:08 +00:00
Richard Davey
b4a7dab08b
Drop the iife
2021-11-08 21:51:33 +00:00
Richard Davey
c37da11d36
pma is essential - to hell with Firefox!
2021-11-08 21:51:08 +00:00
Richard Davey
2efa08d3db
Testing pma off
2021-11-08 18:49:48 +00:00
Richard Davey
3e45e6af38
Update WebAudioSoundManager.js
2021-11-08 18:26:06 +00:00
Richard Davey
46b9db5aca
Added jsdocs, removed debug calls, added decoding flag
2021-11-08 18:01:50 +00:00
Richard Davey
86b26eff8d
Added jsdocs, removed debug tests, fixed pending playback
2021-11-08 18:01:23 +00:00
Richard Davey
aaed099c0a
Create WebAudioDecodeEntry.js
2021-11-08 18:01:03 +00:00
Richard Davey
78c141c84e
Removed unlock handler from main loop
2021-11-08 18:00:54 +00:00
Richard Davey
1bf6ec2712
Removed un-used code
2021-11-08 17:58:53 +00:00
Richard Davey
077db60818
Merge pull request #5921 from teng-z/master
...
fix: The window touchcancel event is not removed
2021-11-08 16:09:13 +00:00
Richard Davey
18b9643d8f
Return all sound types. Fix #5578
2021-11-08 16:04:11 +00:00
Richard Davey
1deb04bcee
Documented all of the NoAudio properties and methods #5578
2021-11-08 15:51:56 +00:00
404
3a3f479196
fix: The window touchcancel event is not removed
2021-11-08 16:13:59 +08:00
Rex
784c2bd1ae
Allow Shape game object to be a mask
2021-11-05 10:57:17 +08:00
Richard Davey
a2956176dd
New unlocking and decode queue code
2021-11-05 00:27:26 +00:00
Richard Davey
4f1f5ede9c
Postponed all audio buffer creation until context is ready
2021-11-05 00:27:13 +00:00
Richard Davey
63fd3b92cd
Expose new DECODED_KEY event
2021-11-05 00:26:57 +00:00
Richard Davey
b57e5f0dfa
Only add to the cache if we've got data!
2021-11-05 00:26:44 +00:00
Richard Davey
313d2e8936
Create DECODED_KEY_EVENT.js
2021-11-05 00:26:30 +00:00
Richard Davey
4d6c67c22e
Working through removing audio decoding from the loader
2021-11-04 17:54:43 +00:00
Richard Davey
c3b897d338
Merge pull request #5890 from natureofcode/fix/quadratic-bezier-curve#type
...
Fix missing `QuadraticBezier` curves in `Path.fromJSON()` results
2021-11-04 16:44:14 +00:00
Richard Davey
7e14e2feaa
Update Path.js
2021-11-04 16:41:42 +00:00
Richard Davey
bf0b3b1601
Correct version number
2021-11-04 16:39:36 +00:00
Richard Davey
9400f9e410
Merge pull request #5854 from natureofcode/feature/path#get-curve-at
...
Add new `Path#getCurveAt()` method
2021-11-04 16:39:30 +00:00
Richard Davey
70253a95b7
Merge pull request #5858 from GregDevProjects/issue-5684
...
Add static Lerp method on Vector2
2021-11-04 16:25:53 +00:00
Richard Davey
067e6fd4f0
Scene.pause
will now check to see if the Scene is in either a RUNNING or CREATING state and throw a warning if not. You cannot pause non-running Scenes.
2021-11-04 14:55:24 +00:00
Richard Davey
b8468c8bc2
Added getStatus method
2021-11-04 14:55:16 +00:00
Richard Davey
b8339c16e6
Compressed Texture files can now be loaded from a file configuration object or a file pack
2021-11-03 22:07:34 +00:00
Richard Davey
18e044ef02
Removed all of the pendingDestroy
calls, as this is now handled by the Loader Plugin.
2021-11-03 21:20:06 +00:00
natureofcode
e43f54fdd5
Add new Path#getCurveAt()
method
2021-11-04 00:40:40 +05:00
Richard Davey
1a07b840b9
Added state property, pendingDestroy and destroy methods
2021-11-03 18:51:25 +00:00
Richard Davey
9eeccf3690
The Loader calls pendingDestroy automatically
2021-11-03 18:51:10 +00:00
Richard Davey
d3e9dc59e5
Removed file destroy
2021-11-03 18:50:56 +00:00
Richard Davey
a794e9c4c5
Added pendingDestroy guard
2021-11-03 18:50:45 +00:00
Richard Davey
dc73546048
Updated the docs about the data parameter
2021-11-03 18:50:28 +00:00
Richard Davey
a00f88a786
Added new PENDING_DESTROY const
2021-11-03 18:50:14 +00:00
Richard Davey
68a1a4b300
Added links to atlas software
2021-11-03 17:01:46 +00:00
Richard Davey
07f0bd4184
The JSON Hash and Array Texture Parsers will now throw a console.warn if the JSON is invalid and contains identically named frames.
2021-11-03 13:49:24 +00:00
Richard Davey
68550dbddb
Update Key.js
2021-11-02 22:54:17 +00:00
Richard Davey
fc1234e55b
Added createProgram, setBoolean and the new src properties
2021-11-02 18:05:18 +00:00
Richard Davey
565dfc801a
WebGLPipeline.setBoolean
is a new method that allows you to set a boolean uniform on a shader.
2021-11-02 18:00:25 +00:00
Richard Davey
95d7dc71b2
Update SpriteFXPipeline.js
2021-11-02 17:05:23 +00:00
Richard Davey
4b63bd2500
Update Pipeline.js
2021-11-02 17:05:16 +00:00
Richard Davey
950ba75bfc
Updated jsdocs
2021-11-02 14:02:46 +00:00
Richard Davey
aea45bb06d
Text
with RTL enabled wouldn't factor in the left / right padding correctly, causing the text to be cut off. It will now account for padding in the line width calculations. Fix #5830
2021-11-01 18:44:10 +00:00
Richard Davey
3e1d77ad8f
The KeyboardPlugin.removeKey
method has a new optional parameter removeCapture
. This will remove any keyboard capture events for the given Key. Fix #5693
2021-11-01 18:13:51 +00:00
Richard Davey
8ec99f9224
Use cached reg ex
2021-11-01 17:34:13 +00:00
Richard Davey
176a95336e
The Video
config will now detect for x-m4v
playback support for video formats and store it in the Video.m4v
property. This is used automatically by the VideoFile
file loader. Fix #5719
2021-11-01 17:33:44 +00:00
Richard Davey
314ff439c9
Merge pull request #5889 from samme/fix/path-follower-end
...
Fix PathFollower end point when given `to`
2021-11-01 17:07:54 +00:00
natureofcode
d180218ae6
Fix type
field of QuadraticBezier
curve class
...
It fixes missing `QuadraticBezier` curves in `Path.fromJSON()` results
2021-10-31 01:19:56 +05:00
samme
ebb27e8ae4
Fix PathFollower end point when given to
2021-10-30 11:13:50 -07:00
Richard Davey
f7d81c4bd1
The default Tween._pausedState
has changed from INIT
to PENDING_ADD
. This fixes a bug where if you called Tween.play
immediately after creating it, it would force the tween to freeze. Fix #5454
2021-10-29 18:49:49 +01:00
Richard Davey
5e2c00e69f
Calling Tween.reset
when a tween was in a state of PENDING_REMOVE
would cause it to fail to restart. It now restarts fully. Fix #4793
2021-10-29 18:26:13 +01:00
Richard Davey
5a1be5d07d
TweenManager.reset
is a new method that will take a tween, remove it from all internal arrays, then seek it back to its start and set it as being active.
2021-10-29 18:25:14 +01:00
Richard Davey
66939d0621
Clarify scene data in docs. Fix #5001
2021-10-29 17:53:57 +01:00
Richard Davey
8c6f5ec109
The ScriptFile
Loader File Type has a new optional parameter: type
. This is a string that controls the type attribute of the <script>
tag that is generated by the Loader. By default it is 'script', but you can change it to 'module' or any other valid type.
2021-10-29 15:47:41 +01:00
Richard Davey
3c429088e4
Use the new isRay parameter
2021-10-28 15:01:51 +01:00
Richard Davey
7b976d6d8e
The Geom.Intersects.GetLineToPolygon
method has a new optional parameter isRay
. If true
it will treat the line parameter as a ray, if false, as a line segment (the default).
2021-10-28 15:01:51 +01:00
Richard Davey
d587b8f5a7
The Geom.Intersects.GetLineToPoints
method has a new optional parameter isRay
. If true
it will treat the line parameter as a ray, if false, as a line segment (the default).
2021-10-28 15:01:51 +01:00
Richard Davey
50b02e9cdf
The Geom.Intersects.GetLineToLine
method has a new optional parameter isRay
. If true
it will treat the first line parameter as a ray, if false, as a line segment (the default).
2021-10-28 15:01:51 +01:00
Richard Davey
20d4391c29
Calling ParticleEmitter.setScale
would set the scaleY
property to null
, causing calls to setScaleY
to throw a runtime error. scaleY
is now a required property across both the Particle and Emitter classes and all of the conditional checks for it have been removed
2021-10-28 15:01:51 +01:00
Richard Davey
c94719e0b8
Added alt swap frame
2021-10-28 01:19:52 +01:00
Richard Davey
be06610957
Preparing for beta 4
2021-10-27 18:09:56 +01:00
Richard Davey
03345ea60c
Update WebGLPipeline.js
2021-10-27 17:21:59 +01:00
Richard Davey
9980c35c3e
Update SpriteFXPipeline.js
2021-10-27 17:21:55 +01:00
Richard Davey
6aa75d8e5d
Now works with multi-atlases and normal maps
2021-10-27 17:15:55 +01:00
Richard Davey
dbeefcc405
Update CompressedTextureFileConfig.js
2021-10-27 17:06:38 +01:00
Richard Davey
b3f34a0471
Update Text.js
2021-10-27 15:46:20 +01:00
Richard Davey
8a941dce98
Added optional shape config
2021-10-27 13:19:40 +01:00
Richard Davey
c391ad6c87
Check if still input enabled
2021-10-26 18:24:06 +01:00
Richard Davey
0fcd785ceb
Calling TimerEvent.reset
in the Timer callback would cause the timer to be added to the Clock's pending removal and insertion lists together, throwing an error. It will now not add to pending removal if the timer was reset. Fix #5887
2021-10-26 18:23:46 +01:00
Richard Davey
50669c7bdf
Updated jsdocs. Fix #5880
2021-10-26 14:31:15 +01:00
Richard Davey
29ada646e0
Updated docs
2021-10-26 00:04:37 +01:00
Richard Davey
17c76c831c
The Multi Tint fragment shader now uses the new getSampler function approach from Phaser 4
2021-10-26 00:00:35 +01:00
Richard Davey
4d18ad6ff8
Removed GenerateSrc, removed need for forloop declaration
2021-10-26 00:00:20 +01:00
Richard Davey
27833cafc7
Fixed else block
2021-10-25 21:15:53 +01:00
Richard Davey
39a06f241b
The SceneManager.bootScene
method will now always call LoaderPlugin.start
, even if there are no files in the queue. This means that the Loader will always dispatch its START
and COMPLETE
events, even if the queue is empty because the files are already cached. You can now rely on the START
and COMPLETE
events to be fired, regardless, using them safely in your preload scene. Fix #5877
2021-10-25 18:48:38 +01:00
Richard Davey
43ed170cd7
ScaleManager.getParentBounds
will now also check to see if the canvas bounds have changed x or y position, and if so return true
, causing the Scale Manager to refresh all of its internal cached values. This fixes an issue where the canvas may have changed position on the page, but not its width or height, so a refresh wasn't triggered. Fix #5884
2021-10-25 18:25:24 +01:00
Richard Davey
64e343045e
Merge pull request #5869 from samme/feature/error-for-file-process-fails
...
Print a console error when file processing fails
2021-10-25 18:02:25 +01:00
Richard Davey
f6147757d5
Merge pull request #5871 from samme/docs/ObjectHelper
...
Docs: fix types in Phaser.Tilemaps.ObjectHelper#setFromJSON
2021-10-25 18:01:18 +01:00
Richard Davey
c9beece946
Merge pull request #5879 from samme/docs/scene-config
...
Docs: mark Scene config optional
2021-10-25 17:59:55 +01:00
Richard Davey
55ef37b6fb
Removed spriteData, added destroy, tidied up docs
2021-10-21 18:38:15 +01:00
Richard Davey
461e1ff4d0
Update PipelineConfig.js
2021-10-21 18:38:05 +01:00
Richard Davey
0020f03ead
Fixed Sprite FX targetBounds
2021-10-20 17:02:37 +01:00
Richard Davey
143d63dcb0
Debugging
2021-10-20 12:37:05 +01:00
Richard Davey
508630ad81
Added renderTargets, maxDimension, frameInc and targetIndex
2021-10-20 12:36:54 +01:00
Richard Davey
9e38e37d6f
Removed RenderTargets (moved to PM) and flipped projection matrix
2021-10-19 22:48:02 +01:00
Richard Davey
5fb2604292
Removed flip verts
2021-10-19 22:47:34 +01:00
Richard Davey
d46f6e37f3
WebGLPipeline.flipProjectionMatrix
is a new method that allows you to flip the y and bottom projection matrix values via a parameter.
2021-10-19 22:47:22 +01:00
Richard Davey
ef4d5d94bb
New fsTarget copySubTex approach (faster)
2021-10-19 18:43:15 +01:00
Richard Davey
c6ac6125c9
Update MultiPipeline.js
2021-10-19 18:42:58 +01:00
samme
787437c219
Docs: mark Scene config optional
...
Fixes #5874
2021-10-19 09:13:14 -07:00
Richard Davey
a576059055
Prepare for 3.60 Beta 3
2021-10-18 18:31:32 +01:00
Richard Davey
b434c3b4f8
Fixed jsdocs
2021-10-18 17:54:25 +01:00
Richard Davey
347b6db490
Added altFrame option and calculations + handy utility functions
2021-10-18 17:49:09 +01:00
Richard Davey
d4edcbd8ca
Set default vert shader
2021-10-18 16:01:53 +01:00
Richard Davey
f34657cf87
Removed the Tint
and Flip
components from the Camera
class. Neither were ever used internally, or during rendering, so it was just confusing having them in the API.
2021-10-17 16:34:45 +01:00
Richard Davey
ba0a52e386
Update SpriteFXPipeline.js
2021-10-16 15:30:03 +01:00
Richard Davey
638fd113b5
Flip the Y on textures
2021-10-16 15:23:33 +01:00
Richard Davey
9d7a575a4f
Added FX component
2021-10-16 15:23:19 +01:00
Richard Davey
43df6de757
Removed duplicate post fx calls
2021-10-16 15:22:30 +01:00
Richard Davey
5e509bd72b
Removed 'drawToFrame' (it's the only option) and added 'batchTexture'
2021-10-16 15:08:58 +01:00
Richard Davey
7a705d757c
The Text
Game Object would call the pre and post batch functions twice by mistake, potentially applying a post fx twice to it.
2021-10-16 15:08:39 +01:00
Richard Davey
acc9f07e5c
Fixed data and alpha value
2021-10-15 18:45:23 +01:00
Richard Davey
fd1ab765a3
Full JSDocs and tidied up all the methods
2021-10-15 18:39:10 +01:00
Richard Davey
dddf601acb
Added onFXCopy
2021-10-15 18:38:57 +01:00
Richard Davey
efa8c8b5a5
Fixed verts and called onFX
2021-10-15 00:59:04 +01:00
Richard Davey
163978452e
Added onFX
2021-10-15 00:58:40 +01:00
Richard Davey
6c00b5cfc4
Added onPreCopy
2021-10-14 18:51:39 +01:00
Richard Davey
8a89700bf7
Fixed shader uniform issue and tidied up code
2021-10-14 18:45:59 +01:00
Richard Davey
bfecf9da5a
RenderTarget
will now automatically set the wrapping mode to clamp.
2021-10-14 18:45:41 +01:00
Richard Davey
c1c8e5d12b
The WebGLRenderer.createTextureFromSource
method has a new optional boolean parameter forceClamp
that will for the clamp wrapping mode even if the texture is a power-of-two.
2021-10-14 18:45:28 +01:00
Richard Davey
d5a86d7b07
Update SpriteFXPipeline.js
2021-10-14 01:08:06 +01:00
Richard Davey
5d2749f5d6
Update SpriteFXPipeline.js
2021-10-14 00:55:27 +01:00
samme
15b62e1756
Docs: fix types in Phaser.Tilemaps.ObjectHelper#setFromJSON
2021-10-13 15:58:32 -07:00
Richard Davey
219ff50b90
Fixed copyFrame handling
2021-10-13 23:38:04 +01:00
Richard Davey
c4c5453dfb
Removed log
2021-10-13 23:35:29 +01:00
samme
ba5e4ffab7
Docs: add Phaser.Types.GameObjects.Particles.ParticleClassConstructor
...
Fixes #5731 ?
2021-10-13 13:23:31 -07:00
samme
52e402e14e
Docs: add Phaser.Types.GameObjects.Group.GroupClassTypeConstructor
2021-10-13 13:22:54 -07:00
Richard Davey
fd54fa741c
Update SpriteFXPipeline.js
2021-10-13 18:56:41 +01:00
Richard Davey
635e7283d5
Added buffer to setVertexBuffer and setShader
2021-10-13 18:56:31 +01:00
Richard Davey
0bf366a096
Update SpriteFXPipeline.js
2021-10-13 13:04:08 +01:00
Richard Davey
803d71469e
Fixed the vert and uv handling
2021-10-12 21:47:48 +01:00
Richard Davey
4f454a5701
Update WebGLPipeline.js
2021-10-12 21:47:39 +01:00
Richard Davey
3afc8b1a8e
Flip the verts
2021-10-12 21:47:33 +01:00
Richard Davey
6eebd6c1cf
GameObjects.Components.FX
is a new component that provides access to FX specific propertis and methods. The Image and Sprite Game Objects have this component by default.
2021-10-12 21:47:24 +01:00
Richard Davey
2a473889dc
Update SpriteFXPipeline.js
2021-10-12 18:54:06 +01:00
Richard Davey
85c6c4be44
Swap frame support added and drawSprite method
2021-10-12 18:00:50 +01:00
Richard Davey
68c3fc4171
Fixed resizing. Set RTs in boot.
2021-10-12 16:09:53 +01:00
Richard Davey
6fe88aeee7
Refactored to use existing functions where possible
2021-10-12 13:32:39 +01:00
Richard Davey
9e9c9298eb
Much better renderTarget handling. Sprite now draws properly. Config handling done. Need to fix bindAndDraw
2021-10-12 01:03:45 +01:00
Richard Davey
53eb64b92b
Added isSpriteFX
property
2021-10-12 01:03:18 +01:00
Richard Davey
904ca9f7c4
Removed SpriteFX as you extend it, not instantiate it
2021-10-12 01:03:04 +01:00
Richard Davey
fd655d054c
Added fxPadding property to Image
2021-10-12 01:02:42 +01:00
Richard Davey
e9d85c57ee
Update SpriteFXPipeline.js
2021-10-11 18:49:17 +01:00
Richard Davey
7af3693fb5
Add SpriteFX Pipeline to const and default array
2021-10-11 18:49:13 +01:00
Richard Davey
b73d889ca9
Bump version
2021-10-11 18:48:41 +01:00
Richard Davey
038ffa7b77
Create SpriteFXPipeline.js
2021-10-11 18:06:42 +01:00
Richard Davey
fa25b9e254
Removed temp function
2021-10-11 18:06:35 +01:00
Richard Davey
5c88dd8593
Only need to set the width
2021-10-11 17:56:26 +01:00
Richard Davey
784f722b90
Remove, we'll handle this elsewhere
2021-10-11 17:56:11 +01:00
Richard Davey
e26eb49769
Update RenderTargetConfig.js
2021-10-11 17:04:20 +01:00
Richard Davey
d32badabf5
When defining the renderTargets
in a pipeline config, you can now set optional width
and height
properties, which will create a Render Target of that exact size, ignoring the scale
value (if also given).
2021-10-11 17:02:36 +01:00
Richard Davey
c1430f41dc
Testing FX padding
2021-10-11 15:10:57 +01:00
Richard Davey
43d660a304
Merge pull request #5864 from rexrainbow/timer-with-a-short-delay
...
Invoke callback many times in very short delay case
2021-10-11 15:02:00 +01:00
Rex
92bedcfeac
Check event.callback
2021-10-11 16:12:40 +08:00
Rex
00f998bf0d
Check event.callback
2021-10-11 16:04:38 +08:00
Rex
6814d5c6b5
Twist code
2021-10-11 16:03:15 +08:00
Rex
0a1f47c65e
Invoke callback many times in very short delay case
2021-10-11 15:44:00 +08:00
samme
e7130fb546
eslint-disable no-console
2021-10-10 12:56:11 -07:00
GregDevProjects
0c04102731
rename function, move it to Math class
2021-10-10 10:49:54 -03:00
samme
7b66f486d4
Remove console warnings for JSON/XML parse fails
...
Now done in onProcessError() instead
2021-10-09 10:31:54 -07:00
samme
c2d6d3b398
Print console errors for file process failures
2021-10-09 10:28:56 -07:00
kainage
369bf06b8e
Fix WebGL Tilemap Layer Rendering
...
* A typo was blowing up rendering the tilemaps all together
* FIx the X coord not being calculated correctly in the `batchTexture` call
2021-10-06 22:01:12 -07:00
Greg
1d009f8a68
Add static Lerp method on Vector2
2021-10-06 21:56:02 -03:00
Richard Davey
8aa6385cec
Fixed JSDocs
2021-10-06 21:39:44 +01:00
Richard Davey
663d6631d0
Merge branch 'master' of https://github.com/photonstorm/phaser
2021-10-06 21:14:33 +01:00
Richard Davey
9e753a4cfb
Beta.1 number
2021-10-06 21:14:29 +01:00
Richard Davey
31836eaf3c
Update CompressedTextureFile.js
2021-10-06 21:14:18 +01:00
Richard Davey
6f4ceba23f
Merge pull request #5855 from lfarroco/master
...
Fix rendering of Tiled object layers on isometric maps
2021-10-06 21:11:34 +01:00
Richard Davey
bf02aaa7ee
Update WebGLTextureCompression.js
2021-10-06 18:48:04 +01:00
Richard Davey
56eccd67ff
Finished and now works with atlas files too
2021-10-06 18:47:58 +01:00
Richard Davey
5ed49aea79
Create CompressedTextureFileConfig.js
2021-10-06 18:47:43 +01:00
Richard Davey
01beb898b3
The WebGLRenderer.createTextureFromSource
method now accepts the CompressedTextureData
data objects and creates WebGL textures from them.
2021-10-06 18:47:35 +01:00
Richard Davey
615321582f
Expose the parsers
2021-10-06 18:44:19 +01:00
Richard Davey
97be6a965d
Textures.Parsers.PVRParser
is a new parser for the PVR compression container format.
2021-10-06 18:44:13 +01:00
Richard Davey
94906435c2
Textures.Parsers.KTXParser
is a new parser for the KTX compression container format.
2021-10-06 18:44:03 +01:00
Richard Davey
e4bbc4dec7
TextureManager#addCompressedTexture
is a new method that will add a compressed texture, and optionally atlas data into the Texture Manager and return a Texture
object than any Sprite can use.
2021-10-06 18:43:20 +01:00
Richard Davey
3a6219914e
Now parses compressed textures and sets the algorithm property
2021-10-06 18:42:26 +01:00
Richard Davey
8752890c2c
Create MipmapType.js
2021-10-06 17:47:21 +01:00
Richard Davey
f2d21f26fd
Create CompressedTextureData.js
2021-10-06 17:47:16 +01:00
Leonardo Farroco
fc4db55b26
adds isometric ratio
2021-10-05 23:19:09 -03:00
Richard Davey
7934613e8f
The Tilemaps.Tile.getBounds
method would take a camera
parameter but then not pass it to the methods called internally, thus ignoring it. It now factors the camera into the returned Rectangle.
2021-10-05 21:52:54 +01:00
Richard Davey
234ba03b35
Update WebGLRenderer.js
2021-10-05 18:36:50 +01:00
Richard Davey
686e32b8d0
Now parses KTX and PVR textures
2021-10-05 18:33:50 +01:00
Richard Davey
a2428e1424
Create PVRParser.js
2021-10-05 18:30:24 +01:00
Richard Davey
6f9471f40d
Create KTXParser.js
2021-10-05 18:30:21 +01:00
Richard Davey
f376958ca1
Added getCompressedTextureName method
2021-10-05 18:30:17 +01:00
Richard Davey
c0c17a1dd2
Update index.js
2021-10-05 18:00:22 +01:00
Richard Davey
9702594245
Create CompressedTextureFile.js
2021-10-05 17:58:45 +01:00
Richard Davey
7bdb9d672f
Added supportsCompressedTexture method
2021-10-05 17:04:44 +01:00
Richard Davey
5a941ed509
Expanded to support all formats
2021-10-05 16:48:51 +01:00
Richard Davey
573dd3a14d
Added getCompressedTextures method
2021-10-05 16:48:42 +01:00
Leonardo Farroco
64f7b992be
linting
2021-10-03 16:35:02 -03:00
Leonardo Farroco
687942e77e
Change positioning for isometric object layer from Tiled
2021-10-03 16:30:05 -03:00
Richard Davey
b968e46ee2
The Multi Pipeline now uses highp float
precision by default, instead of mediump
. This fixes issues with strange blue 'spots' appearing under WebGL on some Android devices. Fix #5751 #5659 #5655
2021-09-28 15:56:54 +01:00
Richard Davey
6cd7d6ce79
The Camera will now emit PRE_RENDER
and POST_RENDER
events under the Canvas Renderer. Fix #5729
2021-09-28 15:39:47 +01:00
Richard Davey
47bbde0e4b
With roundPixels
set to true in the game or camera config, Sprites will no longer render at sub-pixel positions under CANVAS. Fix #5774
2021-09-28 15:34:46 +01:00
Richard Davey
a4d8c9be47
Fix #5759
2021-09-28 15:21:13 +01:00
Richard Davey
83e2406cb4
The CameraManager.destroy
function will now remove the Scale Manager RESIZE
event listener created as part of boot
, where-as before it didn't clean it up, leading to gc issues. Fix #5791
2021-09-28 15:08:31 +01:00
Richard Davey
c84187b856
Merge pull request #5842 from samme/feature/scene-stop-abort
...
Ignore scene stop if already shutdown
2021-09-24 14:40:48 +01:00
Richard Davey
cca537b66b
Merge pull request #5841 from samme/feature/warn-particle-missing-frame
...
Warn, throw for particle texture frame mistakes
2021-09-24 14:38:20 +01:00
samme
023336f826
Throw an error for missing particle texture frame
2021-09-23 11:15:58 -07:00
samme
da86ea7029
Warn for missing texture frames
2021-09-23 11:15:29 -07:00
Richard Davey
550dd2bd85
Merge pull request #5514 from etherealmachine/patch-1
...
Fix typing of MapData objects
2021-09-23 16:03:24 +01:00
Richard Davey
5dfab5f5d9
eslint and jsdoc fixes for #5697
2021-09-23 16:02:52 +01:00
Richard Davey
d44e8e782e
Merge branch 'master' into tilemap
2021-09-23 15:47:47 +01:00
Richard Davey
dc6b9c6d93
lint fix
2021-09-23 15:37:22 +01:00
Richard Davey
0c8bc91d4c
Merge pull request #5316 from kainage/camera-flash-effect-alpha
...
Allow setting alpha for 2D camera flash effect
2021-09-23 15:35:50 +01:00
Richard Davey
93db763f69
Merge pull request #5340 from 16patsle/Fix_object_types
...
Add more specific 'object' types, including GO Configs
2021-09-23 15:30:43 +01:00
Richard Davey
c8aeb4724a
Added scale configs to game config #5840
2021-09-22 12:12:35 +01:00
Richard Davey
b57afb45c9
Fixed eslint issues in #5701
2021-09-22 11:44:43 +01:00
Richard Davey
49c9d2795d
Merge pull request #5701 from Skel0t/patch-1
...
Line-Line Intersection fix if dx1 === 0
2021-09-22 11:42:17 +01:00
Richard Davey
a5c0795967
Merge pull request #5772 from sylvainpolletvillard/master
...
types: complete Phaser.Input.Gamepad.Configs definitions
2021-09-22 11:35:25 +01:00
Richard Davey
ede72366ca
Merge pull request #5624 from andriibarvynko/fix_check_matrix_for_one_row_matrix_support
...
Allow to have one row matrix in CheckMatrix
2021-09-22 11:32:56 +01:00
Richard Davey
f4c7cb4a6d
Fixed jsdocs. Renamed property to tileOffset
. Fixed parsing of it. #5637
2021-09-22 11:26:08 +01:00
Richard Davey
736be1abc8
tileOffset hadn't been applied to the canvas renderer #5637
2021-09-22 11:25:39 +01:00
Richard Davey
d0b5b91a5e
tileOffset is always set, so this check is redundant #5637
2021-09-22 11:25:13 +01:00
Richard Davey
32209baf39
Updated jsdocs
2021-09-22 11:24:35 +01:00
Richard Davey
d16588014f
Merge pull request #5637 from moJiXiang/fix-tilemap-offset
...
fix tilemap draw offset, maybe it is a bug, related issue #5633
2021-09-22 11:14:15 +01:00
Richard Davey
7434769faf
Merge pull request #5657 from moJiXiang/fix-bug-#5647
...
fix PutTileAt tile size with releated tileset width and height, releated bug #5647
2021-09-22 11:10:03 +01:00
Richard Davey
2771f280d2
Merge pull request #5750 from jonnytest1/master
...
assign array by index for skipped chunks
2021-09-22 11:03:44 +01:00
Richard Davey
d70b149170
Merge pull request #5793 from samme/fix/separate-tile-update-center
...
Update body center after tile separation
2021-09-22 11:01:28 +01:00
Richard Davey
0ab2534306
Update PipelineManager.js
2021-09-21 14:53:18 +01:00
Richard Davey
1c64f44dab
Fixed eslint, added documentation
2021-09-21 12:01:48 +01:00
Richard Davey
1e5542df92
Merge pull request #5740 from hanzooo/loader-type
...
feat: Add support for load image by HTMLImageElement
2021-09-21 11:52:28 +01:00
Richard Davey
cd4baa100d
Merge pull request #5744 from rexrainbow/rectangle-setsize
...
Update Rectangle shape game object's display origin and default hitArea
2021-09-21 11:46:42 +01:00
Richard Davey
f0eb694166
Merge pull request #5763 from samme/fix/group-double-collide
...
Do physics group vs. self collisions without the RTree
2021-09-21 11:44:52 +01:00
Richard Davey
496b928c61
Fixed eslint issues
2021-09-21 11:38:33 +01:00
Richard Davey
9cfbe65bfa
Merge pull request #5766 from xiamidaxia/scenePlugins
...
Spine plugin multiple game instances support
2021-09-21 11:36:01 +01:00
Richard Davey
2546096b64
Fixed JSDocs. Close #5836
2021-09-21 11:33:01 +01:00
Richard Davey
4fd0a27b15
Formatting fix
2021-09-20 12:34:35 +01:00
Richard Davey
4ab8a4d3a3
Merge pull request #5767 from mayacoda/master
...
Fix getBounds for creating MatterTileBody for staggered tiles
2021-09-20 12:26:55 +01:00
Richard Davey
ee71c6b5d4
Merge pull request #5770 from eltociear/patch-1
...
Fix typo in MatterCollisionPair.js
2021-09-20 12:24:30 +01:00
Richard Davey
eff631944b
Merge pull request #5794 from samme/fix/render-texture-snapshot-canvas
...
Fix CanvasRenderer#snapshotCanvas()
2021-09-20 12:19:42 +01:00
Richard Davey
5f2e3f35e1
Fixed code format
2021-09-20 12:18:54 +01:00
Richard Davey
da3e8b5a25
Merge pull request #5788 from martell-ventures/loadURL_crossorigin
...
Add Crossorigin support
2021-09-20 12:16:14 +01:00
Richard Davey
4b011e2225
Merge pull request #5790 from samme/fix/createFromObjects-offset
...
Fix offset for non-tile objects in createFromObjects()
2021-09-20 12:12:41 +01:00
Richard Davey
d0b359fdd3
Merge pull request #5797 from samme/fix/create-renderer-fallback
...
Fix WEBGL-only selection and throw for unknown renderer type
2021-09-20 12:09:39 +01:00
Richard Davey
519a7f99e1
Bumped version
2021-09-20 12:08:56 +01:00
Richard Davey
e26f1dd460
Merge pull request #5800 from samme/fix/nested-layers-error
...
Add Layer#addToDisplayList(), Layer#removeFromDisplayList()
2021-09-20 12:07:11 +01:00
Richard Davey
e131488a32
Bumped version
2021-09-20 12:05:46 +01:00
Richard Davey
8075c3ab1b
Merge pull request #5819 from samme/fix/dom-element-parent-visibility
...
Add DOMElement#preRender, remove DOMElement#preUpdate
2021-09-20 12:01:16 +01:00
Richard Davey
cb6347d3b6
Merge branch 'master' of https://github.com/photonstorm/phaser
2021-09-20 11:59:30 +01:00
Richard Davey
f76f8711cd
Added scene property
2021-09-20 11:59:20 +01:00
Richard Davey
9adcd5c615
Merge pull request #5825 from ubershmekel/master
...
Fix #5811 , log error on invalid scene.start(key)
2021-09-20 11:54:49 +01:00
Richard Davey
4007f597da
Merge pull request #5834 from samme/docs/CreateFromObjectLayerConfig
...
Docs: correct CreateFromObjectLayerConfig.classType
2021-09-20 11:52:56 +01:00
Richard Davey
5a7ed14b3b
Merge branch 'master' of https://github.com/photonstorm/phaser
2021-09-20 11:51:37 +01:00
Richard Davey
bf087e5068
Fixed JSDocs. Fix #5833 #5835
2021-09-20 11:51:21 +01:00
Richard Davey
929ad23b4e
Merge pull request #5748 from rexrainbow/zone-default-dropzone
...
Use default hitArea if hitArea parameter is not given
2021-09-20 11:45:18 +01:00
Richard Davey
235a997dfa
Merge pull request #5743 from rexrainbow/view-port
...
Add method to get visible area
2021-09-20 11:42:22 +01:00
Richard Davey
2f8d6a023d
Updated version number
2021-09-20 11:41:47 +01:00
Richard Davey
259f68d04b
Merge branch 'master' of https://github.com/photonstorm/phaser
2021-09-20 11:39:49 +01:00
Richard Davey
d8c5626a3a
The Display.Masks.BitmapMask
destroy
method will now remove the context-lost event handler.
2021-09-20 11:39:32 +01:00
Richard Davey
305fbd1ec6
Merge pull request #5742 from rexrainbow/turn-off-context-restore-event
...
Turn off context restore event when game object is destroyed
2021-09-20 11:35:34 +01:00
Richard Davey
9db0b98228
Merge pull request #5757 from samme/fix/tween-setCallback
...
Correct use of Tween#setCallback() and Timeline#setCallback()
2021-09-20 11:31:09 +01:00
Richard Davey
cb15887bda
Merge pull request #5824 from samme/feature/texture-missing-error-msg
...
Add texture key to the missing frame warning
2021-09-20 11:29:19 +01:00
natureofcode
81e3c06676
Hotfix broken drag
2021-09-17 23:00:29 +05:00
natureofcode
89ff86202b
Fix #5828
2021-09-17 12:19:39 +05:00
samme
08a600edcb
Docs: correct CreateFromObjectLayerConfig.classType
...
Fixes #5831
2021-09-14 09:10:09 -07:00
samme
6df5b7e3a6
Ignore scene stop if already shutdown
2021-09-14 08:53:44 -07:00
Yuval Greenfield
1a713b4c5e
Fix #5811 , log error on invalid scene.start(key)
2021-09-03 23:11:29 -07:00