Skip to content

Valentine90/mouse-rpg-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

About

Version Rpg Maker VX ACE lANG

Mouse system for the RPG Maker VX Ace.

Class Method

.x ⇒ Object

Returns the current x coordinate of the mouse cursor on the screen.

.y ⇒ Object

Returns the current y coordinate of the mouse cursor on the screen.

.click?(buttons) ⇒ Boolean

Returns if the given buttons were pressed once in the current frame.

Parameters:

buttons
Buttons to be checked. Valid values are :left, :middle and :right

.press?(buttons) ⇒ Boolean

Returns if the buttons provided are pressed in the current frame.

Parameters:

buttons
Buttons to be checked. Valid values are :left, :middle and :right

.double_click?(buttons) ⇒ Boolean

Returns if the buttons provided were pressed twice.

Parameters:

buttons
Buttons to be checked. Valid values are :left, :middle and :right