keyboard_string

  1. Clinton Wheeler

    iOS keyboard_string & iOS

    Hi, Im developing an app for iOS that uses the keyboard_string to input text into text fields, this works beautifully in Windows/Mac OS but if i port it to iOS (iPAD) for some reason you cannot reset the keyboard_string to "". Currently my code will take a string entered from the...
  2. FB-Productions

    GMS 2 Text input in an HTML5 game on Mobile Devices in GMS2?

    Hello! I am having trouble creating a keyboard_string-like textbox for text input in an HTML5 game in Game Maker Studio 2. It should work as expected on PC/laptop browsers running the HTML5 game as they have physical keyboards, but if someone plays on a mobile device browser, the game would...
  3. Edwin

    Legacy GM keyboard_string adds characters to the string, while the font does not support them.

    Hello. My Font Range is default. When I add the keyboard_string current character to the string, and if font doesn't support these characters will show up (not as spaces). I noticed it by using string_length. Is this a bug, why does it happens and how do I get rid of these characters? My GM:S...
  4. Z

    Android / Amazon Fire "keyboard_string" refreshes every step

    Hi everyone! I downloaded the new version of GMS2 (version 2.1.5.322) and I had a problem with variable "keyboard_string". When I compile for Windows, everything works well. But when I compile for android, the variable "keyboard_string" is reset to zero (empty string, i.e. "") every step...
  5. D

    Text cursor and input

    Hey everyone. I'm working on a small project and I'm trying get a working text input system going, I've done it in the past but its been years and I lost my backup of the game I made that had this system so I can't pick apart it's code to figure this out. I have text input showing up on my...
  6. E

    Windows Keyboard_string and menu

    Gamemaker 1 question : I have a menu in the game and my controls are ord("W") to go up and ord("S") to go down . But in the next room I have field for player to enter their name , this field is entered through keyboard_string but when I navigate through menu , letters wwww and sss are in the...
  7. T

    HTML5 @symbol in html5 export is replaced by '(single quote)

    I'm using keyboard_string and assigning it to a variable then drawing it to the screen. On the windows platform when I type @(Shift + 2) the @ symbol works fine but when I do the same on the html platform the symbol reads as a single quote('). If I press Shift + tilde(~) then it creates the @...
  8. M

    I need help!

    I am making a game but the game gets an error every time I compile it! Here is what I put in it: if keyboard_string = "THREE"{ room_goto = 3; } I am trying to make it so when I type that it goes to that room. But I get this message when I compile it: Error...
  9. XirmiX

    GML [Solved] Textboxes and writing and not writing keyboard_string

    I guess that for solved topics, expecting to get any more advice isn't going to happen: Well, I guess I'll have to reiterate in a new topic. Essentially, apparently within that topic "keyboard_string = "";" works as a way of preventing a string writing into a text box or whatever else without...
  10. A

    Legacy GM [SOLVED] keyboard_string conflict

    So, i have 2 objects using the keyboard_string variable to generate user text input, something like this: // obj_chat_box if chatbox_selected { text = keyboard_string; } else { keyboard_string = text; } // obj_character_sheet if input_text_selected {...
  11. H

    Legacy GM [Solved]Need help resetting variable storing keyboard_string.

    ///create text = " "; ///Step text = keyboard_string; if(keyboard_check_pressed(vk_enter)) { text = " "; } ///Draw draw_text(x+10,y-10,text); Noob programmer here. I am trying to draw the typed out text onto the screen and then remove it when I press enter, but the text...
  12. XirmiX

    Legacy GM [Solved] Deselecting keyboard_string?

    Some might be familiar with keyboard_string and that it can be used for creating account systems. A problem I'm facing is, however is that I have created two objects; one nickname bar and another password bar (plus a login bar object, ofc) and with what I have, both objects create the ability...
Top