mirror of
https://github.com/wassname/phaser.git
synced 2026-10-03 12:42:08 +08:00
ArcadePhysics.overlap and collide now recognise TileSprites in the collision checks.
This commit is contained in:
1 parent
a0961f27df
commit
dd7ae12271
13 files changed
+250
-42
No files matched your search
@@ -35,7 +35,6 @@ function create() {
|
||||
// The scrolling starfield background
|
||||
starfield = game.add.tileSprite(0, 0, 800, 600, 'starfield');
|
||||
|
||||
|
||||
// Our bullet group
|
||||
bullets = game.add.group();
|
||||
bullets.createMultiple(30, 'bullet');
|
||||
|
||||
Reference in new issue
Block a user