Jump to content

阻滯器

From DDraceNetwork
Revision as of 14:58, 28 July 2023 by Darkh (talk | contribs) (Created page with "这个特性带来了下面这些影响:")

阻滯器(//)是DDRace特有的方塊,它在阻止玩家通過的同時允許其他實體通過。阻滯器有三種類型:分別從單向、雙向或者四向阻滯玩家的移動。


關於碰撞和碰撞箱

阻滯器不會採用插值的碰撞檢測。正因如此,如果你通過阻滯器的碰撞箱的「時刻」處在兩個遊戲刻之間,你將會直接穿過去而不會滯留在阻滯器中。

這個特性帶來了下面這些影響:

  • 如果你運動前一遊戲刻就處在阻滯器中會被滯留。
  • 使用武士刀可以輕易地越過阻滯器。


碰撞箱

  • Be aware - since stoppers are easily skippable, these hitboxes don't mean much due to the fact that one can easily skip several units through a stopper with speed.
    • 1-way stoppers (assumed to be pointing upwards) will prevent further downwards motion starting a distance 34 units upwards from the center but 16 units leftwards, rightwards, and downwards from the center.
    • 2-way stoppers (assumed to be pointing up and down) will prevent inwards motion starting a distance 34 units upwards and downwards from the center but 16 units left and right from the center.
    • 4-way stoppers will prevent inwards motion starting a distance 34 units in all directions from the center. Keep in mind that the hitbox is "+" shaped rather than square shaped.