Commit graph

12853 commits

Author SHA1 Message Date
Zeke Chan
49c32ba5c5 Added clear area functionality 2024-07-04 14:56:06 +08:00
Zeke Chan
02519c2ee5 Updated internal update method to MatterJS 0.20.0 2024-07-03 15:10:31 +08:00
Zeke Chan
f69411fd6b Integrated MatterCollisionEvents plugin 2024-07-01 17:20:58 +08:00
Zeke Chan
2bd89f1f29 Removed MatterCollisionEvents plugin 2024-07-01 17:20:43 +08:00
Zeke Chan
ea79f2be5c Update MatterPhysics.js 2024-07-01 16:55:07 +08:00
Zeke Chan
431e58aa0f Update Engine.js 2024-07-01 16:54:49 +08:00
Zeke Chan
ad2865f3fb Added attractors property 2024-07-01 16:54:35 +08:00
Zeke Chan
cff438b2f8
Merge pull request #6846 from samme/feature/direct-control-friction
Add friction for direct-control bodies
2024-06-29 14:52:02 +08:00
Zeke Chan
429b794bd1 Update Runner.js 2024-06-28 17:51:33 +08:00
Zeke Chan
a0f44ed02e Added wrapBounds property 2024-06-28 17:32:54 +08:00
Zeke Chan
ea0651f44d Removed MatterCollisionEvents, MatterAttractors, MatterWrap plugins 2024-06-28 17:32:33 +08:00
Zeke Chan
2ec9e38405 Added wrap to bounds feature 2024-06-28 17:31:50 +08:00
Zeke Chan
8667f5dd38 Added wrap to bounds feature 2024-06-28 17:31:41 +08:00
Zeke Chan
a69bacbb5c Added wrap to bounds feature 2024-06-28 17:31:31 +08:00
Zeke Chan
2512f65da0 Added wrap to bounds feature 2024-06-28 17:31:27 +08:00
Zeke Chan
df2e7e7104 Update MatterWorldConfig.js 2024-06-28 16:29:38 +08:00
Zeke Chan
e0aed1aacf Update MatterWorldConfig.js 2024-06-28 15:43:57 +08:00
Zeke Chan
05a814dc1d Update World.js
Updated `pair.activeContacts.length` to use new `pair.contactCount` property
2024-06-27 17:06:44 +08:00
Zeke Chan
0458e4ab01 Update MatterCollisionPair.js
Changed `activeContacts` to `contacts`
2024-06-27 17:05:39 +08:00
samme
b961398acf Add friction for direct-control bodies
Fixes #6792
2024-06-26 09:43:39 -07:00
Zeke Chan
ea48bcf491 Update ParticleEmitter.js 2024-06-26 10:58:39 +08:00
Richard Davey
c45e2f4dba MatterJS v0.20 integration 2024-06-25 18:51:12 +01:00
Richard Davey
91f21c95e9 3.85 beta 2 const 2024-06-25 18:50:55 +01:00
Zeke Chan
f0f82d3a40 Update ParticleEmitter.js 2024-06-25 15:55:55 +08:00
Richard Davey
b49cf68e71 v.3.85.0-beta.1 release 2024-06-21 17:00:46 +01:00
Zeke Chan
42a6831106 Update GetBitmapTextSize.js
Fixed extra empty line issue in GetBitmapTextSize.js when setMaxWidth is called with line width less than a word.
2024-06-21 16:27:30 +08:00
Zeke Chan
f92e1e86f2 Update ScaleManager.js 2024-06-19 14:18:50 +08:00
Zeke Chan
9b2663774e Fixed bitmapText kerning bug 2024-06-19 13:55:41 +08:00
Zeke Chan
0951a4a3d4 Update ORIENTATION_CONST.js
Added secondary landscape orientation.
Added secondary portrait orientation.
2024-06-18 15:53:49 +08:00
Zeke Chan
a4779bb5f3 Update Frame.js
Added `setCutPosition`, `setCutSize`
2024-06-14 15:07:21 +08:00
Zeke Chan
52f3309ab5 Update GetLineToLine.js 2024-06-13 17:30:36 +08:00
Zeke Chan
7724dd0076 Update WebGLRenderer.js 2024-06-13 11:23:19 +08:00
Zeke Chan
b2d62b6234 Update DeathZone.js
DeathZone now checks for particle local coordinates, not world coordinates.
2024-06-12 16:43:32 +08:00
Zeke Chan
ef6a9331b6 Update Pointer.js
These methods will now return `true` when multiple mouse buttons are being pressed:
- leftButtonReleased
- rightButtonReleased
- middleButtonReleased
- backButtonReleased
- forwardButtonReleased
2024-06-11 17:25:02 +08:00
Zeke Chan
1b965326d4 Update World.js
Added pushable property collision checking when both bodies are set to circles
2024-06-11 15:36:09 +08:00
Zeke Chan
43ce515fcb Update WebGLRenderer.js 2024-06-11 15:25:53 +08:00
Richard Davey
4a82a8bc9b Tidied up documentation and small code tweaks 2024-06-10 17:22:54 +01:00
Zeke Chan
48cd2fc2e0 Update WebGLRenderer.js 2024-06-11 00:05:08 +08:00
Zeke Chan
6014b2d775 Update WebGLRenderer.js
Added `setContextHandlers` method
2024-06-10 23:35:27 +08:00
Zeke Chan
3212f6ff33 Reapply "Update WebGLRenderer.js"
This reverts commit ead539a664.
2024-06-10 14:52:57 +08:00
Zeke Chan
ead539a664 Revert "Update WebGLRenderer.js"
This reverts commit 6489106aa8.
2024-06-10 14:50:14 +08:00
Zeke Chan
6489106aa8 Update WebGLRenderer.js
Added `dispatchContextLost`, `dispatchContextRestored` methods
2024-06-10 14:49:38 +08:00
Richard Davey
2f3a92b2d9 Added useSpriteSheet config property. Fix #6752 2024-06-07 16:30:06 +01:00
Richard Davey
38d27c1fd7 Changed version number 2024-06-06 15:49:06 +01:00
Richard Davey
9723414a16 The requestVideoFrame polyfill has been updated to the latest release, which should resolve some SSR framework issues. 2024-06-06 15:49:06 +01:00
Richard Davey
722dfb79ed
Merge pull request #6771 from samme/patch-21
Docs: correct TilemapJSONFile superclass
2024-06-06 15:29:51 +01:00
Richard Davey
ca8102ab30
Merge pull request #6781 from samme/feature/audio-warnings
Improve the audio warnings
2024-06-06 15:29:01 +01:00
Richard Davey
27a0cb1a8f
Merge pull request #6813 from AlbertMontagutCasero/fix-TextStyle-setWordWrapWidth-definition
Fix jsdoc in setWordWrapWidth from Text and TextStyle
2024-06-06 15:27:45 +01:00
Richard Davey
d18f42377b
Merge pull request #6801 from samme/fix/getPipelineName-null
`getPipelineName()` is null if pipeline is null
2024-06-06 15:18:12 +01:00
Richard Davey
993e0cefa1
Merge pull request #6809 from samme/feature/sound-manager-isPlaying
Add BaseSoundManager#isPlaying()
2024-06-06 15:15:52 +01:00