Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Keys help

Status
Not open for further replies.

eivl

Local Hero
Xy$
0.00
First thing, download a key remapping plugin, like this : http://www.rpgmakermv.co/resources/keyboard-plugin.143/

Then you create an event on the map where you want to have access to the key bindings, and set the event to run in parallel.



Code for the script :

Code:
if(Input.keyTriggered("A")){
SceneManager.push(Scene_Save);
}else if(Input.keyTriggered("S")){
SceneManager.push(Scene_Item);
}else if(Input.keyTriggered("D")){
SceneManager.push(Scene_Equip);
}else if(Input.keyTriggered("F")){
SceneManager.push(Scene_Options);
}else if(Input.keyTriggered("G")){
SceneManager.push(Scene_Status);
}else if(Input.keyTriggered("H")){
SceneManager.push(Scene_Skill);}
There, you should be all done! ;)
 
Status
Not open for further replies.
Top