简体   繁体   English

SpriteKit中的运动轨迹效果?

[英]Motion Trail effect in SpriteKit?

I'm looking for a way to create a motion trail effect very similar to this one: 我正在寻找一种创建类似于此效果的运动轨迹效果的方法: 在此处输入图片说明

I've been searching for some time without a solution. 我一直在寻找没有解决方案的时间。

My first thought was to create 'clones' and modify them (blur, scale, etc) but that doesn't seem very efficient to me. 我的第一个想法是创建“克隆”并对其进行修改(模糊,缩放等),但对我而言这并不是很有效。

Another thought was to use an SKEmitterNode but I have no Idea which properties/values would work best for this kind of effect. 另一个想法是使用SKEmitterNode,但是我不知道哪种属性/值最适合这种效果。

Any help is highly appreciated! 任何帮助深表感谢!

My first thought was to create 'clones' and modify them (blur, scale, etc) but that doesn't seem very efficient to me. 我的第一个想法是创建“克隆”并对其进行修改(模糊,缩放等),但对我而言这并不是很有效。

I think this is the only way. 我认为这是唯一的方法。 I've used this and I've seen others do it too. 我已经用过了,也看到其他人也这样做了。

I doubt it's much less efficient than using SKEmitterNode. 我怀疑它的效率要比使用SKEmitterNode低得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM