Ticks/ja: Difference between revisions

From Minecraft Parkour Wiki
Content added Content deleted
(Created page with "この仕様のため、キーを押してから動作するまでに最大で0.05秒の遅延が発生する場合がある。")
(Created page with "ゲーム内の動作は、入力のタイミングや順序に関係なく各tick終了時に実行される。")
Line 16: Line 16:




ゲーム内の動作は、入力のタイミングや順序に関係なく各tick終了時に実行される。
<div lang="en" dir="ltr" class="mw-content-ltr">
In-game actions are performed at the end of each tick, regardless of the time or order in which they were called.
</div>


この仕様のため、キーを押してから動作するまでに最大で0.05秒の遅延が発生する場合がある。
この仕様のため、キーを押してから動作するまでに最大で0.05秒の遅延が発生する場合がある。

Revision as of 11:24, 9 May 2022

Other languages:

TickはMinecraft内の時間の基本単位で、1tickは0.05秒に相当する。

(Minecraft wikiのページ)



Tickrate

Minecraftの物理エンジンは1秒に20 ticksで動作しているので、ゲーム内の動きは0.05秒ごとに更新されることになる。

これにはプレイヤーの位置と速度、ブロックとエンティティの更新が含まれる。


ゲーム内の動作は、入力のタイミングや順序に関係なく各tick終了時に実行される。

この仕様のため、キーを押してから動作するまでに最大で0.05秒の遅延が発生する場合がある。


Turn Tick

Mouse Movement is not inherently tied to tickrate, but rather the framerate.

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.


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.