mirror of
https://github.com/wassname/phaser.git
synced 2026-07-10 00:30:50 +08:00
Fixed Animation index 0 issue and hooked TilemapLayer to camera.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
// And this starts the animation playing by using its key ("walk")
|
||||
// 30 is the frame rate (30fps)
|
||||
// true means it will loop when it finishes
|
||||
mummy.animations.play('walk', 30, true);
|
||||
mummy.animations.play('walk', 20, true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user