Movement

I know that you can press f1 to change the controls, but I want to set W,A,S,D as movement. I rather that both the arrow keys and the W,A,S,D work, otherwise I can set it as a switch and ask the player before the game and have a GAME MASTER that allows you to switch whenever you want.

I know it is possible as Galv has a local multiplayer script where you do use the W,A,S,D keys for the second player. http://galvs-scripts.com/2013/07/07/actor-duel-mini-game/

Thank You

Sincerely,

Kenneth Goodman
Just take a keyboard input input script and set WASD to be mapped to the arrow keys too (or maybe the other way around)... take note though that some default controls are mapped to ASW, so you would need to reassign those too...
But do you want WASD to control the main player, or do you intend for it to be used as a multiplayer? In that case, you'd want the arrow keys for ONE player, and WASD for the other, so mapping them to the arrow keys would not achieve what you're after.
I was looking to have the main player in the single player move with WASD
This?

#=======================================================# Perfect WASD Move# Author: Raizen# Comunity: www.centrorpg.com# Script adds WASD movement#=======================================================#=======================================================#========= Here starts the script ======================#=======================================================$imported = {} if $imported.nil?$imported[:lune_asdw] = trueclass << Input def initi @asdw_array = Array.new end def dir4 @asdw_array.delete(4) unless Input.press?🙂X) @asdw_array.delete(2) unless Input.press?🙂Y) @asdw_array.delete(6) unless Input.press?🙂Z) @asdw_array.delete(8) unless Input.press?🙂R) @asdw_array << 4 if Input.press?🙂X) && !@asdw_array.include?(4) @asdw_array << 2 if Input.press?🙂Y) && !@asdw_array.include?(2) @asdw_array << 6 if Input.press?🙂Z) && !@asdw_array.include?(6) @asdw_array << 8 if Input.press?🙂R) && !@asdw_array.include?(8) return @asdw_array.last if @asdw_array.last.is_a?(Integer) 0 endendInput.initiIf you want I can use switches to change between old arrow move.
Please
There, see if its all ok xD.

Spoiler
Code:
#=======================================================#         Perfect WASD Move# Author: Raizen# Comunity: www.centrorpg.com# Script adds WASD movement#=======================================================module Lune_Wasd# Switch that controls toggle between WASD and Arrow movement.Switch = 1end #=======================================================#========= Here starts the script ======================#======================================================= $imported = {} if $imported.nil?$imported[:lune_asdw] = true class << Inputalias :lune_dir4 :dir4  def initi    @asdw_array = Array.new  end  def dir4    $game_switches[Lune_Wasd::Switch] ? dir_wasd : lune_dir4  end  def dir_wasd    @asdw_array.delete(4) unless Input.press?(:X)    @asdw_array.delete(2) unless Input.press?(:Y)    @asdw_array.delete(6) unless Input.press?(:Z)    @asdw_array.delete(8) unless Input.press?(:R)    @asdw_array << 4 if Input.press?(:X) && !@asdw_array.include?(4)    @asdw_array << 2 if Input.press?(:Y) && !@asdw_array.include?(2)    @asdw_array << 6 if Input.press?(:Z) && !@asdw_array.include?(6)    @asdw_array << 8 if Input.press?(:R) && !@asdw_array.include?(8)    return @asdw_array.last if @asdw_array.last.is_a?(Integer)    0  endend Input.initi
Perfect!

Thank you so much.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/movement.21815/