Commit graph

26 commits

Author SHA1 Message Date
Richard Davey
6947a68152 Added postUpdate NOOP 2017-11-08 17:17:58 +00:00
Richard Davey
358a4c8df5 Collision Map is returned and default values added. 2017-09-13 13:15:47 +01:00
photonstorm
fd45182bde Debug drawing now happens after collision solver. 2017-08-30 15:50:27 +01:00
photonstorm
e35524a1f5 Added setCollisionMap method. 2017-08-18 16:47:17 +01:00
Richard Davey
665b295c3b Restructured the Scene folder and moved the plugins and components around
Also updated the physicsManager to make it a lot more cleaner and easy to adjust in future
2017-08-18 01:42:14 +01:00
Richard Davey
e36cc68044 2 fixed bodies won't do anything 2017-08-17 04:06:08 +01:00
Richard Davey
100f4fc013 Renamed setSize to setBodySize to avoid conflict with Game Object method 2017-08-17 03:55:17 +01:00
Richard Davey
d8991c5bc5 Added Body.updateCallback 2017-08-17 03:15:02 +01:00
Richard Davey
7ed21b1acb Removed dead code and named the walls 2017-08-17 02:07:03 +01:00
Richard Davey
d6fb8d7760 Added setBounds helper method 2017-08-17 01:21:12 +01:00
Richard Davey
15a749d8ea Added showBody and showVelocity as config options 2017-08-16 23:14:30 +01:00
Richard Davey
67cba936da World now takes a config object. Cleaner and many more options now supported. 2017-08-16 22:51:46 +01:00
Richard Davey
08eb2d0895 Removed scrollFactor fix, not needed. 2017-08-16 22:10:56 +01:00
Richard Davey
43d470ede7 Now renders the body velocity to the debug graphic 2017-08-16 20:08:05 +01:00
Richard Davey
2b7c12cd75 Added new Debug component and fixed the body offset issue 2017-08-16 19:31:59 +01:00
photonstorm
1f3ae30237 Working through the debug layer. 2017-08-16 17:27:15 +01:00
photonstorm
2d4a730f13 Start of the debug graphics object. 2017-08-16 17:16:23 +01:00
photonstorm
8a71a2178c Added Collide event into the world. 2017-08-16 16:30:28 +01:00
photonstorm
244e6535b5 Body.id was never being assigned, which caused the spatial hash checks to fail, leading to all kinds of weird results. Hours spent debugging this, only for it to be something so simple *facepalm* 2017-08-16 14:03:10 +01:00
Richard Davey
51670f5d26 Lots of new World helpers 2017-08-16 01:20:35 +01:00
Richard Davey
cc781c5ee2 Lots of updates to Impact physics system
New Sprite and Image handlers with helper methods.
Updated motion, world and new Factory class.
2017-08-15 23:38:35 +01:00
photonstorm
9fd9d30baf Removed un-used file and tidying up. 2017-06-27 15:24:49 +01:00
Richard Davey
babe6e9daf Removed logs 2017-06-27 01:36:21 +01:00
photonstorm
86fc07b5e3 Masses of debugging fun and joy. 2017-06-23 18:08:22 +01:00
Richard Davey
de336e6d35 Added Collision Map support 2017-06-22 02:40:10 +01:00
Richard Davey
a1579c8fd4 Merged the impact physics runner 2017-06-22 00:47:35 +01:00