mirror of
https://github.com/wassname/phaser.git
synced 2026-09-11 12:31:29 +08:00
New polygon collision object examples and Body scale fixes.
This commit is contained in:
@@ -40,7 +40,7 @@ function update() {
|
||||
|
||||
function render() {
|
||||
|
||||
game.debug.renderPolygon(sprite.body.polygons, 'rgb(255,0,0)');
|
||||
game.debug.renderPolygon(sprite2.body.polygons, 'rgb(255,0,0)');
|
||||
game.debug.renderPhysicsBody(sprite.body);
|
||||
game.debug.renderPhysicsBody(sprite2.body);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user