Commit graph

18508 commits

Author SHA1 Message Date
Richard Davey
36bbc88995 Removed HexagonalWorldToTileY as it cannot work without an X value 2022-11-24 12:41:42 +00:00
Richard Davey
38eb8d200c Update CHANGELOG-v3.60.md 2022-11-24 00:42:17 +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
b19cf6395f Update CHANGELOG-v3.60.md 2022-11-24 00:30:45 +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
18c1f03a2f Update CHANGELOG-v3.60.md 2022-11-23 16:14:17 +00: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
48ff80e7a5 Update CHANGELOG-v3.60.md 2022-11-23 15:24:58 +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
Richard Davey
906d4883eb Update CHANGELOG-v3.60.md 2022-11-23 14:22:39 +00:00
Richard Davey
e0a8486dbc Update BitmapTextWord.js 2022-11-23 14:22:13 +00:00
Richard Davey
bc166eeaf1 Update CHANGELOG-v3.60.md 2022-11-23 00:29:14 +00:00
Richard Davey
5d77e1fdc8 Particle.fire will now check to see if the parent Emitter is set to follow a Game Object and if so, and if the x/y EmitterOps are spread ops, then it'll space the particles out based on the follower coordinates, instead of clumping them all together. Fix #5847 2022-11-23 00:29:12 +00:00
Richard Davey
3423592236 Update CHANGELOG-v3.60.md 2022-11-22 23:51:22 +00:00
Richard Davey
5f35c016f3 Upgrade Earcut
Earcut has been updated to version 2.2.4. This release improves performance by 10-15% and fixes 2 rare race conditions that could leave to infinite loops. Earcut is used internally by Graphics and Shape game objects when triangulating polygons for complex shapes.
2022-11-22 23:51:20 +00:00
Richard Davey
64ede38b9d Added more docs confirming overrides. Fix #6046 2022-11-22 23:37:20 +00:00
Richard Davey
bbf8aa2ea2 Update CHANGELOG-v3.60.md 2022-11-22 22:58:50 +00:00
Richard Davey
03b1ed62d1 When using RTL (right-to-left) Text Game Objects, the Text would vanish on iOS15+ if you changed the text or font style. The context RTL properties are now restored when the text is updated, fixing this issue. Fix #6121 2022-11-22 22:58:48 +00:00
Richard Davey
134ec5901a Added defs index 2022-11-22 21:58:30 +00:00
Richard Davey
c3a7727852 Update SpineGameObject.js 2022-11-22 21:55:33 +00:00
Richard Davey
886920155b Add generics 2022-11-22 21:55:30 +00:00
Richard Davey
db563f9caf Update README.md 2022-11-22 21:55:20 +00:00
Richard Davey
49c2f106b5 Swapped to non-instance based checks and added generics 2022-11-22 20:35:59 +00:00
Richard Davey
d5c216a3b2 Update CHANGELOG-v3.60.md 2022-11-22 18:49:40 +00:00
Richard Davey
9bdf022bed The BaseSoundManager.getAll method used to require a key parameter, to return Sounds matching the key. This is now optional and if not given, all Sound instances are returned. 2022-11-22 18:49:37 +00:00
Richard Davey
b15880bdea Update CHANGELOG-v3.60.md 2022-11-22 18:38:52 +00:00
Richard Davey
320317c884 The WebAudioSoundManager will now detect if the Audio Context enters a 'suspended' or 'interrupted' state as part of its update loop and if so it'll try to resume the context. This can happen if you change or disable the audio device, such as plugging in headphones with built-in audio drivers then disconnecting them, or swapping tabs on iOS. Fix #5353 2022-11-22 18:38:49 +00:00
Richard Davey
ee2b5f5e35 Clarify jsdocs. Fix #6043 2022-11-22 18:26:13 +00:00
Richard Davey
5d2a829ffe Update CHANGELOG-v3.60.md 2022-11-22 18:13:06 +00:00
Richard Davey
9357b8e609 The RenderTarget class will now create a Framebuffer that includes a Depth Stencil Buffer attachment by default. Previously, it didn't. By attaching a stencil buffer it allows things like Geometry Masks to work in combination with Post FX and other Pipelines. Fix #5802 2022-11-22 18:13:03 +00:00
Richard Davey
899bbfc6df Update package-lock.json 2022-11-22 17:41:03 +00:00
Richard Davey
dea8fb84a1 Update CHANGELOG-v3.60.md 2022-11-22 17:41:00 +00:00
Richard Davey
e7efa068a7 Previously, calling createBitmapMask on a Shape Game Object would fail unless you passed the shape to the method. Now, it will correctly create a mask from the Shape without needing to pass it. Fix #5976 2022-11-22 17:40:56 +00:00
Richard Davey
95ef3f9c25 Update Container.js 2022-11-22 00:19:02 +00:00
Richard Davey
152f2db66d Update CHANGELOG-v3.60.md 2022-11-21 23:26:47 +00:00
Richard Davey
436a42cfb4 The InputPlugin.sortGameObjects method was using the Camera Render List to determine the Game Object display list. This would exclude non-rendering objects, such as Game Objects with alpha set to zero, even if their Input alwaysEnable flag was set. This method now uses the Display List instead, which gives correct results for invisible 'always enabled' objects. Fix #5507 2022-11-21 23:26:44 +00:00
Richard Davey
154e262ae8 No point doing this twice 2022-11-21 22:46:01 +00:00
Richard Davey
3a8fcfce68 Update CHANGELOG-v3.60.md 2022-11-21 21:38:57 +00:00
Richard Davey
45fbebb53a BaseSoundManager.getAllPlaying is a new method that will return all currently playing sounds in the Sound Manager.
Fix #6147
2022-11-21 21:38:54 +00:00
Richard Davey
d48f74b9d7 Deps update 2022-11-21 21:10:58 +00:00
Richard Davey
12992704e3 Update CHANGELOG-v3.60.md 2022-11-18 22:15:34 +00:00
Richard Davey
d71b53a7f5 Updated jsdocs. Fix #5981 2022-11-18 22:14:59 +00:00
Richard Davey
b6613cb6dd Update CHANGELOG-v3.60.md 2022-11-18 22:09:08 +00:00
Richard Davey
0f4bd028ce Corrected jsdocs. Fix #6113 2022-11-18 22:09:05 +00:00
Richard Davey
40546012b3 Update CHANGELOG-v3.60.md 2022-11-18 22:04:42 +00:00