Commit graph

2985 commits

Author SHA1 Message Date
Richard Davey
b25337b4e8 setTexture on a 3-slice should change the height now. #6350 2023-01-19 15:15:42 +00:00
Richard Davey
9101bfe5cb Added setSlices method. Fix #6350 2023-01-19 15:12:51 +00:00
Richard Davey
333e766485 Use Clamp 2023-01-18 18:30:07 +00:00
Richard Davey
c906568544 Expose ParticleBounds 2023-01-18 16:54:49 +00:00
Richard Davey
566b74e70e Removed unused code and tidied formatting 2023-01-18 16:54:43 +00:00
Richard Davey
30fc7d5123 Moved method 2023-01-18 16:54:32 +00:00
Richard Davey
1193f8811f The Particle DeathZone.willKill method now takes a Particle instance as its only parameter, instead of x and y coordinates, allowing you to perform more complex checks before deciding if the Particle should be killed, or not. 2023-01-18 16:41:19 +00:00
Richard Davey
9549c90b9f Removed 'bounds' and collide flags + fast ops and changed 'setParticleBounds' to 'addParticleBounds' to better identify it 2023-01-17 23:24:04 +00:00
Richard Davey
528feb8fae Fixed links 2023-01-17 23:23:18 +00:00
Richard Davey
2758c6edfc Updated docs 2023-01-17 23:23:05 +00:00
Richard Davey
e7d6328d80 Fixed the update function and added docs 2023-01-17 23:00:26 +00:00
Richard Davey
60bc8f1b6c Add the new worldPosition Vector2 and update it 2023-01-17 23:00:14 +00:00
Richard Davey
bfb3008efe Don't create the temp parentMatrix if all we're doing is making a local matrix 2023-01-17 22:59:55 +00:00
Richard Davey
f7f70ac63b Update ParticleEmitter.js 2023-01-17 20:39:12 +00:00
Richard Davey
815acd71cf Testing moving Emitter bounds to a ParticleProcessor 2023-01-17 18:42:06 +00:00
Richard Davey
27a6c60392 Tidied up jsdocs 2023-01-17 12:33:31 +00:00
Richard Davey
bf0064f0e8 Added ParticleEmitter.hold emitter op 2023-01-17 12:17:07 +00:00
Richard Davey
389b2889ee Typed return object 2023-01-17 11:53:36 +00:00
Richard Davey
7576666eb6 Fixed path 2023-01-16 16:09:45 +00:00
Richard Davey
5a96f528f9 Fixed jsdocs and removed functions not needed 2023-01-16 16:03:47 +00:00
Richard Davey
acbcaf1c69 Update Transform.js 2023-01-16 16:03:31 +00:00
Richard Davey
fc08015f92
Merge pull request #6342 from samme/docs/misc-9
Docs
2023-01-15 21:04:07 +00:00
samme
abf5df32c6 Docs: Phaser.GameObjects.GameObject#addToUpdateList
Correct description
2023-01-14 12:46:47 -08:00
Richard Davey
9841602bbe Renamed matrix, removed old one and added death zone handling on spawn 2023-01-13 18:15:14 +00:00
Richard Davey
6abb358e50 fire returns a boolean. Re-ordered ops and added death zone check on spawn. 2023-01-13 18:14:53 +00:00
Richard Davey
f1ab07d9b2 willKill takes coordinates now, not a Particle 2023-01-13 18:14:29 +00:00
Richard Davey
faec614cc4 Added counter getters and fixed while loop 2023-01-13 17:25:31 +00:00
Richard Davey
db5a064fd0 Update ParticleEmitterConfig.js 2023-01-12 15:59:26 +00:00
Richard Davey
795fed6bb7 Update ParticleEmitterConfig.js 2023-01-11 18:30:39 +00:00
Richard Davey
8d39dbfca4 Re-order ops then props. Added colorEase. 2023-01-11 18:30:35 +00:00
Richard Davey
634e9991b0 Added setEase 2023-01-11 18:30:23 +00:00
Richard Davey
0ad530e790 Exposed EmitterColorOp 2023-01-11 17:35:45 +00:00
Richard Davey
9c2dfc147b Updated documentation 2023-01-11 17:35:36 +00:00
samme
9db1aa2349 Docs: make Graphics defaults read only 2023-01-11 09:31:00 -08:00
samme
90378c6e79 Docs: make originX and originY read only 2023-01-11 09:29:58 -08:00
Richard Davey
e77bd80587 Add new EmitterColorOp and support for it on WebGL 2023-01-11 00:34:35 +00:00
Richard Davey
f770be1cca Fixed return type 2023-01-10 23:25:13 +00:00
Richard Davey
e9c6afca74 Allow to set texture via config. Order ops alphabetically. 2023-01-10 23:01:40 +00:00
Richard Davey
f6e33ce064 Fixed EmitterCreator 2023-01-10 22:49:15 +00:00
Richard Davey
7308d1e6f8 Update SpriteConfig.js 2023-01-10 22:49:07 +00:00
Richard Davey
3eaf5d5679 Fixed Factory jsdocs 2023-01-10 22:04:10 +00:00
Richard Davey
b3dcd4f989 Fixing jsdocs 2023-01-10 21:41:28 +00:00
Richard Davey
891666e3cd Removed ParticleEmitterManager and merged changes into ParticleEmitter 2023-01-10 21:23:44 +00:00
Richard Davey
34f5e9522b Fixed frame and animation settings, removed unused props, tidied up setters ready for Emitter take-over 2023-01-10 18:52:41 +00:00
Richard Davey
b5e9cc9a7b Testing Emitter2 stand-alone 2023-01-09 18:12:19 +00:00
Richard Davey
fffd2bcb04 Create ParticleEmitter2.js 2023-01-06 18:44:20 +00:00
Richard Davey
6560c868ae Fixed set methods and a typo 2023-01-06 17:41:01 +00:00
Richard Davey
ff94396f05 Set default or the emitter config property won't work 2023-01-06 14:08:14 +00:00
Richard Davey
690f9444ec Fixed Emitter.getBounds and use of viewBounds 2023-01-06 13:55:13 +00:00
Richard Davey
3dbc513e9c Debugging MergeRect 2023-01-05 18:46:23 +00:00