minicraft-plus-revived icon indicating copy to clipboard operation
minicraft-plus-revived copied to clipboard

[BUG] At higher speed of movement, the hitbox of the mobs and that of the player behaves strange

Open TheBigEye opened this issue 3 years ago • 1 comments

Describe the bug By increasing the speed of an entity or player, the sprite is separated from the hitbox

To Reproduce

  1. Drink a speed potion (or just increase the speed of the player)
  2. Try to hit an enemy or a tile (you will notice that the player's sprite is further away from the hitbox, also and observe that the distance between the player's sprite and the tile increases, when trying to attack an enemy, most of the time it could fail the hit)

Expected behavior The hitbox of the mobs (including the player) should be centered with the sprite

Screenshots

Enemy hit:

test

Tile distance, move speed = 2:

dung

Tile distance, move speed = 3 or more:

dung

Desktop (please complete the following information):

  • OS: [Windows 10, It is more likely to happen in other systems]
  • Version [all 2.0.1 - 2.0.7]

Additional context Apparently the hitbox moves a lot to the right

TheBigEye avatar Dec 27 '21 16:12 TheBigEye

Moved to low-priority since this is not a game breaking bug.

Makkkkus avatar Apr 11 '22 23:04 Makkkkus