More examples updates. Fixed Starstruck tilemap code, removed un-needed ArcadePhysics methods and rebuilt the js files for testing.

This commit is contained in:
photonstorm
2014-01-14 03:33:03 +00:00
parent 011d2d8e05
commit 32f5a2fa36
9 changed files with 572 additions and 807 deletions
+2 -1
View File
@@ -68,7 +68,8 @@ function update() {
fireBullet();
}
game.physics.collide(bullets, veggies, collisionHandler, null, this);
// As we don't need to exchange any velocities or motion we can use the faster 'overlap' check instead of 'collide':
game.physics.overlap(bullets, veggies, collisionHandler, null, this);
}