textbox

  1. Starrbar

    SOLVED Textbox visual and sound delay doesn't seem set up properly

    EDIT 2-1-24: I got so fed up that I'm trying Scribble instead. It's honestly perfect, I just need to confirm that I'm able to hook it up to my dialogue piles. I'll mark this as solved and move on as soon as I confirm that, but it's already looking miles better. EDIT 2-3-24: I think it's safe...
  2. Richcraftplays

    GameMaker making player move to correct area at right time

    I need help I used a tutorial I found on here for textboxes, but can't figure out how to move the player to the selection area after it, need then back to the box I can not find the tutorial again, so how would I do it,
  3. L

    GameMaker An Issue with custom line breaking

    Hello! I am currently trying to make my own textbox system where I am drawing every letter separately and I am having issues with line breaking. What I am doing is storing every character in an array and then drawing it out using a for loop, however, when I try to add conditionals where I check...
  4. mean_pineapple

    Font too big, when reducing to required size - illegible

    Hello, everyone. I tried out textboxes, and literally going insane due to the issues with font. My viewport properties are Width 394, height 192 This is in order to limit the initial view to focus on the character when she is in the building. I assume it has to do something with it. My...
  5. HannahnotBanana

    GameMaker Help with textbox code

    Howdy, I've been having issues with my code, and so far, no one has been able to help. I am creating a textbox, but when I run the code, it deletes it every time I click the space button and only shows the textbox for a fraction of a second. From my limited knowledge, I believe the issue is...
  6. clover

    Help with Textbox

    hello! im very new to coding, and im trying to create a textbox like undertales. im working on opening the textbox with pressing enter near an object, and then closing it when enter is pressed again. the problem is when i load the game, the textbox is already there without pressing anything...
  7. G

    SOLVED issues trying to set up alternate textbox sequences

    So I'm quite new to gamemaker, and I followed the video tutorial by Matharoo on youtube (the two hour long one), and I'm trying to figure out how to add alternate textbox functionality using the system they introduced. I have three sequences made, one having the textbox, namebox, and imagebox...
  8. AzazelOG

    Legacy GM Does anyone know how to make a text-box that can have different answers?

    Just to remember im using game maker studio 1.4 (due to my pc not being able to run gms 2) Im making a game i know how to a text box, but i can't get how to do a text-box that has options/answers to the npc's or others example of what Im referring of: the player can choose an option witch will...
  9. R

    SOLVED text box

    Hello everyone, I need help creating a textbox for my new project I'm working on. Well, I was creating a prettier interface for my game to pass a description to play over some items, so I decided to make a text box to look cool. This code works but not 100%, has some visual errors or ends up...
  10. Starrbar

    SOLVED Draw_sprite code block interrupting another one's animation

    Hello! So I've been following this tutorial by Peyton Burnham on YouTube (called "Branching Dialog System with Effects in GMS 2! (Part 4: Character Portraits, sound effects, pauses)", and I've got everything how I want it so far, even managed to tweak the code so it won't make a new textbox for...
  11. AnnoyingDoggoX

    GML Issue with arrays when creating instances of textboxes

    I will show my code from relevant objects and events and label them and then describe the problem. //Object: obj_textbox | Event: Draw //draw textbox draw_sprite_ext(spr_textbox, 0, x, y,boxscale,boxscale,0,0,255); //draw text draw_set_font(fn_textbox); draw_text_ext(x,y,text[page]...
  12. T

    GameMaker Problem with Textbox in a Tutorial series

    currently very far into this tutorial series but I got stumped at 7:30. I typed it correctly I thought but at 14:30 I got an error as soon as I tried it. note: the textbox was working until this video. Error: ___________________________________________...
  13. Bear98

    GameMaker Showing the Proper Messege in a textbox

    Hello, I've been using Peyton Burnham's Branching Dialogue for my game. It's been working well, but I ran into an issue: I have an object manager that spawns several of the same objects. for (var i = 0; i < ShopRow; i++){ for (var j = 0; j < ShopCol; j++){...
  14. BGrim

    GML Can't make text box stay

    Right now I can get the text to appear when the player is near the object, but it only stays up for a frame and then disappears. Step Event confirm = keyboard_check_pressed(ord("X")); cancel = keyboard_check_pressed(ord("Z")); inter = false if (confirm && distance_to_object(prty_Cwc)<1) =...
  15. Krazytv

    GML var _txtb_x = textbox_x + text_x_offset[page]; giving me an error message

    Hello! I've been following this tutorial pretty closely and I've been having problems figuring out why this error is happening https://youtu.be/6Bzj7GdSkJI So far besides this one, there haven't been any errors ___________________________________________...
  16. Kepler2b

    how to create infinite textbox

    When I interact with the enter key and opens the text box, I want to open another after it is destroyed, but that doesn’t happen, I have to get out of the collision zone and press the same key again texbox event create: text = ["hello"]; page = 0; xBuffer = 10; yBuffer = 10; boxHeight...
  17. 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 =...
  18. 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...
  19. F

    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.
  20. E

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