Smear

From LuaSTG Wiki
Jump to navigation Jump to search
Create Smear
Smear.png
Smear Icon
Location Effects Tab

用法(Usage)[edit | edit source]

使用内置粒子样式,为指定目标创建一个拖影特效,可以通过参数来设置拖影闪烁间隔。
(This function allows you to create a smear effect with original particle model on specified object, you can post integer argument to set the flashing interval. )

注意(Cautions)[edit | edit source]

  • 不能为图像为动画的物体注册拖影。(Cannot register a smear to an object whose image is an animation. )
  • 由于未考虑内存问题,请勿将该功能用于被大量创建的物体上。(Because it was designed without consideration of memory utilization,don't set smear into the definition of object which will be used heavily. )
  • 可以使用全局变量last捕捉拖影。(You can use global variable last to control the smear. )

See Also[edit | edit source]

To see more about General stuff, go to Functions.