본문 바로가기
RPG Maker VX Ace/Input

RS Input Core - RPG Maker VX Ace

by biud436 2020. 5. 1.


Introduction

This script allows you to use a full keyboard access and mouse input in the RPG Maker VX Ace.





How to Setup

Insert a new script between below Materials and above Main.


Features

Supports All Key Input

Shows mouse pointer

- Supports Mouse Input

- Smart Move (A*)

- Mouse Wheel Extension

- 목적지 좌표 표시 기능.

- Supports Unicode Window Title


Usage

To use this code called 'p', You can output the string to the console for debug.

These functions are checking whether certain key is pressed.


You can use the key name as string type. 

for example, the virtual keycode of the letter named 'a' returns 65.


p"]" if Input.press?("]")

p"[" if Input.press?("[")

p";" if Input.press?(";")

p'"' if Input.press?('"')

p">" if Input.press?(">")

p"<" if Input.press?("<")

p"?" if Input.press?("?")

p"\\" if Input.press?("\\")

p"-" if Input.press?("-")

p"+" if Input.press?("+")

p"~" if Input.press?("~")


You can also use the virtual keycode to parameter 1.

The keycode value called 221 is the same as the letter called ']'


p"]" if Input.trigger?(221)


in case of used the symbol, you can use like as at the following code! 

You can see that, the symbol starts with the colon(:)


p"backspace" if Input.press?(:VK_BACK)


if you need to change the mouse icon, 

You will gonna insert a new note tag in the event editor, as follows.


<MOUSE_OVER : X>


The 'X' is an index value into the icon set.



Download


Link - https://github.com/biud436/RGSS3/raw/master/RS_Input.rb

DLL (Mouse Wheel Extension) - https://github.com/biud436/RGSS3/raw/master/Input/RS-InputCore.dll