0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-24 09:36:48 -05:00
Commit graph

87 commits

Author SHA1 Message Date
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
liabru
6f5af774ce fix issues with engine event.delta 2020-03-11 23:47:07 +00:00
liabru
8cfc234b5b Merge branch 'master' into timing-improve
* master: (32 commits)
  fix lint
  update dependencies
  Revert "Merge branch 'pr/526'"
  Revert "Merge branch 'pr/527'"
  changed alpha build configuration
  add window global, stub require and handle bad values in test tools
  added overlap metric to test tools
  fix path to build in test worker
  implemented threaded comparison testing
  fixed plugins in compare
  Added build comparison tools and tests
  Added config and test files to lint
  Set loose build version on dev server
  Added watch content base to dev server
  added timing to engine snapshot
  updated readme
  added tag push to release task
  updated readme
  removed yuidocjs dev dependency
  removed unused gulp release tasks
  ...

# Conflicts:
#	src/collision/Resolver.js
#	src/core/Engine.js
2020-03-11 00:52:12 +00:00
liabru
285d70df34 implemented threaded comparison testing 2020-01-01 14:39:21 +00:00
liabru
5b0d34b9e0 changed demo to auto populate examples with sourceLink and init 2019-09-15 18:36:26 +01:00
liabru
f9ea7995bf added module export to examples 2019-09-14 18:54:50 +01:00
liabru
d7e4f585b7 Changed examples to be delta independent 2019-09-01 13:36:16 +01:00