class Game_Player
#--------------------------------------------------------------------------
# * Processing of Movement via input from the Directional Buttons
#--------------------------------------------------------------------------
def move_by_input
return unless movable?
return if $game_map.interpreter.running?
if Input.press?(Input::X)
move_left
elsif Input.press?(Input::Y)
move_down
elsif Input.press?(Input::Z)
move_right
elsif Input.press?(Input::R)
move_up
end
end
end
drzjj":mru1489m said:i want to do this as well but when i entered the script and pressed test play, i get this error message:
Script 'Game_Player' line 339: NameError occurred.
undefined local variable or method `move_by_inut' for
#<Game_Player:0x21d7430>
---------------
I dont know what to do...
Please help :sad: