Richard Davey
6cda06c6b2
The Text.dirty
Game Object property has been removed. It wasn't used internally at all, so was just adding confusion and using space.
2023-09-27 16:58:25 +01:00
Alvaro Estrada
73a1d96b48
Correction
...
Made a correction, my previous assumption was that the particleData stored a copy of the configuration data, but after further review of the code only the min and max values are ever used. Any further extensions of the code will need to have these properties.
2023-09-25 13:57:03 -06:00
Alvaro Estrada
1ce053c7a7
Removed interface EmitterOpRandomStartEndConfig
...
The interface EmitterOpRandomStartEndConfig, even though it is another path to configure a random emit value, it does not fully describe that all the options for the EmitterOpEaseConfig are available to use. Instead it is better to add to the description of the EmitterOpEaseConfig that there is a random start value option available.
2023-09-24 23:51:44 -06:00
Alvaro Estrada
9b4d41d1bf
Fixed a typo, changed 'Interal' for 'Internal'
2023-09-24 22:49:42 -06:00
Alvaro Estrada
1888025575
Added to the description that EmitterColorOp is an extension of the EmitterOp class.
2023-09-24 22:48:21 -06:00
Chris
56c45ad6de
Update matter.d.ts
...
add missing property
2023-09-23 16:03:01 -07:00
samme
76a6786fba
Docs: change persists
to persist
2023-09-23 08:12:22 -07:00
Richard Davey
e21c6f4596
Update README.md
2023-09-22 18:46:08 +01:00
Rex
1704e2ca5a
Add read-only originX, originY properties
2023-09-21 11:10:49 +08:00
Rex
8f061e1039
Update remove, removeAll, add methods
2023-09-21 00:40:53 +08:00
Alvaro Estrada
787c534ff1
Update ParticleEmitter.js
...
Made AddEmitZone and AddDeathZone work more similar.
* AddDeathZone returns an output array
* AddEmitZone checks for the validity of the source needed methods
2023-09-20 10:27:36 -06:00
Alvaro Estrada
5c09d6e34d
Updated the description of DeathZoneObj
...
Switched the references of Circle, Ellipse, Polygon, and Triangle for only one reference to the DeathZoneSource
2023-09-19 12:15:34 -06:00
Alvaro Estrada
45b6292a0c
Constructor parameters correction
...
Defining stepRate as an optional parameter
2023-09-18 09:58:58 -06:00
Alvaro Estrada
62949f1d38
addEmitZone return correction
...
Changed the type of return
2023-09-14 13:01:37 -06:00
Alvaro Estrada
62eb820ba0
Type clarification for emit zone data
...
I have updated the definition of EmitZoneObject to exclusively represent EdgeZone or RandomZone objects, excluding their configurations. Previously, the emitZones property was either an array of RandomZones or an array of EdgeZones, not an Array that could hold either. With this change, emitZones is now represented as an array of EmitZoneObjects.
EmitZoneData takes over the role previously held by EmitZoneObject.
2023-09-14 12:35:31 -06:00
Richard Davey
cbb802bcff
Merge branch 'master' of https://github.com/photonstorm/phaser
2023-09-14 11:47:33 +01:00
Richard Davey
a1bc5e247b
Clarify set body docs further
2023-09-14 11:47:31 +01:00
Alvaro Estrada
6aa625b3cc
Description correction
2023-09-13 12:34:13 -06:00
Alvaro Estrada
5df5258c68
EmitterOpOnEmitCallback update
...
Changed the parameters to be optional since not all the onEmit calls actually pass parameters to the function, so there should be a warning about that
2023-09-13 12:31:29 -06:00
Richard Davey
883be33e8d
Merge pull request #6618 from samme/docs/loader-file-types
...
Docs: explain FileConfig.type values
2023-09-13 17:14:53 +01:00
samme
f7571462a0
Docs: explain FileConfig.type values
2023-09-13 08:28:57 -07:00
Alvaro Estrada
f56a74b668
Update Path.js
...
* Added a defaultDivisions property, this brings it to parity with singular curves implementation
* Added a stepRate parameter to the getPoints method, so it can pass this parameter to the curve's getPoints method when given
2023-09-11 09:49:46 -06:00
Alvaro Estrada
9d33475c5d
Changed the obligatory definition for an optional definition
2023-09-07 20:53:17 -06:00
Alvaro Estrada
7ff66e81bb
Fixed int type
...
Added int as possible undefined
2023-09-07 18:43:26 -06:00
Alvaro Estrada
953b316526
EmitterOpRandomMinMaxConfig type correction
...
Added the description of the "int" boolean property that was missing
2023-09-07 18:18:52 -06:00
Alvaro Estrada
0ed6d4030d
Created ParticleData description
...
Gave a description for the ParticleData type
2023-09-07 18:12:52 -06:00
Alvaro Estrada
2d32b53c1a
Added the use of Vector2Like
...
Changed the types of follow and followOffset to use the interface Vector2Like, this enable more objects to be used and not only gameobjects and better describe followOffset
2023-09-07 18:11:02 -06:00
Richard Davey
5238c0b193
Ready for 3.61 Beta 3
2023-09-07 18:15:47 +01:00
Richard Davey
e06ab0d364
Update CHANGELOG-v3.61.md
2023-09-07 18:12:30 +01:00
Richard Davey
bdcd99d070
Update CHANGELOG-v3.61.md
2023-09-07 18:00:21 +01:00
Richard Davey
59438ad874
Both the Animation Config and the Play Animation Config allow you to set a new boolean property randomFrame
. This is false
by default, but if set, it will pick a random frame from the animation when it _starts_ playback. This allows for much more variety in groups of sprites created at the same time, using the same animation. This is also reflected in the new Animation.randomFrame
and AnimationState.randomFrame
properties.
2023-09-07 18:00:18 +01:00
Richard Davey
5961b821aa
Added missing property
2023-09-07 17:24:19 +01:00
Richard Davey
de48d84699
Updated jsdocs
2023-09-07 17:21:32 +01:00
Richard Davey
232916e3fa
Fixed use of modified Wrap function
2023-09-07 16:42:41 +01:00
Richard Davey
521ef6907c
Update CHANGELOG-v3.61.md
2023-09-07 16:22:41 +01:00
Richard Davey
377cc6b37b
iOS and any browser identifying as AppleWebKit
will now set the Device.es2019
flag to true
. This causes Phaser to use the native array Stable Sort. This fixes an issue where overlapping particles could flicker on iOS. Fix #6483
2023-09-07 16:22:39 +01:00
Richard Davey
533ed6e47d
The ParticleEmitterWebGLRenderer
has been refactored so that the particle.frame
is used as the source of the glTexture
used in the batch and also if a new texture unit is required. This fixes issues where a Particle Emitter would fail to use the correct frame from a multi-atlas texture. Fix #6515
2023-09-07 16:14:06 +01:00
Richard Davey
522b3a05e2
Update CHANGELOG-v3.61.md
2023-09-07 15:20:03 +01:00
Richard Davey
962ff04538
If you gave the width
or height
in the Game Config object as a string it would multiply the value given by the parent size, often leading to a huge game canvas, or causing WebGL errors as it tried to create a texture larger than the GPU could handle. This has now been strengthened. If you give a string with a % at the end, it works as before, i.e. "100%"
or "50%"
to set the scale based on the parent. If you don't include the %, or use another unit, such as "800px"
it will now be treated as a fixed value, not a percentage.
2023-09-07 15:19:57 +01:00
Richard Davey
7da06a33a0
Update CHANGELOG-v3.61.md
2023-09-07 14:43:42 +01:00
Richard Davey
fe05501e38
The PostFXPipeline
will now set autoResize
to true
on all of its RenderTarget
instances. This fixes an issue where the PostFXPipeline
would not resize the render targets when the game size changed, causing them to become out of sync with the game canvas. Fix #6503 #6527
2023-09-07 14:43:36 +01:00
Richard Davey
461e615b03
Update CHANGELOG-v3.61.md
2023-09-07 14:09:50 +01:00
Richard Davey
540fe9ec9a
Merge pull request #6578 from rexrainbow/mesh-setinteractive-improve
...
Uses current faces to do hit-testing
2023-09-07 14:08:28 +01:00
Richard Davey
066bb9be18
Updated jsdocs
2023-09-07 14:07:44 +01:00
Richard Davey
6cbcfefe7b
Clarified jsdocs
2023-09-07 13:28:52 +01:00
Richard Davey
b57369347f
Merge pull request #6576 from PresentCreativeLLC/EmitParticle-Type-Fix
...
Update return type of emitParticle
2023-09-07 13:26:44 +01:00
Richard Davey
0cec5012b4
Merge pull request #6575 from PresentCreativeLLC/ParticleEmitterConfig-Type-Fix
...
Update ParticleEmitterConfig.js
2023-09-07 13:26:05 +01:00
Richard Davey
8622e611f7
Merge pull request #6595 from PresentCreativeLLC/ParticleEmitterFrameConfigFix
...
Update ParticleEmitterFrameConfig.js
2023-09-07 13:23:40 +01:00
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