0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00
Commit graph

213 commits

Author SHA1 Message Date
liabru
5830311daa changed engine.timeScale to engine.timing.timeScale 2014-04-24 16:29:48 +01:00
liabru
e8dba617de fixed some issues with engine.timeScale 2014-04-24 16:23:23 +01:00
liabru
a3a475fce7 added Query module, added Query.ray 2014-04-24 12:21:14 +01:00
liabru
5e2a1e5df9 added Vector.angle 2014-04-24 12:19:52 +01:00
liabru
7694b7d4f8 removed Body.updateProperties (now a private method) 2014-04-23 16:54:35 +01:00
liabru
8acfdb7f38 added Body.setStatic 2014-04-23 16:51:14 +01:00
liabru
1f11af9edb added Body.scale 2014-04-23 16:40:48 +01:00
liabru
537f0912c3 constraints now account for timeScale 2014-04-23 14:26:57 +01:00
liabru
613e63699b added per-body timeScale 2014-04-23 14:08:57 +01:00
liabru
aeea9f8c08 tweaks to docs 2014-04-01 13:45:15 +01:00
liabru
b421c38f74 optimisation for non-rotating bodies 2014-03-31 11:38:43 +01:00
liabru
365152df6e constraint early out for small differences 2014-03-31 11:22:20 +01:00
liabru
283281aeb7 added composite meshing and soft body factory 2014-03-30 19:43:48 +01:00
liabru
b24408635a improved constraint performance 2014-03-30 18:21:40 +01:00
liabru
0d4a6f4000 replaced "in" operator usage with access checks, it's a little faster 2014-03-28 18:36:14 +00:00
liabru
1b2d58cebf delta is now sampled over 1s, improves stability 2014-03-28 18:21:33 +00:00
liabru
15acf3c9b8 improved newtons cradle 2014-03-28 17:48:30 +00:00
liabru
f35a54d81f constraintIterations now defaults to 2 for better stability 2014-03-28 17:33:25 +00:00
liabru
473e7de6e0 added default scale to sprites 2014-03-27 14:38:59 +00:00
liabru
203179d526 removed default MouseConstraint from engine, now must be manually added by user (see demo) 2014-03-26 11:53:41 +00:00
liabru
c99ceb02ab added Mouse.setElement 2014-03-26 11:46:43 +00:00
liabru
3dfe9b553e composites now have generic multi add / remove methods 2014-03-25 15:18:54 +00:00
liabru
2572107078 demo now allows body removal by right click 2014-03-24 19:57:50 +00:00
liabru
f4636333c4 disabled menus and selection on RenderPixi.js 2014-03-24 19:49:44 +00:00
liabru
aa42f1653f Events.clear is now Events.off 2014-03-24 19:49:03 +00:00
liabru
b253683cb5 composites now support removals (implemented isModified flag) 2014-03-24 19:48:23 +00:00
liabru
4514f2d598 removed Manager, replaced with Pairs 2014-03-24 00:47:51 +00:00
liabru
13fde400ba Manager has now become the Pairs data structure 2014-03-24 00:47:05 +00:00
liabru
2d52d53bf0 composites are now an actual tree structure 2014-03-24 00:30:16 +00:00
liabru
9a2511dd50 fixed a leak in grid broadphase 2014-03-22 14:44:56 +00:00
liabru
3359c1a340 refactored and optimised renderer, performance improvements 2014-03-20 14:42:29 +00:00
liabru
656ec79fad debug text now respects metrics.extended 2014-03-20 11:50:46 +00:00
liabru
97177677cd added gui option to switch renderer 2014-03-20 00:47:36 +00:00
liabru
9d0f906fd8 added pixi.js webgl renderer 2014-03-20 00:46:25 +00:00
liabru
abe379840d added ids to constraints 2014-03-20 00:42:52 +00:00
liabru
e4445bc791 MouseConstraint is no longer a composite (as it has only one constraint) 2014-03-19 22:51:21 +00:00
liabru
77c995ab5e constraints now support visibility 2014-03-19 22:39:18 +00:00
liabru
86457bb719 render will now manage sprite images passed as paths 2014-03-19 22:09:29 +00:00
liabru
e619be0d01 improved custom engine renderer passing 2014-03-19 21:44:22 +00:00
liabru
99346160aa appease jshint 2014-03-19 12:58:54 +00:00
liabru
c8ebf8b9f4 added Common.colorToNumber and Common.log 2014-03-19 12:51:01 +00:00
liabru
56768a4c9d fixed issue with extending null properties 2014-03-19 12:49:48 +00:00
liabru
d54ccb90a6 constraints now use a render property 2014-03-19 00:55:33 +00:00
liabru
123d391d00 now only fps metrics by default, set metrics.extended true for full metrics 2014-03-17 17:41:25 +00:00
liabru
00feed5272 prevented possible redundant object initialisation 2014-03-17 17:22:49 +00:00
liabru
4631768d6f improved performance by always reusing collision objects 2014-03-17 17:18:47 +00:00
liabru
0add2f00c9 implemented collision caching, big performance boost 2014-03-15 17:28:51 +00:00
liabru
2b5eb92556 improved performance by passing timestamps 2014-03-14 21:14:21 +00:00
liabru
ec06592fcd changes to mouse events 2014-03-14 20:05:02 +00:00
liabru
aabd202a9d fixed sprite rendering 2014-03-14 19:40:32 +00:00
liabru
885c39b9c3 added high resolution timing 2014-03-14 19:37:45 +00:00
liabru
97aef1faea added mouse events 2014-03-14 19:36:58 +00:00
liabru
9153c7b836 fixed removal bug in pair manager 2014-03-14 16:11:04 +00:00
liabru
433a1f9b4e bodies now have a 'render' object property
sprites implemented
backgrounds implemented
2014-03-13 00:21:31 +00:00
liabru
730d688699 added jsdoc for engine events 2014-03-11 01:16:20 +00:00
liabru
a368828e3f improve sleeping by ignoring inactive pairs 2014-03-10 21:54:01 +00:00
liabru
6516c5be8d moved collision event triggers 2014-03-10 21:25:07 +00:00
liabru
6f5e0d0036 separated gravity function, applying forces now wakes sleeping bodies 2014-03-10 21:12:14 +00:00
liabru
88bd7bc29f refactored pair manager, added new events to engine 2014-03-10 20:08:11 +00:00
liabru
21732978ce added new events class 2014-03-10 19:58:05 +00:00
liabru
fc6ee29ed4 added clone method to common, extend now has option to disable deep 2014-03-10 19:56:17 +00:00
liabru
1c1c21b919 added jsdoc annotation to all src files 2014-02-28 18:15:01 +00:00
liabru
c80fe7f3f9 initial commit 2014-02-19 14:15:05 +00:00