Commit graph

18214 commits

Author SHA1 Message Date
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
Marko
983d93cc29 Use dom.type.undefined with function parameters 2022-03-08 19:03:58 +02:00
Roberto Arosemena
c2faa10e68
Reverted default phaser.d.ts file 2022-03-04 10:48:42 -06:00
Roberto Arosemena
87c44cbad7
Added time parameters to SceneUpdateCallback typedef file 2022-03-04 10:45:26 -06:00
Richard Davey
aa5f54cfa2 Update CHANGELOG-v3.60.md 2022-03-04 16:35:52 +00: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
Roberto Arosemena
17bf09921c
Fixed the type definition of SceneUpdateCallback 2022-02-28 22:06:47 -06:00
Marko
8a66d702c8 Handle nullable in parser.parseType 2022-03-01 01:19:51 +02:00
Marko
894e67d6bb Fix issue: hitAreaCallback type definition #5954 2022-03-01 00:43:47 +02:00
Rex
b1916a9d14 Add typedef of onStart parameter 2022-02-28 22:44:18 +08:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00:00
Richard Davey
0bb3f23328 Update CHANGELOG-v3.60.md 2022-02-28 14:00:17 +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
Richard Davey
ca14b49907 Update CHANGELOG-v3.60.md 2022-02-24 13:36:51 +00:00
Richard Davey
bc44f0c88b
Merge pull request #6020 from andymikulski/fix-canvas-rt-fill
Bugfix: RenderTexture: Fix `fill` on Canvas always appearing black
2022-02-24 13:34:46 +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
3a6d470b85 Update CHANGELOG-v3.60.md 2022-02-21 18:47:23 +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
62d5ffcbf7 Update CHANGELOG-v3.60.md 2022-02-21 18:44:57 +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
b014837aae Updated types for typescript 2022-02-15 12:22:14 +01:00
Krzysztof Głogocki
897d2444f5 Fixing WebAudio for Cordova by introducing localScheme configuration 2022-02-15 12:07:48 +01:00
Rex
558589f851 Add onStart parameter into scene.transition(config)
It can define transition action of  scenes in a single scene.transition(config) call.
2022-02-15 10:10:33 +08: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
Richard Davey
1abf11e4f9 Update SpineGameObject.js 2022-02-08 22:20:52 +00: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
Richard Davey
9473506158 Change API link 2022-02-07 18:13:30 +00:00