Posts

Post not yet marked as solved
4 Replies
I've had a few players ask when GameCenter will work again... has anyone managed to find a workaround get it working on watchOS?
Post marked as solved
4 Replies
Paul Hudson also covers integrating SpriteKit with SwiftUI - which is something I am doing for all my new games. I use SwiftUI for the surrounding menus and setting screens and SpriteView for my SpriteKit screen. https://www.hackingwithswift.com/quick-start/swiftui/how-to-integrate-spritekit-using-spriteview
Post not yet marked as solved
4 Replies
Ah, not yet - let me put one together along with a sample project. Thanks!!
Post marked as solved
2 Replies
A friend of mine gave me the solution! To stop the scroll bar appearing when using the digital crown, set isContinuous to true in the .digitalCrowRotation. Here is my latest code which no longer shows the scroll bar: struct GameScreen: View {   @EnvironmentObject var screenController: ScreenController   @State private var crownPosition = 0.0   var body: some View {     GeometryReader { reader in       SpriteView(scene: GameScene(size: reader.size, crownPosition: $crownPosition))         .focusable()         .digitalCrownRotation($crownPosition, from: 0, through: 400, by: 4, sensitivity: .medium, isContinuous: true, isHapticFeedbackEnabled: false)     }   } } I hope this helps others.
Post marked as solved
6 Replies
iOS 15 beta 5 has fixed this issue!