Sprite Kit编程指南(9)
时间:2025-04-06
时间:2025-04-06
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”
上一篇:电脑绘制卡通漫画