Post

Replies

Boosts

Views

Activity

Reply to Moving a SKSpriteNode image in response to a change in its position
A significant addition = I converted the specified Scene coordinates to Screen coordinates and set myBall.position = the new Screen coordinates. Plus I deleted the SKAction pair of statements. But, still no visible movement of the SKSpriteNode = myBall. As stated above, I am really at a loss on the solution. And, again, Thanks in Advance!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to Moving a SKSpriteNode image in response to a change in its position
Meaningful EDIT of the above Post: Within my AppDelegate I have: var myBall: SKSpriteNode? Within my GameViewController I have: myBall = SKSpriteNode(texture: SKTexture(imageNamed: "dinossaur.png")) Thanks for your patience.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to Moving a SKSpriteNode image in response to a change in its position
Meaningful EDIT of my above Post: Within AppDelegate I have; var myBall: SKSpriteNode? Within my `GameViewController, I have: myBall = SKSpriteNode(texture: SKTexture(imageNamed: ballImg))
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to FBSSceneSnapshotErrorDomain Code=4
Same problem with Xcode = 14.2 + Simulator = 14.2 There are several other errors out there that appear only with the Simulator, but not with the real App. Is this Snapshot Error among them?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to PlaySound below crashes with this error: AddInstanceForFactory: No factory registered for id
FWIW the above iOS error changes for tvOS = <NSError: 0x600002cdf540; domain: FBSSceneSnapshotErrorDomain; code: 4; reason: "an unrelated condition or state was not satisfied"
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’23