Commit graph

132 commits

Author SHA1 Message Date
Richard Davey
3ee14a88a6 Removed referene to Mouse class (no longer used) 2017-11-26 15:31:48 +00:00
Richard Davey
b85b341bfd Removed references to the Render class (only needed in debug and saved loads of space in the build file) 2017-11-26 15:31:34 +00:00
Richard Davey
d4fd2082f2 Removed un-used RenderPixi class 2017-11-26 15:31:04 +00:00
Richard Davey
d1fb8319b2 Removed old module entry point and added license 2017-11-26 15:30:52 +00:00
Richard Davey
f6a5463131 Removed Mouse class from matter.js as it's not used. 2017-11-26 15:30:26 +00:00
Richard Davey
f4cdd3c1b4 Optimization of Body's hidden class 2017-11-26 15:02:42 +00:00
Richard Davey
dfa3cc243a Optimization of Resolver.solvePosition method 2017-11-26 14:50:40 +00:00
Richard Davey
81b3656d1e Added Pair.update optimisations and removed the Contact class. 2017-11-26 14:37:17 +00:00
Richard Davey
ce28eaaad8 Added the Attractors and Wrap matter plugins. Fixed the Plugin register. Added silence option to stop plugin logging to the console. 2017-11-24 13:42:32 +00:00
Richard Davey
ffeff9d2f7 Added confirmedActive speed optimisation to matter.js and removed Common.indexOf 2017-11-24 00:37:09 +00:00
Richard Davey
016fda7660 Added imageStack Factory function. 2017-11-23 16:55:28 +00:00
Richard Davey
4723ef0caa Removed use of Common.indexOf after some horrible perf results. 2017-11-23 16:55:17 +00:00
Richard Davey
1ae7237f73 You can now optionally set if the objects are added to the physics world. 2017-11-23 16:54:55 +00:00
Richard Davey
7c29eab78c Body has new property: ignorePointer, which pointer checks. 2017-11-23 14:59:26 +00:00
Richard Davey
04df05cf73 World thickness now 128. 2017-11-23 14:59:15 +00:00
Richard Davey
08047bbdbb Added the PointerConstraint and Factory methods (aka mouseSpring) 2017-11-23 01:45:58 +00:00
Richard Davey
dbad873236 Added support for beforeUpdate and afterUpdate world events 2017-11-23 01:45:38 +00:00
Richard Davey
b0f2b833c8 Removed two more un-needed files 2017-11-23 01:45:19 +00:00
Richard Davey
8afa631a38 Added Ignore Gravity component 2017-11-22 17:11:09 +00:00
Richard Davey
a69765d962 Removed un-needed file 2017-11-22 16:24:16 +00:00
Richard Davey
1067432174 Modified Matter source to add ignoreGravity option as it can't be monkey-patched in 2017-11-22 16:24:09 +00:00
Richard Davey
8add2510ac Added Factory constraint functions 2017-11-22 16:23:47 +00:00
Richard Davey
f62409d83b Matter objects now have a reference to the world in which they were added 2017-11-22 14:13:25 +00:00
Richard Davey
f88732cbb7 Added Sleep Start and Sleep End events 2017-11-22 14:13:10 +00:00
Richard Davey
d5a7579f26 Added new Sleep component 2017-11-22 14:12:57 +00:00
Richard Davey
1e399310b3 Added Stack to the Factory 2017-11-22 02:25:42 +00:00
Richard Davey
0543486d16 Added Matter collision events 2017-11-22 02:25:30 +00:00
Richard Davey
7609eb3131 Added new Matter Collision component 2017-11-22 02:25:06 +00:00
Richard Davey
97e55b6aa2 Removed un-needed file. 2017-11-21 16:55:10 +00:00
Richard Davey
3a96caf2f6 Updated the entry point. 2017-11-21 16:55:02 +00:00
Richard Davey
46dc75f06b New Matter World system, with new setBounds, setGravity, add, create and other helpers. 2017-11-21 16:54:54 +00:00
Richard Davey
4f00477f59 MatterImage and MatterSprite allow you to easily create Game Objects with embedded Matter physics bodies. 2017-11-21 16:54:20 +00:00
Richard Davey
32766ca509 New Matter system handler. 2017-11-21 16:53:55 +00:00
Richard Davey
4702ed7400 New components index. 2017-11-21 16:53:44 +00:00
Richard Davey
b9750bec9d Updated the Factory so it now generates the new MatterImage and MatterSprite objects as well as basic geometry based bodies. 2017-11-21 16:53:36 +00:00
Richard Davey
1442a2605f A custom module entry point that removes un-needed components. 2017-11-21 16:53:13 +00:00
Richard Davey
dff633cc62 Added the Bounce Matter component for an easier way to set restitution. 2017-11-21 16:52:54 +00:00
Richard Davey
2e11c18470 Added the Force Matter component including applyForce, forceFrom for a world position and thrust, thrustLeft, thrustRight and thrustBack. 2017-11-21 16:52:39 +00:00
Richard Davey
d8d9eb19c8 Added the Friction Matter component to set the static, air and normal friction a body receives. 2017-11-21 16:52:14 +00:00
Richard Davey
93d246e948 Added the Mass Matter component to set the mass and density of a body. 2017-11-21 16:51:54 +00:00
Richard Davey
a5e8d1e2d7 Added the Sensor Matter component. 2017-11-21 16:51:41 +00:00
Richard Davey
4a89ffa881 Added the Static Matter component to set a body as static if you don't specify it in the options config. 2017-11-21 16:51:33 +00:00
Richard Davey
d79e4a6e0c Added the Transform Matter component allowing for body scaling and rotation feedback direct from and to the Body. 2017-11-21 16:51:14 +00:00
Richard Davey
12e43c315e Added the Velocity Matter component 2017-11-21 16:50:56 +00:00
Richard Davey
213b7b4a86 Refactoring matter.js include 2017-11-21 02:04:05 +00:00
Richard Davey
fb83d6dab5 Starting merge of Matter JS. 2017-11-20 16:54:26 +00:00
Richard Davey
fd4f08e4a7 Updated to latest release of matter-js. 2017-11-17 15:29:37 +00:00
Richard Davey
ccb2878102 Physics Group now added to the update list properly 2017-11-16 00:42:03 +00:00
Richard Davey
a40f566a47 Exposed Arcade Physics in the namespace 2017-11-13 01:04:45 +00:00
Richard Davey
620c9d9771 Condensed collide check 2017-11-13 01:04:35 +00:00