Mire Engine

  1. Fixed Player movement

    By Thejuster il 16 Mar. 2021
     
    +1   -1    0 Comments   308 Views
    .
    A recently test, i see a bug when player goto in next position.
    if player walking to new coordinates, and user press an'other direction, the player go to new direction but loss
    the perfect coordinates.

    For example player walkin a step of 32 pixel per cells,
    when press first Right then Left now player go to X = 58 example. this is wrong.
    Causes many bug whit collision detection and relative position.
      Share  
     
    .