Bent Laser

From LuaSTG Wiki
Jump to navigation Jump to search
Following contents may not apply for LuaSTG and LuaSTG Boost
以下内容可能不适用于 LuaSTGLuaSTG Boost
以下の内容は LuaSTGLuaSTG Boost に適用されません
Basic Information
基本信息
基本情報
Name
名称
名前
Bent Laser
Applicable Version
适用版本
適用バージョン
LuaSTG 0.32+, LuaSTG Boost, LuaSTGPlus, LuaSTGExPlus, LuaSTG-x
Bent laser (aka curvy laser) function is controlled by BentLaserData class. Please refer to API Manual for methods.

For the sake of brevity, we call the first node of bent laser "head", the last node "tail".

  • Bent laser is composed by nodes.
  • Each bent laser can have 512 nodes at most. It can be limited to a smaller number for each one.
  • When node count exceeds limit as you add a node in one side, the node on the other side will be deleted.
曲线激光功能由 BentLaserData 类提供。其方法请参考API手册

为表述方便,将曲线激光的第一个节点称为"头部",最后一个节点称为"尾部"

  • 曲线激光由节点组成。
  • 每条曲线激光最多拥有512个节点。可以为每条曲线激光设置更小的限制。
  • 当在一侧添加节点导致节点数量超出限制时,另一侧的节点将被删除。
Bent laser (aka curvy laser) function is controlled by BentLaserData class. Please refer to API Manual for methods.

For the sake of brevity, we call the first node of bent laser "head", the last node "tail".

  • Bent laser is composed by nodes.
  • Each bent laser can have 512 nodes at most. It can be limited to a smaller number for each one.
  • When node count exceeds limit as you add a node in one side, the node on the other side will be deleted.

LuaSTGPlus/LuaSTGExPlus[edit | edit source]

* There are 1024 bent lasers at most.
  • A new node can only be added as head.
  • Properties of a node: position, width.
  • Property of a node can not be changed once it's added.
  • 曲线激光数量上限为1024。
  • 新节点只能作为头部被添加。
  • 节点的属性包括位置和宽度。
  • 一旦添加,节点的属性将不能改变。
  • There are 1024 bent lasers at most.
  • A new node can only be added as head.
  • Properties of a node: position, width.
  • Property of a node can not be changed once it's added.
  • LuaSTG-x[edit | edit source]

    BentLaserData is implemented by lstg::GameObjectBentLaser class in LuaSTG-x.
    在LuaSTG-x中,BentLaserDatalstg::GameObjectBentLaser 类实现。
    BentLaserData is implemented by lstg::GameObjectBentLaser class in LuaSTG-x.
    * A new node can only be added as head or tail.
    • Properties of a node: position, width, color.
  • 新节点只能作为头部或尾部被添加。
  • 节点的属性包括位置,宽度和颜色。
  • A new node can only be added as head or tail.
  • Properties of a node: position, width, color.