Categories

Viewing: Virtual Keyboard Tutorial

Virtual Keyboard Tutorial

Many games require the ability to accept user input. Not all devices have a physical keyboard however and use their own built-in virtual keyboard which is impossible to customize.

In order to be cross-platform compatible, games (or application) must not block the client device it is running on pending user input – if the device was a phone it could block an incoming call! Game Maker Studio contains Asynchronous functions which allow messages to be displayed and accept user input without halting game execution however these cannot be customized.

This tutorial will show you how to create your own virtual keyboard object which can be used to accept input by the mouse / touch or a physical keyboard. It does not halt the game and can be customized to become part of the game or application itself.
Key Features
  1. Input does not halt game execution.
  2. Cross Platform Compatibility – Even HTML5 can use it!
  3. Allow input of letters and number
  4. Allow input of letters only
  5. Allow input of numbers only (including decimals)
  6. Specify the maximum number of characters
  7. Also supports a physical keyboard (if present)

Comments and Rating

Comments

Sweet! Thanks homie. This saved me tonnnnns of trouble. You da man. two thumbs up. High five. five stars. 10/10.
Posted By: monkey on 18/11/2014 at 21:06:59

Add a Comment (Must be approved)

Your name

Your E-Mail

Comment

Allowed Formatting Tags:
[b]bold[/b], [i]italic[/i], [u]underline[/u], [url]http://www.google.com[/url]

Rate this file

Lowest Highest

Site Info Home | About Us | Privacy Policy | Contact Us | Donate | © Copyright Software4me all rights reserved.
Valid XHTML 1.0