Ticks/zh: Difference between revisions

From Minecraft Parkour Wiki
Content added Content deleted
(Created page with "鼠标移动本身并不与Tick相关,而是与帧率相关")
(Created page with "不管怎样,游戏必须保留一份玩家旋转的副本,用于计算移动,它会每Tick更新一次。玩家的旋转被复制的那一Tick被称为“旋转Tick”。")
Line 24: Line 24:
鼠标移动本身并不与Tick相关,而是与帧率相关
鼠标移动本身并不与Tick相关,而是与帧率相关


不管怎样,游戏必须保留一份玩家旋转的副本,用于计算移动,它会每Tick更新一次。玩家的旋转被复制的那一Tick被称为“旋转Tick”。
<div lang="en" dir="ltr" class="mw-content-ltr">
However, the game has to keep a copy of the player's rotation for movement calculations, which it updates once every tick. The moment the player's rotation is copied is called the '''turn tick'''.
</div>





Revision as of 14:18, 23 August 2021

Other languages:

Ticks是 Minecraft 中的标准时间单位,1 Tick等于 50 毫秒

wiki上关于Tick的文章



Tick速度

物理引擎以每秒20 Ticks的速度运行,这意味着游戏的物理引擎每50毫秒更新一次。

这包括玩家的位置和速度、环境和实体。


游戏中的动作都是在每次Tick结束时执行的,无论它们被按下的时间或顺序如何。

由于游戏以这种方式工作,因此在按下和激活之间可能需要长达 50ms 的延迟。


旋转Tick

鼠标移动本身并不与Tick相关,而是与帧率相关

不管怎样,游戏必须保留一份玩家旋转的副本,用于计算移动,它会每Tick更新一次。玩家的旋转被复制的那一Tick被称为“旋转Tick”。


From the player's perspective, there is no way to control when the turn tick happens. This has a severe impact on turn-based jumps, which become partially luck-based as a result: given the same (smooth) turning sequence, the player's resulting movement could be quite different.


One solution is to turn instantly every 50ms to land precisely on the wanted angle. This is feasible for simple turn strats such as 45° Strafes, but not for more complex strats that would require smooth turning.