Description

NOTE: This extension is for GameMaker Studio 1.x. A version optimized for GameMaker Studio 2.x will be available in Q2 2018.

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).

Changes in 1.0.6

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

Version 1.0.6. Published March 8, 2017

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Martin C 11 September 2017

Works great

This extension is amazing, and very helpful for making mobile releases feel more professional. Good documentation too, for the most part.

Some of the provided functions are a little finicky, but once you get everything figured out, this extension becomes an invaluable part of any game that requires mobile keyboard support.


Gravatar

Dan J 20 July 2017

Works well & dev is helpful

Works as expected and the developer was very helpful creating a new points-to-pixels function for iOS.


Gravatar

Eric B 19 July 2017


Gravatar

Liquid G 19 July 2017

Excellent!!!


Gravatar

Christian B 15 May 2017

Awesome

This is a really great asset that works as expected. Support is also amazing, detailed and fast in trying to get your issue resolved.


Gravatar

Kyle S 20 April 2017

Great

I was on the fence with this one, thinking the cost was a little high. But I purchased it and am not disappointed. It has made my app look much more professional than what I was using before. Thanks!


Gravatar

Mario M 23 March 2017


Gravatar

Terren G 02 June 2017

Awesome, and easy to use!

Just what I was looking for! Great job!


Gravatar

Matthew M 01 December 2016

Works perfectly

Had a few questions, in addition to pointing me to the documentation (which for some reason I had been unable to find), the publisher directly answered my questions. And within about an hour of starting work, I have everything working perfectly for entering names for local high scores. Perfect.

This review was left for a previous version of this asset.


Gravatar

Douglas P 21 November 2016

Brilliant Extension, just one thing - might be me!

I've managed to implement this extension in to my project a LOT faster than I expected. I read the documentation through, looked at the examples, then added all essential files to my project.

There was one thing though! The script "gmkb_example_textbox_value_to_screen" doesn't seem to change the hashtag (line break) "#" in to "\#", so it doesn't become a line break. "\#" is working everywhere else in my project.

Edit1: It seems to only convert "#" to "\#" while typing ("new_value"), and not transferring to the final ("text") output.
Edit2: Sorted it out! Maybe a crude way, but still! I took out the var in var text=""; (in the draw event) and added a finalText=text lower down, just before the "text=+"|". That seemed to sort out the problem!

5*!

This review was left for a previous version of this asset.

Logo

Beneton Software (Publisher) 13 January 2017

Hello Douglas,

Sorry for the delay in my response. Are there email notifications for replies to Marketplace reviews? Anyway, if you get this: I tried reproducing your issue with the "gmkb_example_textbox_value_to_screen" script and everything works fine here. I don't understand what you mean when you say that it works while typing, but that it doesn't transfer to the final output. I reviewed the code 2-3 times but I really don't see any problem with the logic. This is weird. I also don't understand your solution. I'm curious about this so if you could contact me via the "Contact Publisher" link above, I would appreciate it.

Kind regards,

Benoît Rouleau


Gravatar

Lukas K 06 November 2016

Fantastic Extension, Excellent Support

The support is unbelievably fast in answering questions about the extension, and thanks to the help I received I managed to get the extension running just as it should. Definitely worth the money!

This review was left for a previous version of this asset.


Gravatar

Ivan R 04 November 2016

Excelent

It maked my project posible and has great support and documentation.

This review was left for a previous version of this asset.


Gravatar

Anonymous 22 August 2016

Read the documentation before buying!

This extension cannot magically make GameMaker's keyboard functions and variables work on mobile, unfortunately. It does provide lots of functions for interfacing with and getting data from mobile keyboards, but if cross-platform desktop/mobile compatibility is your goal, you're fresh out of luck.

That's not the extension's fault, of course, and this extension is definitely worth the cost.

This review was left for a previous version of this asset.


Gravatar

Vikram P 09 June 2016

Great product and support

Worked with a hitch. Had a minor hiccup but I contacted the support and they were fantastic. Would recommed as an essential asset for any developer.

This review was left for a previous version of this asset.


Gravatar

Druid W 16 January 2016

Amazing and working!

Yup, tested on shitty tablet and bluestacks and .. Fast and good!
Edit : Used again. Still amazing!

This review was left for a previous version of this asset.


Gravatar

Dmytro Z 14 December 2015

Very good!

At first I had problem with Android, but I found a fix which requires min SDK 11.
I test it on both Android and iOS, everything works.
As mentioned in one review, you need to make an execution for android to make it work. (APK)
Recommend to all who needs keyboard for mobiles.

