Background.png messing up with GameScene’s didChangeSize(…)
Here is a snapshot of my GameScene.sks
with the Xcode Inspector showing on the right side:
Here is a 2nd snapshot of the room
with the Inspector still showing:
As you can see, I have set the size of the parent Scene
and its room
sibling to the same size with this spec in my showScene()
:
let ourScene = GameScene(fileNamed: "GameScene")!
ourScene.scaleMode = .resizeFill
1st, here’s the room
which displays an OH-OH with rotation of the GameScene
:
Here are 2 more pics that displays this OH-OH =
BEFORE:
AFTER:
For those who are curious, the above OH-OH occurs even if there is zero code within didChangeSize(..)
In light of that observation, I have initially concluded that there are some errors in my Xcode Inspector snapshots above.
Appreciate your patiently going thru this lengthy problem description.