Posts

Post marked as solved
1 Replies
349 Views
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)
Posted
by dudamello.
Last updated
.
Post not yet marked as solved
0 Replies
294 Views
I have a scene in SpriteKit and I call it through SpriteView and I'm using SwiftUI to make a header with some information. I've already managed to make the layout I want it to have, but I can't make the header without a background (transparent). I want the background of this header to be transparent so that only the elements I set in SwiftUi appear and the background is the continuation of the SpriteView.
Posted
by dudamello.
Last updated
.