The SKView.showsFields = true
only draws on a portion of the screen - nothing shows on the bottom-left.
This can be easily tested using Apple's default game playground. I only removed the action for the Hello World label and added a radialGravityField
into the scene.
Also other fields like electricField
do not draw anything on the screen.
Tested in Xcode 11.7 and Xcode 12.5.1. Is this a bug in the recent releases?
override func didMove(to view: SKView) {
// ...
let field = SKFieldNode.radialGravityField()
addChild(field)
}
and
sceneView.showsFields = true