(Physics engine for games like Sugar, Sugar) SpriteKit performance optimization for many physics sprites
问题 I'm a iOS game developer and I saw an interesting physics & draw game "Sugar, Sugar" recently. In the game, there are lots of pixel particles (thousands of them) generated from the screen and free falling to the ground. Player can draw any shape of lines, which can guide those particles to certain cups. A image from google: I'm trying to achieve similar effect using SpriteKit with Swift. Here's what I got: Then I encounter a performance problem. Once the number of particles > 100. The CPU and