Icon

Text Inputs - GM Studio 1

Mytino

Buy for $14.99
Contact Publisher

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!

This is the GM Studio 1 version of Text Inputs. Click here to go to the GM Studio 2 version.

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

Fixed a bug with copying/cutting/pasting.

Version 1.1.3. Published May 11, 2017

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Jeff J 13 May 2017

Perfect

This is without a doubt the best text input asset here - more than worth the price.

The only thing better than the asset is the service provided with it. I had a few problems, the author was extremely fast and helpful in providing information and fix.

Logo

Mytino (Publisher) 13 May 2017

Old answer from before the review was edited:

We have already discussed this in the forum thread, but I'll post an answer here as well for others to see.
1. There was a bug causing copying/pasting to only work within the program itself. This is fixed internally, but I haven't managed to upload it to the marketplace yet, it will be available in version 1.1.3.
2. This shouldn't be happening if it's implemented correctly. It should be placed where you click. The example code shows how it should be implemented.
Movement of a text field is already part of the asset. You can move a text field with the script input_text_set_transformation.

Edit: 1.1.3 is now released.


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?

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

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.

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


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.

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


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