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 {
|
guard let touch = touches.first else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let gameScene = GameScene(fileNamed: "GameScene")!
|
let gameScene = GameScene(size: self.size)
|
||||||
let location = touch.location(in: self)
|
let location = touch.location(in: self)
|
||||||
let frontTouchedNode = atPoint(location).name
|
let frontTouchedNode = atPoint(location).name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user