mirror of
https://github.com/photonstorm/phaser
synced 2024-12-21 02:23:29 +00:00
cc781c5ee2
New Sprite and Image handlers with helper methods. Updated motion, world and new Factory class.
24 lines
805 B
JavaScript
24 lines
805 B
JavaScript
// Phaser.Physics.Impact
|
|
|
|
// 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.
|
|
|
|
module.exports = {
|
|
|
|
Body: require('./Body'),
|
|
COLLIDES: require('./COLLIDES'),
|
|
CollisionMap: require('./CollisionMap'),
|
|
TYPE: require('./TYPE'),
|
|
World: require('./World'),
|
|
Factory: require('./Factory')
|
|
|
|
};
|