Ticks/ja: Difference between revisions

From Minecraft Parkour Wiki
Content added Content deleted
(Created page with "Minecraftの物理エンジンは1秒に'''20 ticks'''で動作しているので、ゲーム内の動きは'''0.05秒'''ごとに更新されることになる。")
(Created page with "これにはプレイヤーの位置と速度、ブロックとエンティティの更新が含まれる。")
Line 13: Line 13:
Minecraftの物理エンジンは1秒に'''20 ticks'''で動作しているので、ゲーム内の動きは'''0.05秒'''ごとに更新されることになる。
Minecraftの物理エンジンは1秒に'''20 ticks'''で動作しているので、ゲーム内の動きは'''0.05秒'''ごとに更新されることになる。


これにはプレイヤーの位置と速度、ブロックとエンティティの更新が含まれる。
<div lang="en" dir="ltr" class="mw-content-ltr">
This includes the player’s position and speed, the environment, and entities.
</div>





Revision as of 11:17, 9 May 2022

Other languages:

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

(Minecraft wikiのページ)



Tickrate

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

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


In-game actions are performed at the end of each tick, regardless of the time or order in which they were called.

Due to the game working this way, inputs may take up to 50ms of delay between the button press and their activation.


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.