python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Adding SpriteKit scene to Swift Playground App project on Xcode?
I want to add an SKScene (.sks) to my Swift Playground App project (.swiftpm) on Xcode but when I add it to the project navigator I get the following error:
found 1 file(s) which are unhandled; explic...
Vinícius Binder
Votes: 0
Answers: 1
Stop SKAction after a certain amount of time
I have a number of enemies that spawn at separate times in my game, and move using SKAction but at the end of each level I have a boss that spawns in. When the boss spawns I want the other enemies to ...
user1857403
Votes: 0
Answers: 1
How can I flip horizontally a sprite when moving left or right?
In my SpriteKit project I have a boat that I drag left and right to catch items falling from the sky, I would like the boat to look in the direction it's moving, I think I have to change xScale from C...
Fabez
Votes: 0
Answers: 1
How to calculate the center of mass of node tree in swift spritekit
I'm working on swift spritekit, I need to calculate the center of masses of children in a parent node now. This image shows what I want to get.
image.
parent node is radialGravityField of SKFieldNode ...
Bo King
Votes: 0
Answers: 0