This review was left for a previous version of this asset.


Gravatar

Kevin M 02 October 2015

Just what i needed.

I needed a easy way of showing the keyboard on android. At first i could not get it to work as it was crashing my app, but a quick email to the dev and it was fixed within minutes.

The dev responded to my email very quickly and fixed the issue i was having.

Very easy to set up and use. I highly recommend this extension

This review was left for a previous version of this asset.


Gravatar

Anonymous 24 September 2015

Works perfect.

This review was left for a previous version of this asset.


Gravatar

Andreas M 05 September 2015

Inputbox for Android finally

The example advanced texboxes works great.
Some problems with emoji but I only need text :-)

This review was left for a previous version of this asset.


Gravatar

Adderly C 02 November 2016

Works as expected (Recomended) "Wonderful"

I bough this extension and at first I couldn't get it to work on Android, but publisher offer me a fast and great support and now works perfectly. I haven't try it all but so far works just fine.

PRO:
- Really Easy to Implement and understand.
- Works on Android & iOS with the same codes
- Include an Example

CON:
- Keyboard stay visible when pressing the Home button on some Android System devices

NOTE:
In order to make it work on Android, you need to create a full APK package install (File > Create Application).

This review was left for a previous version of this asset.


Gravatar

Taylor D 24 August 2015

Great job

Works with no qualms so far, super easy to set up and use. Very profesionally put together and at a reasonable price. Well worth the investment.

This review was left for a previous version of this asset.


Gravatar

Paul S 31 August 2015

Still a problem on iOS

There is still a problem on iOS with this keyboard extension. If you want to type in something, it crashes (iPad Air 2)! On iPod touch it works. On Android it works well!

This review was left for a previous version of this asset.

Logo

Beneton Software (Publisher) 03 September 2015

Thank you, I was able to reproduce the crash. I contacted YoYo Games and they confirmed that this is a bug with GameMaker affecting 64-bit iOS devices. They said their internal version has a fix for it, but it will only be out in the next Early Access version, which they have no ETA for. I am very sorry for the inconvenience...


Gravatar

Reuben S 04 August 2015

Works well, good documentation

I have only enjoyed this extension on Android, so I do not know how it works on iOS.

The extension is simple, easy to use and is provided with decent documentation and good examples. It is *very* easy to implement and doesn't require any special setup or changes.
I would prefer that the extension include the documentation, rather than requiring us to come to this site as it makes it a pain while working without a network connection. You can download the page, sure, but that is clunky. Because of this, I subtracted a star.

I do recommend this extension if you want easy keyboard setup. It has many options for keyboard types and behavior, so it is also quite flexible.

*Note:* To those of whom it is giving trouble, if you are working with Android you must use "Create Application" to test your game or the extension will not work. This is a GameMaker problem, as I believe it doesn't compile the Java in the extension with a normal test-build.

This review was left for a previous version of this asset.

Logo

Beneton Software (Publisher) 02 November 2015

Hello Reuben,

Thank you very much for the great feedback. You are right about the documentation, so I followed your suggestion and included it in the extension package. Simply update to the latest version and you'll get it. :)

Kind regards,

Benoît


Gravatar

omid g 13 November 2015

nice but ....

works fine but without emoji and if device rotation change all text will be stretch.

This review was left for a previous version of this asset.

Logo

Beneton Software (Publisher) 20 July 2015

Thank you very much Omid. I have a theory about your device rotation issue, try changing the first line in obj_example_advanced's Create event (I believe that's the example you're using) to this:
application_surface_enable(true); // instead of false

Removing the line altogether should also have the same effect. I am disabling the application surface for performance reasons and because to me, it didn't make sense to keep the "portrait" aspect ratio when in landscape mode (it should instead use the landscape view's width and height -- but that's slightly more complicated, see this topic if you want to do this (under "1:1 scaling"): http://gmc.yoyogames.com/index.php?showtopic=565614).

Let me know if that worked for you (you can contact me using the "Contact Publisher" link at the top of this page).

As for RTL, I believe it has more to do with the examples than with the actual extension. I might look into it, but I doubt I'll be able to implement that.

Thanks again!


Gravatar

Kevin B 01 November 2015

Had Issues but Fixed

I had issues when I first purchased this software but the support behind the developer was phenomenal. I couldn't ask for any better help and with all of the new improvements it is working great. Thank you.

This review was left for a previous version of this asset.


Gravatar

Maciej L 15 June 2015

Works as expected :)

