Top "Skaction" questions

Questions about programming SKAction objects in Apple's SpriteKit graphics rendering and animation framework.

Stop SKAction that RepeatsForever - Sprite Kit

I want to run two animations on my spriteNode depending on its rotation. If the value is negative run one …

ios animation sprite-kit skaction
Is it possible to end an SKAction mid-action?

I have a subclass of SKSpriteNode (monsterNode). It automatically runs around the screen using vectors to follow the player. I …

ios objective-c sprite-kit skaction
Run two SKActions at once

I'm using a sequence to run a list of SKActions. What I want to do however, is run an SKAction, …

objective-c xcode sprite-kit skaction
Stopping an running SKAction - Sprite Kit

The following code will animate a rotation. let something:SKSpriteNode = SKSpriteNode() func start(){ let rotateAction = SKAction.rotateToAngle(CGFloat(M_PI), …

swift sprite-kit skaction
SKAction playsoundfilenamed fails to load sound

No matter what wav file I tried to play in an project, I keep getting the same error. The error …

swift audio sprite-kit skaction
iOS SpriteKit SKAction completion call not working/creating odd results

I'm trying to have a SKNode move onto the screen on command. I've set up the following SKAction chain so …

ios sprite-kit timing skaction
Play Sound in Swift SpriteKit project?

When I run this code. runAction(SKAction.playSoundFileNamed("Click.mp3", waitForCompletion: false)) My app was Crashed: Terminating app due to …

ios swift iphone sprite-kit skaction
SKAction Completion Handlers; usage in Swift

I'm new to Swift and SpriteKit. A lot of the samples of SpriteKit Actions are in Objective C, which I …

swift sprite-kit handler skaction completion
SKSpriteNode will not fadeInWithDuration using SKAction in sequence Sprite Kit

Im running 3 SKActions in a sequence, the 1st two run just fine but the fadeInWithDuration does not fade in the …

xcode sprite-kit skaction
Does the SKAction sequence actually wait until the action ends?

I have the following code: -(void)aggravatedSeek:(SKSpriteNode *)target{ _isAggravated = YES; SKAction *action = [SKAction runBlock:^{ double randTime = 0.2; NSLog(@"%f", …

ios objective-c sprite-kit skaction