Commit graph

3128 commits

Author SHA1 Message Date
Richard Davey
c44dbccedc The PathFollower.pathUpdate method will now check if the tween property has a valid data component before running the update. This prevents a call to PathFollower.stopFollow from throwing a Cannot read properties of null (reading '0') error as it tried to do a single update post stop. Fix #6508 2023-07-21 18:20:38 +01:00
Richard Davey
4fa348e161 Group.createFromConfig will now check to see if the config contains either internalCreateCallback or internalRemoveCallback and set them accordingly. This fixes an issue where the callbacks would never be set if specified in an array of single configuration objects. Fix #6519 2023-07-21 18:12:33 +01:00
Richard Davey
7d4e6a3688 When using interpolation for a Particle Emitter operation, such as: x: { values: [ 50, 500, 200, 800 ] } it would fail to set the final value unless you specified the interpolation property as well. It now defaults to linear if not given. Fix #6551 2023-07-21 17:33:13 +01:00
Richard Davey
a17c6f78e9 Particle.alpha is now clamped to the range 0 to 1 within the update method, preventing it from going out of range. Fix #6551 2023-07-21 17:18:59 +01:00
Richard Davey
56254d0114 The Rope Game Object now calls initPostPipeline allowing you to use Post FX directly on it, such as glow, blur, etc. Fix #6550 2023-07-21 17:07:32 +01:00
Richard Davey
b266223318 Modified method name to be plural 2023-07-21 16:57:48 +01:00
Richard Davey
a4e53acc33
Merge pull request #6453 from rexrainbow/particles-clear-zones
Add methods to clear EmitZone or DeathZone
2023-07-21 16:55:22 +01:00
Richard Davey
b3e1b77686 Updated jsdocs 2023-07-21 16:54:51 +01:00
Richard Davey
0db2134c2e
Merge pull request #6505 from Ariorh1337/6504
6504: add letter spacing
2023-07-21 16:48:45 +01:00
Richard Davey
31a0fe0303
Merge pull request #6480 from EmilSV/bitmaptext_render_fix
BitmapText now reset texture unit on flush
2023-07-21 16:36:27 +01:00
Richard Davey
bce1e48040
Merge pull request #6494 from samme/docs/particle-emitter-xy
Docs: particleX and particleY are updatable ops
2023-07-21 16:06:53 +01:00
Richard Davey
63234a2add Text.setRTL is a new method that allows you to set a Text Game Object as being rendered from right-to-left, instead of the default left to right (thanks @rexrainbow) 2023-07-21 16:03:43 +01:00
Richard Davey
c678807d69
Merge pull request #6517 from rexrainbow/text-setrtl
Add setRTL method
2023-07-21 15:57:10 +01:00
Richard Davey
fb3c85888b Typo fix 2023-06-11 22:37:06 +01:00
Rex
ba5eb16aeb Add setRTL method 2023-05-31 21:01:15 +08:00
Dmitry Omelchenko
b84ee33cc2 add letter spacing 2023-05-13 04:50:37 +03:00
samme
1149ad2fc5 Docs: particleX and particleY are updatable ops 2023-05-04 16:32:38 -07:00
Richard Davey
ed180bcc44 Particle.scaleY would always be set to the scaleX value, even if given a different one within the config. It will now use its own value correctly. 2023-04-19 17:58:48 +01:00
Emil Schnedler Vad
0d06b87c9e BitmapText now reset texture unit on flush 2023-04-19 15:37:17 +02:00
Richard Davey
6b55674d89 Update ParticleEmitterConfig.js 2023-04-12 08:49:58 +01:00
Richard Davey
4ccf0371ec Remove visible check, so they render to DynamicTextures again 2023-04-12 07:10:52 +01:00
Richard Davey
63a852779a Return array of zones 2023-04-12 02:07:59 +01:00
Richard Davey
1c6e0c81d1
Merge pull request #6462 from EmilSV/particle-render-fix
fixed particle using a white texture if flush happened
2023-04-12 01:54:43 +01:00
Richard Davey
4a892c007d Removed 'removeVideoElementOnDestroy' and better docs 2023-04-12 01:46:45 +01:00
Richard Davey
136c2fee42 Updated video events 2023-04-12 01:46:32 +01:00
Richard Davey
08556b2695 Delete VIDEO_TIMEOUT_EVENT.js 2023-04-12 01:46:23 +01:00
Richard Davey
ce05f42759 Update VideoFactory.js 2023-04-12 00:39:34 +01:00
Richard Davey
ff3f92f4d5 Test for ended state. Fix #5873 2023-04-12 00:39:30 +01:00
Richard Davey
9cd1fa45fb Updated jsdocs 2023-04-12 00:08:42 +01:00
Richard Davey
3af1d9002c Reset playCalled on complete. Emit new texture ready event. 2023-04-12 00:01:15 +01:00
Richard Davey
950fabe306 Added texture ready event 2023-04-12 00:00:58 +01:00
Richard Davey
8c2e591362 Moved PLAY event to after texture creation. Added frameReady property. Better paused handling. 2023-04-11 19:46:13 +01:00
Richard Davey
93620ca39e Fixed markers and video looping 2023-04-11 18:26:46 +01:00
Richard Davey
8412e53df3 Working perfectly for modern and legacy browsers. 2023-04-11 17:03:00 +01:00
Richard Davey
257fdaed4f All now working via promise + rvf flow 2023-04-11 02:05:56 +01:00
Richard Davey
bff9184329 Added new unsupported event 2023-04-11 02:05:37 +01:00
Richard Davey
45646c52a2 Nearly finished refactoring of RVF / Promise path of Video game object 2023-04-11 00:57:11 +01:00
Richard Davey
368cb4a146 Added new Video events 2023-04-11 00:39:14 +01:00
Richard Davey
90654dedc1 Updated docs 2023-04-11 00:39:03 +01:00
Richard Davey
af9a67f0a4 Update Video.js 2023-04-10 19:51:26 +01:00
Emil Schnedler Vad
c4327de589 fixed particle using a white texture if flush happen 2023-04-09 17:54:57 +02:00
Emil Schnedler Vad
bc6ec0a124 reverted using getTextBounds for cotainer getBounds() 2023-04-08 20:37:12 +02:00
Richard Davey
6b6077f62b Recoding Video Game Object 2023-04-07 19:18:54 +01:00
Richard Davey
afe5401a25 Add missing String cast. Fix #6451 2023-04-05 14:47:00 +01:00
Rex
1e4b807656 Add methods to clear EmitZone or DeathZone 2023-04-05 16:36:29 +08:00
Richard Davey
49d56e7dc4 Added new clearFX method and tidied up the docs and functions for FX removal. Fix #6451 2023-04-04 15:46:11 +01:00
Richard Davey
715ee10367 Clarifying the docs. Fix #6446 2023-04-03 18:30:05 +01:00
Richard Davey
01afa66230 clear now has 2 arguments to clear pre/post or both. Fix #6440 2023-03-31 14:45:37 +01:00
Richard Davey
6d539ab1c4
Merge pull request #6419 from kainage/fix-particle-lifespan
Fix ParticleEmitter#setParticleLifespan
2023-03-31 14:27:20 +01:00
Richard Davey
09ebf4048e Removed use of 'Add' (don't need exclusive check) and fixed index 0 offset errors 2023-03-30 15:49:03 +01:00