阅读背景:

SpriteKit和Swift,是否可以使用Array来汇集SKSpritenodes?

来源:互联网 

Im working on a 2d siderunner game with platforms, obstacles, etc. The platforms are being created then moved from right to left and then removed again. And thats were my problem is, since creating and removing nodes every time is not very efficient i sometimes see an fps drop of 1-3 frames especially when there are more than +15 nodes created. So i considered that pooling nodes is essential for good performance. Im working on a 2d siderunner game with platfor




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: