Commit graph

11803 commits

Author SHA1 Message Date
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
Richard Davey
73c7cf6d7a Updated jsdocs 2022-12-08 22:44:19 +00:00
Richard Davey
e304952a8b Added NineSlice Creator functions 2022-12-08 22:43:44 +00:00
Richard Davey
0d9bd568e5 Correct type 2022-12-08 22:43:28 +00:00
Richard Davey
8de87cfeca Height now locked for a 3-slice object 2022-12-08 18:55:09 +00:00
Richard Davey
5d4dd9d918 Added full documentation, 3-slice support, support for frames in texture atlases and changing frames 2022-12-08 18:41:09 +00:00
Richard Davey
77c87475d8 Updated jsdocs 2022-12-08 18:40:14 +00:00
Richard Davey
96bbc1dfd5 Revised jsdoc return type 2022-12-08 16:23:56 +00:00
Richard Davey
2d409cbe54 Now supports origin component 2022-12-08 16:19:29 +00:00
Richard Davey
45c0c23f6f Added origin to resize method 2022-12-08 16:17:10 +00:00
Richard Davey
fea262f3e0 Testing origin 2022-12-07 18:51:26 +00:00
Richard Davey
cb124bf9a5 Uses new vertexAvailable check and src tint and alpha 2022-12-07 18:30:08 +00:00
Richard Davey
c7475151ae Added FX, GetBounds, Origin components and Tint methods 2022-12-07 18:29:40 +00:00
Richard Davey
7a5d138271 Testing deleting renderbuffer #6311 2022-12-07 18:29:11 +00:00
Richard Davey
c09240124d New parameters and docs 2022-12-07 18:28:51 +00:00
Richard Davey
c4655bfb6d Changed to resize method 2022-12-07 18:28:35 +00:00
Richard Davey
7996f4eb9e Removed un-needed method 2022-12-07 18:28:25 +00:00
Richard Davey
a813f9c229 WebGLPipeline.vertexAvailable is a new method that returns the number of vertices that can be added to the current batch before it will trigger a flush. 2022-12-07 18:28:17 +00:00
Richard Davey
00564508d4 Tidying up 2022-12-06 22:48:26 +00:00
Richard Davey
4dcef816b9 Vertex updating working 2022-12-06 22:45:13 +00:00