Skip to content

Instantly share code, notes, and snippets.

@blackwolf12333
Last active August 29, 2015 14:05
Show Gist options
  • Save blackwolf12333/c9f4c5e3337a610ba53b to your computer and use it in GitHub Desktop.
Save blackwolf12333/c9f4c5e3337a610ba53b to your computer and use it in GitHub Desktop.
-(void)didMoveToView:(SKView*)view {
SKNode *player = [self childNodeWithName:@"player"];
SKSpriteNode *texture = [SKSpriteNode spriteNodeWithImageNamed:@"Spaceship"];
[player addChild:texture];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment