Description

Download demo: https://www.mediafire.com/?qpb1o0g0uaztqrs

Forum thread: https://forum.yoyogames.com/index.php?threads/text-inputs.3294/

Poor input boxes make your game look and feel unprofessional, and can ruin the important first impression of a player. But they're a pain to program properly. With this text input extension you can avoid dozens of hours of UI programming, and get high quality text inputs in an instant!

Features:

  • Singleline and multiline text input.
  • Horizontal and vertical text alignment.
  • Text selection (with mouse, shift, Ctrl + A, and doubleclick).
  • Text navigation (with mouse, arrow keys, home/end and page up/down with Ctrl functionality).
  • Copying, cutting and pasting.
  • Local undo/redo memory. Ctrl + Z and Ctrl + Y (as well as Ctrl + Shift + Z).
  • Delete and backspace with Ctrl functionality.
  • Supports both monospaced and variable-width fonts.
  • Custom cursor sprite and cursor styles.
  • Supports octothorps (#).
  • Commented and organized code.
  • Fast and optimized, made with efficiency in mind.
  • Logic and display separation.
  • Irrespective of room speed, dependent on delta_time (and easily convertable to other game loops if need be).
  • All GML.

Note: The extension has been developed and tested using Windows and HTML5 (with WebGL). Not guaranteed to work on all platforms, but as the extension is all GML you can make it work if you put some effort into understanding the code.

End User Licence Agreement (EULA).

Changes in 1.1.2

Added a guide which can be found in the "Text Inputs" folder under "Scripts", and organized all resources into separate folders named either "Text Inputs" or "Example".

Version 1.1.2. Published September 25, 2016

Created with GameMaker: Studio v1.4.1757

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Daniel V 03 December 2016

Great Job

I like this a lot, makes my life a lot easier. Only problem, I want to make a special box that has astrixes for a password input. Any way how to do that?

Logo

Mytino (Publisher) 10 December 2016

The easiest way to make a password input box is to set the font of the input box to a font where every character corresponds to an asterisk (or a "•"-character).
This will display your password with hidden characters, but internally you'll have the correct text representation. Here's a link to such a font: "fontstruct.com/fontstructions/show/1069549/write_your_password_with_this_font". If you want another font, but have troubles finding it you can make one with myscriptfont.com or fontstruct.com.


Gravatar

stefan s 22 November 2016

It's good but don't work with android

The reason is, that you don't get an keyboard to input text. And virtual devices don't work without huge changes.


Gravatar

Anonymous 29 September 2016

Good engine for text inputs

It's a very good asset that has all it requires to make games look professional with their textboxes.


Gravatar

Anonymous 05 June 2015

Exactly what I needed

Works perfectly fine and saves a ton of time.

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


Gravatar

Sebastian N 01 April 2015

Excellent Asset To Any Professional Developer

I am using this for a product that is available on Steam. Using the popup messages was frustrating so many users and even led to some bad reviews. I was able to implement this in under 20 minutes.

My only complaint is that it uses surfaces, which do NOT work well with massive rooms that have views that move.

Regardless, I found a way around this issue and love this asset. It's worth every dollar!

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

Logo

Mytino (Publisher) 05 April 2015

Thanks for the great review!

The surfaces have the same size as the input rectangle you define with the input_text_create_* functions, so the size of your room shouldn't affect its performance cost.
Surfaces are used for text selection coloring and are only updated when the text/selection is changed, so you could argue that using surfaces are actually faster than not using them because you don't have to redraw all the letters with selection every step.

However, if you're aiming to avoid the use of surfaces in your game, I can add an option for it in the next update, but this would restrict the text selection coloring (as in; no selection text coloring, only selection background coloring.)


Gravatar

Trekkie D 16 October 2014

now works in html5

Very good, now works with html5. i find it very useful for putting player names in or email fields in web games.

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

Package contents

Total size 126 KB

What is the issue?

Back to Top