fix interaction-menu with base - zPosition
This commit is contained in:
parent
4acd12ddc5
commit
f3036a5b33
@ -43,6 +43,7 @@ class GameScene: SKScene, SKPhysicsContactDelegate {
|
||||
|
||||
menu = SKSpriteNode(color: SKColor.blue , size: CGSize(width: self.size.width * 0.4, height: self.size.height * 0.4))
|
||||
menu.position = CGPoint(x: self.size.width * 0.5, y: self.size.height * 0.5)
|
||||
menu.zPosition = 2
|
||||
|
||||
self.addChild(basePlayer1)
|
||||
self.addChild(basePlayer2)
|
||||
|
Loading…
Reference in New Issue
Block a user