Post

Replies

Boosts

Views

Created

How can I make two SKActions run at the same time?
I have this code that makes the cam move and then zoom, but I want to make the zoom while it's moving. How can I do that? swift let zoomInAction = SKAction.scale(to: 0.2, duration: 1)         let moving = SKAction.move(to: CGPoint(x: -255, y: 15), duration: 3)         let sequence = SKAction.sequence([moving,zoomInAction])         cam.run(sequence)
1
0
821
Apr ’21