Add: board scaleMode

pull/14/head
Nathan VERDIER 11 months ago
parent da6ae0f249
commit 50ea3ef5b4

@ -40,7 +40,7 @@ class GameScene : SKScene {
override init(size: CGSize) {
super.init(size: size)
imageBoard.size = size
//self.scaleMode = .aspectFit
self.scaleMode = .aspectFit
self.anchorPoint = CGPoint(x: 0.5, y: 0.5)
self.backgroundColor = .white

Loading…
Cancel
Save