Questions tagged [skkeyframesequence]
3 questions
5
votes
1 answer
How to draw gradient with SKKeyframeSequence: as per Apple docs
The Apple docs on SKKeyframeSequence have brief sample code designed to create a gradient:
let colorSequence = SKKeyframeSequence(keyframeValues: [SKColor.green,
SKColor.yellow,
…

Confused
- 6,048
- 6
- 34
- 75
2
votes
0 answers
How to change the color ramp of an SKEmitterNode?
I am trying to programatically adjust a particleColorSequence of an SKEmitterNode in SpriteKit. I don't want to replace the entire SKKeyframeSequence, but just alter the color of one of the keyframes. I think the way to do this is to use the…

denniswave
- 127
- 6
2
votes
1 answer
Drive custom SKAction with SKKeyFrameSequence values, how?
For motion to be done by a custom SKAction, I want a much stronger ease type than is possible with traditional equation created curves.
How do I use an SKKeyFrameSequence to drive animation in a SKAction?
SKKeyFrameSequence creates the type of curve…

Confused
- 6,048
- 6
- 34
- 75