Commit graph

11135 commits

Author SHA1 Message Date
Richard Davey
24234fedcc
Merge pull request #6106 from samme/patch-14
Docs: fix the `mipmapFilter` example code
2022-05-09 18:36:07 +01:00
Richard Davey
b1f03649bb LoaderPlugin.localSchemes is a new array of scheme strings that the Loader considers as being local files. This is populated by the new Phaser.Core.Config#loaderLocalScheme game / scene config property. It defaults to [ 'file://', 'capacitor://' ] but additional schemes can be defined or pushed onto this array. Based on #6010 2022-05-09 18:34:56 +01:00
samme
54d12080eb
Docs: fix the mipmapFilter example code 2022-05-09 09:44:09 -07:00
Richard Davey
033d4eeb32
Merge pull request #6084 from spayton/master
Allow input debug hit area colour to be adjusted after enabling.
2022-05-09 17:13:37 +01:00
Richard Davey
d8947e84b0
Merge pull request #6081 from adamazmil/iso-map
Fixes getTop for creating MatterTileBody for isometric tiles
2022-05-09 17:09:08 +01:00
Richard Davey
21bdac8a29
Merge pull request #6010 from Azim-Palmer/bugfix/cordova-webaudio-fix
Fix WebAudio for Crodova based apps
2022-05-09 16:56:37 +01:00
Richard Davey
919fa39faa
Merge pull request #6067 from TJ09/commonjs-import-change
Don't reassign the return values from require()
2022-05-09 16:49:58 +01:00
Richard Davey
d3a8e6ccf3
Merge pull request #6104 from samme/fix/getTilesWithinShape
Fix the GetTilesWithinShape() area
2022-05-09 16:48:11 +01:00
Richard Davey
086c2a1c39
Merge pull request #6095 from martincapello/fix-createFromAseprite
Fix frame durations when creating animations with createFromAseprite function
2022-05-09 16:42:47 +01:00
Richard Davey
d33035cf2d
Merge pull request #6094 from VanaMartin/imagefile-bugfix-1
FIX: ImageFile addCache pending destruction status
2022-05-09 16:39:26 +01:00
Richard Davey
4ce535b4ce
Merge pull request #6103 from samme/feature/Vector2-project
Add Phaser.Math.Vector2#project()
2022-05-09 16:35:43 +01:00
Richard Davey
201bfabf00 Setting scale.mode in the Game Config would be ignored. It now accepts either this, or scaleMode directly. Fix #5970 2022-05-06 18:21:28 +01:00
Richard Davey
0a59f89a32
Merge pull request #6087 from rexrainbow/lint-error
Fix lint error
2022-05-06 18:15:18 +01:00
samme
b60761a706 Fix the GetTilesWithinShape() area
Fixes #5640
2022-05-06 09:54:50 -07:00
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