@implementation Game - (id)init { if ((self = [super init])) { // this is where the code of your game will start. // in this sample, we add just a simple quad SPQuad *quad = [SPQuad quadWithWidth:100 height:100]; quad.color = 0xff0000; // 0xRRGGBB -> this is red quad.x = 50; quad.y = 50; [self addChild:quad]; } return self; } @end