fix bound.size problem
This commit is contained in:
parent
dace2364da
commit
7d57decb93
@ -18,7 +18,7 @@ class MenuScene: SKScene {
|
||||
guard let touch = touches.first else {
|
||||
return
|
||||
}
|
||||
let gameScene = GameScene(fileNamed: "GameScene")!
|
||||
let gameScene = GameScene(size: self.size)
|
||||
let location = touch.location(in: self)
|
||||
let frontTouchedNode = atPoint(location).name
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user