Description

JULY 2018 - IMPORTANT NEWS FOR GMS 2 USERS: This extension was developed for GameMaker Studio 1.x. YoYo Games are working on a built-in solution for GameMaker Studio 2.x to display the virtual keyboard; it's listed on the official roadmap for version 2.2: https://help.yoyogames.com/hc/en-us/articles/231719448-RoadMap. I contacted them to make sure that it is really about showing the native keyboard on iOS and Android (and possibly other platforms), and it is. Therefore, I am cancelling my plans for a version 2 of this extension. It being a core feature of GMS 2 is great news, as it will most likely be integrated with the existing GML keyboard functionality (resulting in much simpler cross-platform code), not to mention it will be receiving more attention and better support than ever. I would like to thank everyone who purchased the extension over the years, and everyone who took the time to leave a review. It has been an absolute pleasure.

The Keyboard extension lets you use the native on-screen keyboard on iOS and Android. In addition to allowing you to programmatically show/hide the keyboard and retrieve the text entered by the user, it lets you customize the keyboard's functionality and appearance according to the platform's API. It also contains functions to access the system's clipboard and even save emojis as sprites, which you can then use in your game or application.

The Keyboard extension is extremely simple to use. Complete documentation is available (see below) and the extension comes with three working examples, ranging from the most basic implementation to an advanced text box system.

FEATURES

  • Show/hide the system keyboard at any moment
  • Get/set the text entered by the user (just like GameMaker's keyboard_string)
  • Change the type and appearance of the keyboard
  • Change the appearance and behaviour of the return key
  • Turn on/off autocapitalization and predictive text
  • Get the height of the keyboard
  • Get/set the clipboard text
  • Read emoji characters and turn them into sprites
  • Enable/disable certain languages such as emoji (iOS only)
  • Also works with external keyboards (Bluetooth and others)

REQUIREMENTS

  • Compatible with iOS 8+ and Android 3.0+.
  • Compatible with all GameMaker: Studio modules (contains GML fallback for modules other than iOS and Android).

IMPORTANT NOTE

This extension does not make the existing GML keyboard functionality (events, functions, and built-in variables such as keyboard_string) work on iOS or Android. Instead, it gives a new set of functions to interact with the virtual keyboard on those platforms. Any code dealing with the keyboard on other platforms will have to be rewritten/modified to support the keyboard on iOS and Android using this extension.

DOCUMENTATION

Click on "More info":

More info

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 1.0.6. Published March 8, 2017

  • Made gmkb_key_was_pressed() more consistent between iOS and Android and improved its documentation
  • Fixed a bug in the textboxes and advanced examples
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top