I created this keyboard because there was no good free keyboard on the marketplace.
Furthermore, paid extensions were for the native keyboard, which means we need a different keyboard for both IOS and Android, alongside the lack of customization they have.
So I spent 20 initial hours creating this keyboard, and less than 4 a few days after to fix few bugs and optimize the project.
- Fast and easy to setup !
- Highly customizable through simple and straightforward
functionsscripts ! - Minimal performance impact on your game !
- Supports up 5 keys at the same time !
- Compatible both Android and IOS !
keyboard_create(Left_position, Top_position, Width, Height);
Then customize it with to get the design you want.
keyboard_get_text();
returns: String
keyboard_clear_text();
keyboard_destroy();
keyboard_get_lastkey();
returns: String
keyboard_get_pressed_key();
returns: String
keyboard_get_released_key();
returns: String
The x and y coordinates represents the top left of the keyboard. However, DON'T move the keyboard by accessing directly thoses values !
The keyboard is defined by its 4 borders (Left, Top, Right, Bottom). You can set and/or get the coordinate of any of the keyboard borders.
keyboard_set_from_top(Y_coordinate);
keyboard_set_from_bottom(Y_coordinate);
keyboard_set_from_left(X_coordinate);
keyboard_set_from_right(X_coordinate);
keyboard_get_bbox_top();
returns: real number
keyboard_get_bbox_bottom();
returns: real number
keyboard_get_bbox_left();
returns: real number
keyboard_get_bbox_right();
returns: real number
The keyboard have many visual properties that can be customized. I don't want to describe them all but here I am
keyboard_resize(Width, Height);
keyboard_get_width();
returns: real number
keyboard_get_height();
returns: real number
keyboard_set_background_visible(Boolean);
keyboard_get_background_visible();
returns: boolean
keyboard_set_background_color(Color);
keyboard_get_background_color();
returns: color
keyboard_set_font(Font);
keyboard_get_font();
returns: Font index
keyboard_set_text_color(Color);
keyboard_get_text_color();
returns: color
keyboard_set_keycaps_visible(boolean);
keyboard_set_keycaps_radius(real_number);
If desired, you can set the radius on each axis individually.
keyboard_set_keycaps_x_radius(Radius);
keyboard_set_keycaps_y_radius(Radius);
keyboard_set_keycaps_offset(Offset);
If desired, you can set the offset on each axis individually.
keyboard_set_keycaps_x_offset(Offset);
keyboard_set_keycaps_y_offset(Offset);
- Check if it works with GM 2 I guess, or port it for GM 2 if it doesn't
- Performance, always better performance ! Without kidding, drawing with round_rect on the surface is extremely inefficient.
- Better handling of spriteless special keys like ENTER, DELETE...
- Add a resizing system for keys with a sprite.
- Make the keyboard works as a normal keyboard to allow seemless integration from a PC typing game !
- And surely other things that I can't think of right now.