0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-04 10:59:25 -05:00
Commit graph

93 commits

Author SHA1 Message Date
liabru
804634144f improve Example.substep comments 2024-03-17 23:04:56 +00:00
liabru
2c91e7400f Merge branch 'master' into runner-2
* master: (22 commits)
  improve test comparison report
  update ci
  update ci
  preserve pair.contacts order
  optimised Resolver.solvePosition
  bump package lock
  improve test comparison report
  fixed compare tool layer order in demo testbed
  fixed compare tool layer order in demo testbed
  added multi example testing tool to demo
  added body removal to Example.remove
  changed Composte.removeComposite and Composte.removeBody to reset body.sleepCounter
  optimised Collision.collides
  fix collision events for sleeping pairs, closes #1077
  added local pairs functions in Pairs.update
  removed pair.confirmedActive
  changed Pair.id format to use shorter ids
  optimised Resolver.solveVelocity
  optimised contacts and supports memory and gc use
  optimised pairs and collisions memory and gc use
  ...
2024-03-11 21:33:04 +00:00
liabru
1209e88fe2 added body removal to Example.remove 2023-11-25 14:06:04 +00:00
liabru
205aaa5066 added Example.substep 2023-10-22 23:58:04 +01:00
liabru
0f0ac93921 added Example.stress4 2023-08-13 12:56:50 +01:00
liabru
ce03208c5f fix lint 2023-03-28 20:24:58 +01:00
liabru
b88c82fb1d added Example.renderResize 2023-03-26 22:27:34 +01:00
liabru
f7da96413b revert Body.applyForce 2022-12-28 20:45:37 +00:00
liabru
f8b64b673e change remove example to use timestamps 2022-11-19 20:52:54 +00:00
liabru
36575b3438 refactor and tidy 2022-09-02 17:25:01 +01:00
liabru
c6a1a6d54d improve slingshot example constraint 2022-08-06 23:35:15 +01:00
liabru
11d5e73c1f update Example.staticFriction and Example.timeScale 2022-01-01 19:42:30 +00:00
liabru
5ddac71316 update Example.manipulation 2021-12-31 11:06:49 +00:00
liabru
ec38638711 update Example.ragdoll 2021-12-30 23:57:30 +00:00
liabru
b2bd492d05 improved Example.newtonsCradle 2021-12-29 23:08:46 +00:00
liabru
10a2a07ec2 update timing improvements 2021-12-23 12:43:40 +00:00
liabru
7fce5d861c Merge branch 'master' into timing-improve
* master: (123 commits)
  release 0.18.0
  prevent source map in demo builds
  updated test scripts
  added note about webpack performance to readme
  added benchmark test command
  increase iterations on Example.stress3
  add triangles to mixed bodies example
  added example for Composite.remove
  updated examples
  deprecated Matter.Grid
  added broadphase to Matter.Detector
  replaced Matter.SAT with Matter.Collision
  use force exit in tests
  added cache checks to Matter.Composite
  change raycasting example events to enable use in tests
  optimised collisions
  added Matter.Collision
  use Matter.Runner in test worker
  optimised Matter.Pairs
  optimised Resolver.solvePosition
  ...

# Conflicts:
#	examples/car.js
#	examples/manipulation.js
#	examples/ragdoll.js
#	examples/slingshot.js
#	examples/timescale.js
#	src/collision/Detector.js
#	src/collision/Resolver.js
#	src/collision/SAT.js
#	src/core/Engine.js
#	src/core/Runner.js
2021-12-20 18:52:58 +00:00
liabru
5c59bef62e increase iterations on Example.stress3 2021-12-15 09:57:51 +00:00
liabru
b116f64225 add triangles to mixed bodies example 2021-12-12 13:20:15 +00:00
liabru
bc07f56a94 added example for Composite.remove 2021-12-12 13:19:37 +00:00
liabru
c80ed5c6a7 updated examples 2021-12-12 12:50:10 +00:00
liabru
10afaea8bc change raycasting example events to enable use in tests 2021-12-08 23:53:12 +00:00
liabru
a30707fd87 optimised Matter.Pairs 2021-12-06 23:57:09 +00:00
liabru
81259663fd added behaviour metric to tests and refactor tests 2021-12-01 23:34:41 +00:00
liabru
d0ee246ecd added example stress 3 2021-04-20 22:49:42 +01:00
liabru
e94b8b87c9 Merge branch 'render-stats'
* render-stats:
  added Date.now fallback to Common.now, closes #739
  added Example.stats
  added debug stats and performance monitoring to Matter.Render
  improve Render.debug
  set render showDebug option on examples stress and stress2
  added lastDelta and lastElapsed to engine.timing

# Conflicts:
#	src/core/Engine.js
#	src/render/Render.js
2021-04-11 11:36:11 +01:00
liabru
6abb3b7e39 changed world.gravity to engine.gravity 2021-04-07 22:40:39 +01:00
liabru
5dbec9bdc6 migrate Matter.World to the equivalent Matter.Composite 2021-04-07 22:38:25 +01:00
liabru
a3f298fedb change all examples to use Composite.add instead of the alias World.add 2021-04-06 21:36:43 +01:00
liabru
9ad980b975 deprecated Composites.newtonsCradle and added to newtonsCradle example 2021-04-06 21:22:29 +01:00
liabru
818f354e9c deprecated Composites.softBody and added to softBody and cloth examples 2021-04-06 21:18:57 +01:00
liabru
cd9c5d43db deprecated Composites.car and added to car example 2021-04-06 21:13:27 +01:00
liabru
313c1503c8 add Common.setDecomp and Common.getDecomp 2021-04-05 23:48:30 +01:00
liabru
3ac3498712 changed Example.views to use render events 2021-03-22 23:32:55 +00:00
liabru
991500793c added Example.stats 2021-03-21 15:37:22 +00:00
liabru
119881b43c added debug stats and performance monitoring to Matter.Render 2021-03-20 23:44:31 +00:00
liabru
f2ef3aadd8 set render showDebug option on examples stress and stress2 2021-03-17 23:55:30 +00:00
liabru
f4d72ba3e4 add title to all examples 2021-02-07 23:56:08 +00:00
liabru
1ba125582f catch missing plugin require in examples 2021-01-31 21:51:09 +00:00
liabru
aa1e4e7738 change example matter-wrap require precedence 2021-01-29 20:59:57 +00:00
liabru
7bfd3c2b78 add log capture and reporting in tests 2021-01-29 00:09:27 +00:00
liabru
ef7c4c60b8 add matter-wrap as dev dependency 2021-01-28 23:27:24 +00:00
liabru
522f4e841d improve stack examples with exact contact 2021-01-24 22:19:49 +00:00
liabru
5551cd51b1 change svg and terrain example to use fetch 2021-01-16 21:57:16 +00:00
liabru
6ed74e17b5 fix lint 2020-12-31 18:58:19 +00:00
liabru
207c2f3ccb merge branch 'master' into timing-improve 2020-12-31 17:29:37 +00:00
liabru
142b7de720 added version targets for examples 2020-12-30 23:18:38 +00:00
liabru
6dd5ec55bf update demo and example render styles 2020-12-08 23:57:14 +00:00
liabru
4a967ecc83 fix terrain example module export 2020-12-05 23:39:56 +00:00
liabru
3117dfdaa7 change Body.applyForce for timing, add initial body.deltaTime 2020-03-11 23:50:41 +00:00