Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

HBGames

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.

* Version 1.00
- 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
* Version 1.10
- New methods: Input.event; Input.free_key; Input.free_all_keys
* Version 1.11
- Changed the variables: @repeat_time, @reiterate_time, @reiterate and @update_keys to global variables for easy editing.
* Version 1.12(Now in Aleworks Input Module Compability Patch 1)
- Compability with the event commands: Asing Key and Condition Branch
* Version 1.20
- Little lag reduction
- New methods: Input.release?; Input.release_all
* Version 1.21
- Major bug fixed, when using arrays in Input.press?, Input.trigger?, Input.reiterate? and Input.release?
- Removed $update_keys and $reiterate
* Version 2.00
- Little lag reduction
- Rewrited some code
- No more need of Win32::Registry, but need Aleworks Library
- Key Combos
- New Class: Input::Key_Combo
- New Methods: Input.add_combo; Input.combo; Input.combos; Input.combos; Input.delete_combo; Input.delete_ended_combos
- Mouse Input
- 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
* Version 2.01
- Input.mouse_x? and Input.mouse_y? will now return nil if the mouse poiter is out of the game screen.
* Version 2.02
- Fixed error in Input.press?.
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 vgvgvgf@gmail.com

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top