• Simon Goller's avatar
    Framerate and movement fixed · df971876
    Simon Goller authored
    The `Clock` now returns a constant `frame_delta` for each frame.
    To do this, it must be updated once in the `InGameState` on each
    update.
    
    This commit also fixes the diagonal movement speed by normalizing
    the movement vector.
    
    Fixes #19 and #20
    df971876
clock.rs 959 Bytes