Commit graph

11822 commits

Author SHA1 Message Date
Richard Davey
452987bc3d
Merge pull request #6325 from samme/docs/createFromTiles
Docs: correct type for `CreateFromTiles()` etc.
2022-12-19 16:36:30 +00:00
Richard Davey
91a1b351f0 Testing tint vs color 2022-12-19 13:48:53 +00:00
samme
390b4f577b Docs: correct type for CreateFromTiles() etc.
`replacements` is nullable
2022-12-19 03:28:40 -08:00
Richard Davey
0c575fd859 Remove un-used parameter 2022-12-18 17:22:39 +00:00
Richard Davey
b267c607d2 Measure and Snap block freq read 2022-12-18 17:22:26 +00:00
Richard Davey
b71b29d353 Added EmitterOps jsdocs 2022-12-17 18:56:44 +00:00
Richard Davey
34c159b678 Added speed getter 2022-12-17 17:54:08 +00:00
Richard Davey
b8094cc078 Fixed null comparison 2022-12-17 17:51:35 +00:00
samme
868c299c62 Docs: correct GetShortestDistance()
Fixes #6322
2022-12-17 06:59:53 -08:00
Richard Davey
da96b39179 Fixed flow of position and velocity and allowed bounce and moveTo to be updateable 2022-12-15 17:32:15 +00:00
Richard Davey
cad71d1747 Updated docs and made moveToX/Y and bounce onUpdate'able 2022-12-15 17:31:47 +00:00
Richard Davey
f344b2109e Added support for stepped yoyo and fixed random max value 2022-12-15 17:31:17 +00:00
Richard Davey
9c52f8a651 Testing all ops as onUpdate capable 2022-12-15 13:33:58 +00:00
Richard Davey
380e2ca760 Access values from new ops object 2022-12-15 00:51:22 +00:00
Richard Davey
bf870d5165 Swapped to new ops object and public getters 2022-12-15 00:51:11 +00:00
Richard Davey
e5695cabff If it's a new callback we need it 2022-12-15 00:40:23 +00:00
Richard Davey
2879b12a10 Added active, method, getMethod and new setMethod functions. Optimized flow. 2022-12-15 00:34:34 +00:00
Richard Davey
b553398ad8 Testing using _x for EmitterOps and public accessors 2022-12-14 18:42:53 +00:00
Richard Davey
3bb68b45ae Better destroy handling. preUpdate won't run unless active. Added setEmitterAnims method. 2022-12-14 18:16:03 +00:00
Richard Davey
3efc22a127 Added AnimationState component and related properties, Event Emitter proxy and destroy method 2022-12-14 18:12:50 +00:00
Richard Davey
98b0123004 Move configs to global vars, save memory. Add getAnim and setAnim and related properties. Vastly improve destroy handling. 2022-12-14 18:12:23 +00:00
Richard Davey
c4ba83819b AnimationManager.getAnimsFromTexture is a new method that will return all global Animations, as stored in the Animation Manager, that have at least one frame using the given Texture. This will not include animations created directly on local Sprites. 2022-12-14 17:44:13 +00:00
Richard Davey
dd8f9e42b0 Now uses setQuad and skips particles with scale o 2022-12-14 16:38:22 +00:00
Richard Davey
67088c1075 Fixed return type 2022-12-14 16:38:04 +00:00
Richard Davey
6867ca5b82 Give Particles an animation component 2022-12-13 18:51:15 +00:00
Richard Davey
1121cedf60 Adding in Particle Manager destroy handling 2022-12-13 18:51:04 +00:00
Richard Davey
4b4473394c Debugging circle collision 2022-12-13 18:24:41 +00:00
Richard Davey
6bfa3c37af
Merge pull request #6319 from 0day-oni/master
Add additional type to orientation property
2022-12-13 17:07:47 +00:00
Pavle Goloskokovic
9eb69e8c0a fixed text related paths in phaser-core.js 2022-12-13 16:36:50 +01:00
Oni
6d9eebd45e Add additional type to orientation property 2022-12-13 16:14:42 +01:00
Richard Davey
e2539824ec Update World.js 2022-12-13 13:41:17 +00:00
Richard Davey
c5c2d2b329 Fixing the separation of non-pushable circular bodies 2022-12-13 01:56:23 +00:00
Richard Davey
e1c33cc9e9 When a Game Object had Input Debug Enabled the debug image would be incorrectly offset if the Game Object was attached to was scaled and the hit area shape was smaller, or offset, from the Game Object. Fix #4905 #6317 2022-12-12 17:12:58 +00:00
Richard Davey
1302c1724f An inactive Scene is no longer updated after a Scene transition completes. Previously, it will still update the Scene one final time. This fix also prevents the POST_UPDATE event from firing after the transition is over. Fix #5550 2022-12-12 14:57:37 +00:00
Richard Davey
b5312b86fa The SceneManager.processQueue method will no longer return if a new Scene was added, after starting it. This allows any other queued operations to still be run in the same frame, rather than being delayed until the next game frame. Fix #5359 2022-12-12 14:51:05 +00:00
Richard Davey
6d0fd99a13 Spelling fix 2022-12-09 18:44:32 +00:00
Richard Davey
d67654eb0d Preparing for Beta 18 2022-12-09 18:24:54 +00:00
Richard Davey
a39cebf7dc Removed old code 2022-12-09 18:19:53 +00:00
Richard Davey
3d1e2f952f Typo fixes 2022-12-09 18:17:26 +00:00
Richard Davey
8f8309a945 Camera.scrollX and scrollY will now only set the Camera.dirty flag to true if the new value given to them is different from their current value. This allows you to use this property in your own culling functions. Fix #6088 2022-12-09 18:14:38 +00:00
Richard Davey
538b7ecff3 Revert to correct list. Fix #6306 2022-12-09 18:04:04 +00:00
Richard Davey
bda73034e3 May as well use cached value 2022-12-09 18:03:50 +00:00
Richard Davey
c53dc4a5a1 Removed alwaysEnabled property entirely. #5507 #6306 2022-12-09 18:03:41 +00:00
Richard Davey
9140bedd34 Added missing lineSpacing property 2022-12-09 16:01:02 +00:00
Richard Davey
a41247e2d9 Fixed incorrect jsdocs #6309 2022-12-09 15:59:02 +00:00
Richard Davey
784f04cf61
Merge pull request #6309 from arbassic/master
Add `lineSpacing` property and `setLineSpacing` method to BitmapText
2022-12-09 15:55:15 +00:00
Richard Davey
d44db46253
Merge pull request #6300 from EmilSV/spread_step_fix
fixed Phaser.Actions.Spread step value so the last element is equal max
2022-12-09 15:37:58 +00:00
Richard Davey
380100c4c1 Fix height math and update docs 2022-12-08 22:48:46 +00:00
Richard Davey
a6135be4eb Clamp min width/height 2022-12-08 22:44:40 +00:00
Richard Davey
fe93dab2c9 Added NineSlice factory 2022-12-08 22:44:31 +00:00