Skip to content

Instantly share code, notes, and snippets.

@seanh
Created November 12, 2010 18:43
Show Gist options
  • Select an option

  • Save seanh/674487 to your computer and use it in GitHub Desktop.

Select an option

Save seanh/674487 to your computer and use it in GitHub Desktop.
+(CCScene *) scene
{
CCScene *scene = [CCScene node]; // scene is autorelease
LookAtMeSetting *setting = [[[LookAtMeSetting alloc] initWithBackground:@"sky.png" terrain:@"grass.png"] autorelease];
[scene addChild: setting];
return scene;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment