mirror of
https://github.com/wassname/phaser.git
synced 2026-08-18 12:20:33 +08:00
More examples updates. Fixed Starstruck tilemap code, removed un-needed ArcadePhysics methods and rebuilt the js files for testing.
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user