Commit graph

19246 commits

Author SHA1 Message Date
Richard Davey
6d22019f26 Update ParticleEmitterAnimConfig.js 2023-09-07 13:21:51 +01:00
Richard Davey
32469aeab7 Merge branch 'master' of https://github.com/photonstorm/phaser 2023-09-07 13:19:53 +01:00
Richard Davey
40d59692a9 Update CHANGELOG-v3.61.md 2023-09-07 13:19:49 +01:00
Richard Davey
18f5a73692
Merge pull request #6587 from PresentCreativeLLC/missing-particle-emitter-property
Added missing description of the anims property of the particle emitter for JSDoc
2023-09-07 13:19:17 +01:00
Richard Davey
4c65ea408a
Merge pull request #6605 from emadkhezri/master
Fixed a typo in TextFactory.js
2023-09-07 13:16:37 +01:00
Richard Davey
f330c86eae
Merge pull request #6606 from samme/patch-20
Docs: correct type for BuildTilesetIndex(mapData)
2023-09-07 13:16:08 +01:00
samme
a581b821eb
Docs: correct type for BuildTilesetIndex(mapData)
This should be close enough
2023-09-06 16:26:36 -07:00
Richard Davey
d9f51c0562 null the Camera reference 2023-09-05 14:56:13 +01:00
Richard Davey
e3c1478867 null the glTexture reference 2023-09-05 14:56:06 +01:00
Richard Davey
430232573b Update CHANGELOG-v3.61.md 2023-09-05 13:40:48 +01:00
Richard Davey
e8e57b6b0c The WebGLRenderer.deleteFramebuffer method has been updated so it now tests for the exitennce of a COLOR and DEPTH_STENCIL attachments, and if found, removes the bindings and deletes the stencil buffer. The code that previously deelted the RENDERERBUFFER_BINDING has also been removed to avoid side-effects. 2023-09-05 13:40:45 +01:00
Richard Davey
45fb3e6442 Update CHANGELOG-v3.61.md 2023-09-05 12:55:04 +01:00
Richard Davey
c82a6bb466 DynamicTexture.preDestroy was never called, leading to an accumlation of framebuffers in memory. This method has now been renamed to destroy and cleans all references correctly. 2023-09-05 12:55:01 +01:00
Emad
266ddb7545 fixed a typo in TextFactory.js 2023-09-03 22:34:28 +10:00
John Hyde
e9808895ae
Update InputConfiguration.js: Clarify alphaTolerance
This change adds documentation to make it clear that alphaTolerance is a value between 0 and 255, rather than 0 and 1.
2023-08-30 13:07:33 -07:00
Richard Davey
ef7c06d639 Update CHANGELOG-v3.61.md 2023-08-28 16:21:20 +01:00
Richard Davey
61fa744473 Fixed the methods addAtlasJSONArray, addAtlasJSONHash, addAtlasXML and addUnityAtlas. Fix #6565 2023-08-28 16:21:17 +01:00
Richard Davey
7a81f2e029 Update CHANGELOG-v3.61.md 2023-08-28 16:04:14 +01:00
Richard Davey
28738a4046 Tile was incorrectly using the Alpha Game Object component, instead of the AlphaSingle component, which meant although the methods implied you could set a different alpha per tile corner, it was never reflected in the rendering. It has now been updated to use just the single alpha value. Fix #6594 2023-08-28 16:04:14 +01:00
Richard Davey
56a1bbfe8b
Merge pull request #6568 from Trissolo/fixProcessQueue
[Fix] Added missing parameter to some function calls in Phaser.Structs.ProcessQueue#add
2023-08-28 15:43:22 +01:00
Richard Davey
74e0143282 Update CHANGELOG-v3.61.md 2023-08-28 15:42:06 +01:00
Richard Davey
b5c9b76eff Updated docs 2023-08-28 15:42:02 +01:00
Richard Davey
2f78afc52a Update CHANGELOG-v3.61.md 2023-08-28 15:40:09 +01:00
Richard Davey
5846acf682
Merge pull request #6569 from Trissolo/refineGameObjectSetTexture
Added two optional parameters to GameObjects.Components.Texture#setTexture
2023-08-28 15:39:47 +01:00
Richard Davey
2a5bf0e5f9
Merge pull request #6584 from Trissolo/fix/geomPolygon-unused-code
Remove unused code in Geom.Polygon#setTo
2023-08-28 15:27:45 +01:00
Richard Davey
63fbaf99df
Merge pull request #6590 from samme/samme-patch-1
Docs: StaticBody#reset description
2023-08-28 15:23:31 +01:00
Richard Davey
d9147e92eb
Merge pull request #6598 from samme/patch-19
Unprotect Animation#getFrameAt
2023-08-28 15:22:44 +01:00
samme
7338ca5793
Unprotect Animation#getFrameAt 2023-08-25 12:51:59 -07:00
Rex
8361735197 Add complete event 2023-08-25 11:25:48 +08:00
Rex
d46024c685 Do nothing if timeline is complete 2023-08-25 11:03:14 +08:00
Alvaro Estrada
4cfa8c4287 Update ParticleEmitterFrameConfig.js
Changed the configuration to better reflect what is accepted by the function
2023-08-24 13:57:52 -06:00
samme
90799f39ed
Docs: StaticBody#reset description 2023-08-22 08:48:01 -07:00
Alvaro Estrada
e37134e47e Fixed file name discrepancy with the interface name 2023-08-17 11:11:57 -06:00
Alvaro Estrada
525730dbb1 Added missing description of the anims property of the particle emitter
- Created a description of the object handed to the function setAnim
- Added the property anim to ParticleEmitterConfig
- Changed the parameters description of setAnim to better match
2023-08-17 11:09:04 -06:00
Trissolo
d33c83d27b Remove unused code 2023-08-16 05:42:00 +02:00
Richard Davey
9080dbf1fd Updated documentation to explain about calling convertTiles 2023-08-15 23:37:05 +01:00
Rex
cd3646c850 Uses current faces to do hit-testing 2023-08-10 12:04:41 +08:00
Trissolo
d3c2afc9a5 The intersection test between the given Line and the line segment between the first and last point is no longer skipped 2023-08-09 06:54:22 +02:00
Alvaro Estrada
d4dd2ca77b
Merge branch 'photonstorm:master' into ParticleEmitterConfig-Type-Fix 2023-08-08 13:27:46 +00:00
Alvaro Estrada
6177670abc Update return type of emitParticle
The function emitParticle can also return undefined when the particle max limit has been reached
2023-08-08 07:07:49 -06:00
Richard Davey
c5d53f9e94 Fixed typo 2023-08-08 13:08:54 +01:00
Alvaro Estrada
f01af5ba3a Update ParticleEmitterConfig.js
- Fixed the Texture type in the ParticleEmitterConfig
2023-08-07 23:15:25 -06:00
Alvaro Estrada
6bc801ddff Update ParticleEmitterConfig.js
- Fixed a typo
- Updated JSDoc so ParticleEmitterConfig refers to EmitZoneObject and EmitZoneObject[] instead of EdgeZoneConfig and RandomZoneConfig
- Updated JSDoc so ParticleEmitterConfig refers to DeatZoneObject and DeathZoneObject[] instead of DeathZoneConfig
2023-08-07 18:14:00 -06:00
Richard Davey
904d1f446f Generate phaser.json 2023-08-07 18:52:02 +01:00
Trissolo
f4e0f018ba Add Phaser.Geom.Line#setFromObjects() 2023-08-04 06:38:34 +02:00
Trissolo
1ea1c9313c Added two optional parameters, 'updateSize' and 'updateOrigin', which are used as second and third arguments when setting the frame. In fact 'setFrame()' takes three arguments 2023-08-02 11:17:20 +02:00
Trissolo
255eb85723 Added missing parameter to some function calls 2023-08-02 10:40:10 +02:00
Richard Davey
ab9fced253 Fixed breaking typo introduced by #6474 2023-08-01 21:15:01 +01:00
Richard Davey
ae249a0ef7 Update CHANGELOG-v3.61.md 2023-08-01 13:45:01 +01:00
Richard Davey
8e1809688c The WebGLRenderer will now validate that the mipmapFilter property in the Game Config is a valid mipmap before assigning it. 2023-08-01 13:44:58 +01:00