1. R

    [SORTED OUT]adaptable textbox

    hello guys, i'm trying to make a text box that change its size according to the size and line break. Well, I even managed to get the code to work, see: //this code is part of an algorithm, so I'm just showing the main part var string_w = string_width(global.item_info[_item]); var string_h =...
  2. K

    Duplicate dialogue box stuck in top left corner

    i'm relatively new and havent touched game maker for like half a year so maybe there's a simple solution i'm not seeing right now. Up until now the dialogue box was drawn where it should be (bottom middle). I don't know what else i did but change the color of the sprite but now when i launch...
  3. FiftyFive

    SOLVED working with mouse_x , mouse_y (textbox)

    (sorry for my bad English) Hello , i just made a working textbox , when my charracter close to sign and press "space" textbox opens but i want to open textbox when mouse on the sign i tried something but din't work.
  4. E

    GMS 2.3+ Same object, different messages

    Hello, in the game I'm creating, the player goes in a bedroom where a lot of papers are pinned on the wall, and everyone has a different message written on it. In order to do that, I only created 4 objects, for the 4 sprites (4 different types of papers pinned, to have some variation), but i...
  5. L

    Object keeps respawning

    I got a textbox system here, but I got a problem that when the textbox destroys itself, it creates itself again due to this in the step event of the person I'm talking to: (KeyInteract = vk_space) if(!instance_exists(obj_textbox)){ if(place_meeting(x, y, obj_player)){...
  6. Daniel Mallett

    GMS 2.3+ Ord issues

    I'm trying to figure out what's happening with the 'ord' function. I want to insert an ord character (0 to 31 UTF). how do I do this? test_variable += chr(13); test_variable += ord(13); test_variable += chr(ord(13)); test_variable += ord(chr(13)); I want to insert a UTF control character in a...
  7. Daniel Mallett

    GMS 2 Another textbox question

    NOTE: Sorry I did not realize this question was going to be so long. Don't waste time answering each sub-question it was more of a broad stroke thing just wanted to get some general advice. (It's not just a print keyboard string to screen and I'm done, there's a bit more to it than that.) For...
  8. Daniel Mallett

    GMS 2 Drawing text frustrations

    I'm having a break from my main project to work on some form controls. I'm currently writing a text box control. I am perfectly happy with the code I have at the moment so I really don't want to completely restructure it in order to fix the following issue. The gap between each letter either...
  9. Reddoka

    Textbox disappear???

    I wrote the following code to create the queuing text boxes like the tutorial, but then when I started running the game the textbox didn't appear. Can anyone help me ??? Thanks a lot! <3 Here's the code of Newtextbox's script: var _obj if (instance_exists(oText)) _obj = oTextQ; else _obj =...
  10. Reddoka

    How can i put the text box above with these code???

    I wrote these with Mr. Tutorial, it's really cool! But anyone know how to put the text box above?? Thanks a lot~! OwO
  11. xS89Deepx

    Dialogue box

    Hey guys i need help with this code... Mouse Left Pressed - msg = get_string_async("What's your name?","Anon"); // It create window dialogue box. Asynchronous Dialogs event - var i_d = ds_map_find_value(async_load, "id"); if i_d == msg { if ds_map_find_value(async_load, "status") {...
  12. B

    Fatal Error in dialog textbox

    I'm making a 2d game in gamemaker 2 and when I export and open the exe-file there pops up a fatal error. I have no clue what the problem is. I can play my game flawlessly in the gamemaker project, but when I play it as an exe file this error pops up.
  13. sv3nxd

    SOLVED draw_sprite_general weird behavior

    I draw a sprite rotated and horizontally flipped. I do it with draw_sprite_ext and with draw_sprite_general, but I get a different outcome with each, despite having the same variables. With draw_sprite_general, flipping the sprite seems to set the origin to center? I don't know and I can't...
  14. J

    How to have multiple text input boxes

    So I need up to 6 players to enter their name. That's it! I know how to make 1 textbox, but not how to make multiple boxes that you need to select before typing a name in it. Any help would be appreciated! :) The code I currently have for 1 working textbox comes from this page...
  15. sv3nxd

    GML Most efficient way to render a textbox

    Hey, I'm currently working on an open-source project in which you can create a textbox with one single command. I've been working on it for a long time now, trying to improve it in every way I could. (https://github.com/Sven98/ezBox) I was wondering if the way I am doing it right now is...
  16. A.Chateauform

    GMS 2 How to code a click to open a textbox ?

    Hello everyone, I'm trying to make a point and click game with tutorials appearing when you click on different object, But i'm really bad at coding and i can't find what i really want on the tutorials Maybe someone can help me, i just need the code for the basic following process : - Click...
  17. matharoo

    GML RPG Textbox Tutorial -- Supports Character Names & Images

    GM Version: GMS2 Target Platform: All Download: http://matharoo.net/projects/rpg-textbox.yyz Summary: In this tutorial, we'll make an RPG textbox, which allows multiple messages, with names and images. Tutorial:
  18. S

    How to make a text pop up after quest?

    Hi, I have created a quest, but I don't know, how to create a working textbox after completing the quest. I've tried couple of this beginner would do but didn't work. I have a working textbox when interacting with npc and each npc has set what to say when interacted. Here are codes I've used in...
  19. E

    Error with textbox ;-;

    so, I made a simple textbox to one NPC, but in the first interaction, the text goes out of the box, but if you interact again, it's normal help pls ;-; my code: create: text = "nothin"; page = 0; xBuffer = 5; yBuffer = 5; boxWidth = sprite_get_width(textbox); stringHeight =...
  20. G

    Normal Text box

    I have looked everywhere for a normal text box than can scroll (not the typing diolong box). I want press F1 and the insturctions for my game pop up and let the players scroll through it like a normal widow text. Or.... Would to eat up to much memeory if I just make a 960x540 sprite and...