Making a particle follow a path in spriteKit

前端 未结 1 1862
我寻月下人不归
我寻月下人不归 2020-12-24 08:24

I have created a particle and when I test it moving on Xcode\'s property window, it looks like this:

\"enter

相关标签:
1条回答
  • 2020-12-24 08:58

    You sent the particle emitter to follow the path. If you want individual particles to run an action, use the emitter's particleAction property:

    myParticle.particleAction = forever;
    
    0 讨论(0)
提交回复
热议问题