For anyone who hit the issue with iOS/extension and crashed - see http://bugs.yoyogames.com/view.php?id=0017747- latest early access http://store.yoyogames.com/downloads/gm-studio-ea/release-notes-studio.html includes the fix (which fixes the problem with keyboard as well).

This review was left for a previous version of this asset.


Gravatar

Recep C 05 June 2015

it's work

it's work, with smiles (ios test)

This review was left for a previous version of this asset.


Gravatar

Jiro T 25 April 2015

Not Runing

I buyed this for a project in my Company and it doesn´t works. I followed these steps:
1 I have create a project
2 Added all the extension: rooms, samples objects etc etc
3 I executed the example_basic_phone room and it didn't work in Nexus 5 and Samsung Galaxy 2, my two devices i have right now. When i push de textboxes it makes nothing.
4 I try for another chance creating my own room with an object wich in his create event i called the function:
gmkb_show_keyboard() and another time it makes nothing.
What i'm doing bad? I buyed this item and I need to make it work in my project urgently.
Please i need a response as quickly as posible :-S

UPDATE: at the beginig of this comment i put a 0 star by mistake, i'm ashamed for this, sorry it works fine. Thanks for the support. 100% recommended

This review was left for a previous version of this asset.


Gravatar

Anonymous 07 April 2015

Fantastic... but!

This works great when deployed as an app (iOS/Android) but what I'm having an issue with is mobile browser support.

On desktop browsers, the keyboard_string is retrieved no problems but once your in a mobile browser, you have no access to a keyboard and therefor (without creating a separate virtual keyboard), the user has no access to a keyboard.

Could it be a possibility to create a function so that it checks if it is a mobile browser and then checks which OS is is on, if it is on iOS/Android, it will bring up the virtual keyboard?

UPDATE: Thank you!, when can we expect the next major release? Is it a possibility to pay a premium for that particular feature?

This review was left for a previous version of this asset.

Logo

Beneton Software (Publisher) 06 April 2015

Thank you very much for the review Jason. That is a feature that I'm considering adding for the next major version of the extension.


Gravatar

David P 21 February 2015

Really Nice!

This review was left for a previous version of this asset.


Gravatar

Kamron E 13 February 2015

Great asset, easy to use

Awesome asset for any mobile game!

This review was left for a previous version of this asset.

Logo

Beneton Software (Publisher) 14 February 2015

Hello Kamron,

Thank you for your review. You will be pleased to learn that immersive mode is now supported in version 1.0.1. Sorry about that!

EDIT: Thank you for updating your review! :)

Benoît


Gravatar

Matty P 28 January 2015

A valuable asset to GMS projects

Huge list of features, easy to use, swift developer response!

Thank you for a great extension!
Saved me ample amounts of time and money which i can now spend on Alcohol and Heroin.....
Ok maybe not the Heroin.

This review was left for a previous version of this asset.


Gravatar

LUPA g 28 November 2014

Great

It works like a charm. Great customer support by Beneton Software.
It really worths the money.

This review was left for a previous version of this asset.


Gravatar

Tamás N 28 December 2014

Great

Thanks for the new futures. I replaced my phone but it was a Note 2.

EDIT: Can I ask you for add a new feature? I want to set the cursor position. (I can make it in the GMS, but it would be cooler if the extension would be able to do it.)
So forexample I set the text to "Szia világ! Miújság?" and I say the cursor is at the 3. place, so when the users press for example the "a" button the text should be: "Sziaa világ! Miújság?"

This review was left for a previous version of this asset.

Logo

Beneton Software (Publisher) 13 February 2015

You are very welcome! Thank you for updating your review!

EDIT (Jan. 28, 2015): I just saw your new edit with the feature suggestion. This is already planned for v2.0, but it would be hard to implement in the current code. Right now I am going to focus on fixing bugs and improving responsiveness/general experience for the v1.0 release, but that's definitely on my list. :)

Benoît


Gravatar

Chong ; 22 October 2014

Great

Good job! :)

This review was left for a previous version of this asset.


Gravatar

Daimen W 27 August 2014

Excellent!

Does what it says, works exactly as expected.

Well worth the money, makes android and iOS games so much nicer without the horrible pop-up boxes.

Also works with other exports, it defaults back to the get_string function.

Awesome.

This review was left for a previous version of this asset.

Package contents

Total size 59.1 KB

Keyboard.extension.gmx 28 KB Keyboard
gmkb_common.gml 5.21 KB gmkb_doc.html 37 KB gmkb_ios_android.ext 0 Bytes gmkb_other_targets.gml 2.34 KB AndroidSource Assets iOSSource

What is the issue?

Back to Top