Sprite Kit Game Tips

Jump Action(no gravity)

Move up, Move down events

SKAction *moveUp = [SKAction moveBy:CGVectorMake(0, 100) duration:0.8];
SKAction *moveDown = [SKAction moveBy:CGVectorMake(0, -100) duration:0.6];
SKAction *seq = [SKAction sequence:@[moveUp, moveDown]];
    
Player *player = (Player *)[self childNodeWithName:playerName];
[player runAction:seq];