Aleworks Input Module
Created by Aleworks (vgvgf)
Version: 2.02
Last Updated: 13/09/2007(day/month/year)
Introduction
This script simulates the RGSS module "Input". It is not the original module, but it has all the original module functions and some new.
Script
Aleworks Input Module Script Pack 2.1
* Please give me credit if you use my script.
* Help me to continue developing this script, send the errors that you find and your ideas to [email hidden]
Created by Aleworks (vgvgf)
Version: 2.02
Last Updated: 13/09/2007(day/month/year)
Introduction
This script simulates the RGSS module "Input". It is not the original module, but it has all the original module functions and some new.
Version History
Spoiler
* Version 1.00[INDENT] - New methods: Input.reiterate?; Input.activated?; Input.press_all; Input.trigger_all; Input.repeat_all; Input.reiterate_all
- New Keys: LOWER_LEFT; LOWER_RIGHT; UPPER_LEFT; UPPER_RIGHT
[/INDENT] * Version 1.10
[INDENT] - New methods: Input.event; Input.free_key; Input.free_all_keys
[/INDENT] * Version 1.11[INDENT] - Changed the variables: @repeat_time, @reiterate_time, @reiterate and @update_keys to global variables for easy editing.
[/INDENT] * Version 1.12(Now in Aleworks Input Module Compability Patch 1)
[INDENT] - Compability with the event commands: Asing Key and Condition Branch
[/INDENT] * Version 1.20[INDENT] - Little lag reduction
- New methods: Input.release?; Input.release_all
[/INDENT] * Version 1.21
[INDENT] - Major bug fixed, when using arrays in Input.press?, Input.trigger?, Input.reiterate? and Input.release?
- Removed $update_keys and $reiterate
[/INDENT] * Version 2.00
[INDENT] - Little lag reduction
- Rewrited some code
- No more need of Win32::Registry, but need Aleworks Library
- Key Combos[INDENT] - New Class: Input::Key_Combo[INDENT] - New Methods: Input.add_combo; Input.combo; Input.combos; Input.combos; Input.delete_combo; Input.delete_ended_combos
[/INDENT][/INDENT] - Mouse Input[INDENT] - New Methods: Input.mouse_double_click?; Input.mouse_x?; Input.mouse_y?; Input.mouse_dragging?; Input.mouse_drag_rect?; Input.mouse_drag_coor?
- New Constants: MOUSE_INPUT; MOUSE_DOUBLE_CLICK_TIME; MOUSE_DOUBLE_CLICK_PIX; MOUSE_DRAG_PIX; MOUSE_PRIMARY; MOUSE_SECONDARY
[/INDENT][/INDENT]* Version 2.01
[INDENT]- Input.mouse_x? and Input.mouse_y? will now return nil if the mouse poiter is out of the game screen.
[/INDENT]* Version 2.02
[INDENT]- Fixed error in Input.press?.
[/INDENT]
- New Keys: LOWER_LEFT; LOWER_RIGHT; UPPER_LEFT; UPPER_RIGHT
[/INDENT] * Version 1.10
[INDENT] - New methods: Input.event; Input.free_key; Input.free_all_keys
[/INDENT] * Version 1.11[INDENT] - Changed the variables: @repeat_time, @reiterate_time, @reiterate and @update_keys to global variables for easy editing.
[/INDENT] * Version 1.12(Now in Aleworks Input Module Compability Patch 1)
[INDENT] - Compability with the event commands: Asing Key and Condition Branch
[/INDENT] * Version 1.20[INDENT] - Little lag reduction
- New methods: Input.release?; Input.release_all
[/INDENT] * Version 1.21
[INDENT] - Major bug fixed, when using arrays in Input.press?, Input.trigger?, Input.reiterate? and Input.release?
- Removed $update_keys and $reiterate
[/INDENT] * Version 2.00
[INDENT] - Little lag reduction
- Rewrited some code
- No more need of Win32::Registry, but need Aleworks Library
- Key Combos[INDENT] - New Class: Input::Key_Combo[INDENT] - New Methods: Input.add_combo; Input.combo; Input.combos; Input.combos; Input.delete_combo; Input.delete_ended_combos
[/INDENT][/INDENT] - Mouse Input[INDENT] - New Methods: Input.mouse_double_click?; Input.mouse_x?; Input.mouse_y?; Input.mouse_dragging?; Input.mouse_drag_rect?; Input.mouse_drag_coor?
- New Constants: MOUSE_INPUT; MOUSE_DOUBLE_CLICK_TIME; MOUSE_DOUBLE_CLICK_PIX; MOUSE_DRAG_PIX; MOUSE_PRIMARY; MOUSE_SECONDARY
[/INDENT][/INDENT]* Version 2.01
[INDENT]- Input.mouse_x? and Input.mouse_y? will now return nil if the mouse poiter is out of the game screen.
[/INDENT]* Version 2.02
[INDENT]- Fixed error in Input.press?.
[/INDENT]
Aleworks Input Module Script Pack 2.1
* Please give me credit if you use my script.
* Help me to continue developing this script, send the errors that you find and your ideas to [email hidden]