phaser/src/physics/impact/index.js

31 lines
985 B
JavaScript
Raw Normal View History

2018-02-09 15:23:33 +00:00
/**
* An Impact.js compatible physics world, body and solver, for those who are used
* to the Impact way of defining and controlling physics bodies. Also works with
* the new Loader support for Weltmeister map data.
*
* World updated to run off the Phaser main loop.
* Body extended to support additional setter functions.
*
* To create the map data you'll need Weltmeister, which comes with Impact
* and can be purchased from http://impactjs.com
*
* My thanks to Dominic Szablewski for his permission to support Impact in Phaser.
*
* @namespace Phaser.Physics.Impact
*/
2017-06-22 01:40:10 +00:00
2017-06-21 23:47:35 +00:00
module.exports = {
Body: require('./Body'),
COLLIDES: require('./COLLIDES'),
2017-06-22 01:40:10 +00:00
CollisionMap: require('./CollisionMap'),
Factory: require('./Factory'),
Image: require('./ImpactImage'),
2018-02-09 15:23:33 +00:00
ImpactBody: require('./ImpactBody'),
ImpactPhysics: require('./ImpactPhysics'),
Sprite: require('./ImpactSprite'),
2017-06-21 23:47:35 +00:00
TYPE: require('./TYPE'),
World: require('./World')
2017-06-21 23:47:35 +00:00
};