ios原生游戏开发
4.
spriteView.showsFPS
Hello !
1. HelloScene SKScene
2. #import “HelloScene.h”
3. - void viewWillAppear: BOOL animated
{
HelloScene *hello = [[HelloScene alloc] initWithSize:CGSizeMake(768,1024)];
SKView *spriteView =(SKView *)self.view;
[spriteView presentScene:hello];
}
f
Sprite Kit (chuck)
“Hello World”