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 |
|
Richard Davey
|
50efdf0ab7
|
Complete 9-slice vertices done
|
2022-12-06 19:37:24 +00:00 |
|
Richard Davey
|
715002df86
|
Add alpha value
|
2022-12-06 18:30:33 +00:00 |
|
Richard Davey
|
468548c918
|
Skip alpha zero verts
|
2022-12-06 18:30:22 +00:00 |
|
Richard Davey
|
f8ae7c8bab
|
Now created via addQuad method
|
2022-12-06 18:02:32 +00:00 |
|
Richard Davey
|
4e8d0efb1e
|
Render direct from vertices, not Faces
|
2022-12-06 18:02:16 +00:00 |
|
Richard Davey
|
fbc15ccfff
|
The Vertex.update method now returns this to allow it to be chained.
|
2022-12-06 18:00:11 +00:00 |
|
Richard Davey
|
b3c7cc83d7
|
Preparing for 12 area calculations
|
2022-12-06 13:39:07 +00:00 |
|
Richard Davey
|
b84aecb1d4
|
Added docs (from Pixi) and finished 3-slice scaling
|
2022-12-05 22:58:49 +00:00 |
|
Richard Davey
|
890cf74e8d
|
Move here until it goes into its own example
|
2022-12-05 22:58:30 +00:00 |
|
Richard Davey
|
657a33da8c
|
Moved data to arrays and added config object
|
2022-12-05 21:43:35 +00:00 |
|
Richard Davey
|
343ee5d216
|
Added config object
|
2022-12-05 21:43:23 +00:00 |
|
arbassic
|
1fd986fe58
|
fix JSDocs
|
2022-12-05 22:32:23 +01:00 |
|
arbassic
|
9fe15df66b
|
fix JSDocs
|
2022-12-05 22:31:19 +01:00 |
|
arbassic
|
720cf7e296
|
better comment, include in toJSON
|
2022-12-05 22:14:55 +01:00 |
|
arbassic
|
aa0d9be861
|
Add lineSpacing property to BitmapText
|
2022-12-05 22:10:45 +01:00 |
|
Richard Davey
|
83cf8d12fc
|
Update NineSlice.js
|
2022-12-05 18:46:53 +00:00 |
|
Richard Davey
|
1f51d418db
|
Working through manual vertex creation
|
2022-12-05 18:21:57 +00:00 |
|
Richard Davey
|
72cfbbb741
|
Removed inView checks
|
2022-12-05 18:21:47 +00:00 |
|
Richard Davey
|
0d2cee6d97
|
Added transformIdentity and update methods
|
2022-12-05 18:21:39 +00:00 |
|
Richard Davey
|
6867136672
|
Testing Mesh based NineSlice Game Objectg
|
2022-12-02 18:07:20 +00:00 |
|
Richard Davey
|
65af3c0874
|
Don't abort of texture provided
|
2022-12-02 18:07:07 +00:00 |
|
Richard Davey
|
6080bca8e5
|
Testing Video events
|
2022-12-02 13:35:20 +00:00 |
|
Richard Davey
|
896afcb68f
|
Update DOMElement.js
|
2022-12-01 18:45:11 +00:00 |
|
Richard Davey
|
3b129f8cff
|
Calling setDisplayOrigin on a Video Game Object would cause the origins to be set to NaN if the Video was created without an asset key. It will now give Videos a default size, preventing this error, which is reset once a video is loaded. Fix #5560
|
2022-11-30 22:59:32 +00:00 |
|
Richard Davey
|
fa96337a30
|
Beta 17 prep
|
2022-11-30 22:58:47 +00:00 |
|
Christen Lofland
|
e52f1738ef
|
Fix Issue #6301 causing tilemap collisions to fail.
|
2022-11-30 15:28:59 -06:00 |
|
Emil Schnedler Vad
|
f32817f014
|
fixed step value so the last element is equal max
|
2022-11-30 18:57:45 +01:00 |
|
Richard Davey
|
1747cb67be
|
Preparing for Beta 16
|
2022-11-30 15:13:22 +00:00 |
|
Richard Davey
|
14ddd29fbd
|
Fixed TS errors
|
2022-11-30 15:06:52 +00:00 |
|
Richard Davey
|
f571fc68aa
|
Fix #6296
|
2022-11-30 13:48:22 +00:00 |
|
Richard Davey
|
1e9bb686d3
|
When calling PipelineManager.clear and rebind it will now check if the vao extension is available, and if so, it'll bind a null vertex array. This helps clean-up from 3rd party libs that don't do this directly, such as ThreeJS.
|
2022-11-29 23:38:47 +00:00 |
|
Richard Davey
|
8b6b398b68
|
When ImageFile loads with a linked Normal Map and the map completes first, but the Image is still in a pending state, it would incorrectly add itself to the cache instead of waiting. It now checks this process more carefully. Fix #5886
|
2022-11-29 18:11:29 +00:00 |
|
Richard Davey
|
5ae9cf7f09
|
Using a dataKey to specify a part of a JSON file when using load.pack would fail as it wouldn't correctly assign the right part of the pack file to the Loader. You can now use this parameter properly. Fix #6001
|
2022-11-29 17:47:58 +00:00 |
|
Richard Davey
|
2b4332a404
|
Update JSONFile.js
|
2022-11-29 17:47:52 +00:00 |
|
Richard Davey
|
993562d803
|
Update LoaderPlugin.js
|
2022-11-29 17:47:44 +00:00 |
|
Richard Davey
|
ffa54fe1c1
|
Fixed loader reference. Fix #6295
|
2022-11-29 15:45:02 +00:00 |
|
Richard Davey
|
8b38fd3641
|
Reduce warning
|
2022-11-29 15:24:10 +00:00 |
|
Richard Davey
|
8b8b8fa352
|
Merge pull request #6281 from Ariorh1337/master
fix advancedWordWrap concatenate when wrapping
|
2022-11-29 15:23:21 +00:00 |
|
Richard Davey
|
4346113fee
|
Merge pull request #6238 from ubershmekel/master
Introduce `SceneType` for ease and correctness
|
2022-11-29 14:33:39 +00:00 |
|
Richard Davey
|
b585d7c2dd
|
Merge pull request #6292 from samme/feature/arcade-physics-group-defaults
Add `maxSpeed` and `useDamping` to Arcade Physics group config
|
2022-11-29 14:19:43 +00:00 |
|
Richard Davey
|
c0a072b37d
|
Update GetTileCorners.js
|
2022-11-28 18:34:20 +00:00 |
|
Richard Davey
|
7f8a4eebf4
|
Update GetTileCorners.js
|
2022-11-28 18:33:36 +00:00 |
|
Richard Davey
|
91c731d609
|
Update GetTileCornersFunction.js
|
2022-11-28 18:32:06 +00:00 |
|
Richard Davey
|
4253db9a08
|
The Tilemap and TilemapLayer classes have a new method getTileCorners . This method will return an array of Vector2s with each entry corresponding to the corners of the requested tile, in world space. This currently works for Orthographic and Hexagonal tilemaps.
|
2022-11-28 18:31:20 +00:00 |
|
Richard Davey
|
f2aa880797
|
Update HexagonalTileToWorldXY.js
|
2022-11-28 18:16:01 +00:00 |
|
Richard Davey
|
3676881d57
|
Added comments
|
2022-11-28 17:34:18 +00:00 |
|
Richard Davey
|
f3e90518e5
|
Removed the HexagonalTileToWorldY function as it cannot work without an X coordinate. Use HexagonalTileToWorldXY instead.
|
2022-11-28 17:34:11 +00:00 |
|
Richard Davey
|
31ea1dc6da
|
Recoded the point conversion math in the HexagonalTileToWorldXY function as it was incorrect. Now returns world coordinates correctly.
|
2022-11-28 17:33:48 +00:00 |
|
Richard Davey
|
e760178365
|
Tile.copy will now use the DeepCopy function to copy the Tile.properties object, as otherwise it just gets copied by reference.
|
2022-11-28 13:35:15 +00:00 |
|
Richard Davey
|
27bbf9b2f5
|
Tilemap.copy would error if you copied a block of tiles over itself, even partially, as it tried to copy already replaced tiles as part of the function. It will now copy correctly, regardless of source or destination areas. Fix #6188
|
2022-11-28 13:35:04 +00:00 |
|
Richard Davey
|
18b25d5bc1
|
Update GetTilesWithin.js
|
2022-11-28 13:34:57 +00:00 |
|
Richard Davey
|
949852d8d5
|
Recoded the point conversion math in the HexagonalWorldToTileXY function as it was incorrect. Now detects any dimension hexagon correctly. Fix #5608
|
2022-11-24 23:31:49 +00:00 |
|
Richard Davey
|
5139d22814
|
Added debug code commented out
|
2022-11-24 23:11:11 +00:00 |
|
Richard Davey
|
84ef41f470
|
Fixed math for any layer scale
|
2022-11-24 23:11:01 +00:00 |
|
Richard Davey
|
ddd4eeaa53
|
Now works - time to tidy up
|
2022-11-24 21:29:58 +00:00 |
|
Richard Davey
|
d570b9b26b
|
Debugging hex coords
|
2022-11-24 18:54:17 +00:00 |
|
Richard Davey
|
c4b9dbc260
|
Added staggerAxis and staggerIndex
|
2022-11-24 18:54:10 +00:00 |
|
Richard Davey
|
b065452cc4
|
Debugging
|
2022-11-24 13:44:52 +00:00 |
|
Richard Davey
|
4bf7e1978f
|
WorldToTileXY now does all the calculations and X and Y just call it.
|
2022-11-24 12:51:18 +00:00 |
|
Richard Davey
|
36bbc88995
|
Removed HexagonalWorldToTileY as it cannot work without an X value
|
2022-11-24 12:41:42 +00:00 |
|
Richard Davey
|
cf657f4fc7
|
Calling Tilemap.worldToTileX or worldToTileY on a Isometric or Hexagonal Tilemap will now always return null instead of doing nothing, as you cannot convert to a tile index using just one coordinate for these map types, you should use worldToTileXY instead.
|
2022-11-24 00:42:13 +00:00 |
|
Richard Davey
|
70cf842b8c
|
Added NULL OP
|
2022-11-24 00:42:04 +00:00 |
|
Richard Davey
|
c8b40de29c
|
Improved jsdocs
|
2022-11-24 00:41:55 +00:00 |
|
Richard Davey
|
6aa193c21b
|
Added new getIsoTileAtWorldXY method.
|
2022-11-24 00:27:01 +00:00 |
|
Richard Davey
|
25bc5dec90
|
Fixed world to isometric conversion and added optional base origin property.
Fix #5781
|
2022-11-24 00:26:40 +00:00 |
|
samme
|
995edbbe85
|
Add maxSpeed and useDamping to physics group config
|
2022-11-23 09:06:44 -08:00 |
|
Richard Davey
|
fa6963319a
|
The Game.headlessStep method will now reset SceneManager.isProcessing before PRE_RENDER . This fixes issues in HEADLESS mode where the Scene Manager wouldn't process additionally added Scenes created after the Game had started. Fix #5872 #5974
|
2022-11-23 16:14:15 +00:00 |
|
Richard Davey
|
384276ef0e
|
If Rope.setPoints was called with the exact same number of points as before, it wouldn't set the dirty flag, meaning the vertices were not updated on the next render
|
2022-11-23 15:24:55 +00:00 |
|
Richard Davey
|
c0e592770f
|
Update BitmapTextWord.js
|
2022-11-23 15:10:50 +00:00 |
|