Snap-to-Tile Movement

Hello! Raven here, with a request! Lately, I have been wanting to try my hand at a game styled after the original Ultima, but have run into a little issue. There are no scripts for snap-to-tile movements, and while I have been able to create a similar system in eventing, it isn't exact. What I want is for the character to essentially teleport to the next tile with no sense of movement. Here is a good idea of what I am looking for:




If it would be an easy thing to add, I'd also like the ability to specify the sound played when you move within the script, although I could easily event that in with conditional branches, so that isn't 100% required. The main thing I need is the form of movement.

To whom may take up this request, thank you~
Should work for you
Ruby:
# ╔═════════════════════════════════════╦════════════════════╗
# ║ Title: Ultima Movement              ║  Version: 1.00     ║
# ║ Author: Roninator2                  ║                    ║
# ╠═════════════════════════════════════╬════════════════════╣
# ║ Function:                           ║   Date Created     ║
# ║                                     ╠════════════════════╣
# ║ Move 1 tile instantly, do not slide ║    06 May 2021     ║
# ╚═════════════════════════════════════╩════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Change the options below to what you want to use.        ║
# ╚══════════════════════════════════════════════════════════╝
# ╔═════════════════════════════════════╗
# ║ Terms of use:                       ║
# ║ Free for all uses in RPG Maker      ║
# ╚═════════════════════════════════════╝
module R2_Input_Choice
  Single = true  # used if you want to press the button every time to move.
  Delay = 0.5   # use a range betwwen 0.1 & 1.0
  Sound = "Knock" # Sound effect. Must be an SE sound not BGM or ME.
end

# ╔══════════════════════════════════════════════════════════╗
# ║ Do Not Edit Below Here                                   ║
# ╚══════════════════════════════════════════════════════════╝
class Game_CharacterBase
  def distance_per_frame
    32
  end
end

class Game_Player < Game_Character
  def move_by_input
    return if !movable? || $game_map.interpreter.running?
    if R2_Input_Choice::Single
      return unless Input.trigger?(:LEFT) || Input.trigger?(:RIGHT) ||
      Input.trigger?(:UP) || Input.trigger?(:DOWN)
    else
      @tct = Time.now if @tct.nil?
      return unless Time.now > @tct + R2_Input_Choice::Delay
      return unless Input.repeat?(:LEFT) || Input.repeat?(:RIGHT) ||
      Input.repeat?(:UP) || Input.repeat?(:DOWN)
      @tct = Time.now
    end
    move_straight(Input.dir4) if Input.dir4 > 0
    Audio.se_play("Audio/SE/#{R2_Input_Choice::Sound}")
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/snap-to-tile-movement.135613/