GameMaker Studio: Text Boxes Tutorial - (DnD) Drag and Drop

Поділитися
Вставка
  • Опубліковано 14 тра 2018
  • Drawing text one or more letters at a time contained within a box. Potentially more on this topic soon! Drawing Text Boxes in Gamemaker Studio 2 Drag and Drop (Dnd) by Sparckman

КОМЕНТАРІ • 70

  • @educatedtuber5350
    @educatedtuber5350 6 років тому +51

    You should make more gamemaker tutorials, I've been searching for this solution, Shaun started doing drag and drop but he then abandoned it. You're literal the only one doing Gamemaker DnD. Thanks for posting these.

    • @bluespark7656
      @bluespark7656 5 років тому +4

      I agree! Thanks for the video Sparckman.

  • @alienarchives2675
    @alienarchives2675 6 років тому +11

    this literally could not have come at a better time, i couldn't find a tutorial anywhere

  • @chris_devlog
    @chris_devlog 4 роки тому +4

    Sparck, I have to thank you for your drag and drop videos. It was maybe 2 years ago that I discovered your basic movement video and collision. These videos allowed me to learn drag and drop and now I can create pretty much anything. I'm slowly learning code now but I'm stoked that if I feel like it I have the freedom to create in D&D. Thank you for spreading your knowledge, I've even made some videos of me creating with drag and drop. I basically owe it all to you so thanks :)

  • @beeplus4777
    @beeplus4777 4 роки тому +5

    hey man. thanks for the video
    an easy way to slow down the text is to use a decimal instead of 1 in the "text + 1" variable for the text speed (like 0.1)

  • @dmmr69
    @dmmr69 6 років тому

    Thank you ! This is what i need ;) Like it :D

  • @simtaboket8293
    @simtaboket8293 5 років тому +5

    What about if its a large piece of text, with more than 1 line? How would you make it go on to a new line??

    • @dmac2016
      @dmac2016 3 роки тому +2

      In your text string, you would add a "
      " to your string. For example: "Hello
      World!"

  • @AZelene425
    @AZelene425 4 роки тому

    this helped a lot!!! thank youu!!

  • @skop1219
    @skop1219 2 роки тому

    great tutorial

  • @Bambiraptor0
    @Bambiraptor0 5 років тому +3

    It works! although i tried adding an "if key down" before the "draw value" so the text would only start rolling when i pressed enter. It works but the message instantly disappears after the key press. what am i doing wrong?

  • @morketernal5946
    @morketernal5946 Рік тому

    I love this tutorial, but this guy jesus, this gUY! I already have nightmares of: aNd YoU wIlL sEe NoThInG HAPPENS. Bro so enoying!

  • @dancingcinnamon
    @dancingcinnamon 2 роки тому +4

    There is another way to change the text speed just go to the step event and put the value for the assign variable to a decimal number like 0.5

    • @OGCalicant
      @OGCalicant Рік тому

      Yes you can skip the entire end I didn't even make an hh variable

  • @NFTboi
    @NFTboi 6 років тому

    Hey. Nice Video. I'm working on a Mining-Simulation game. I wanna create an option/button within the game itself which if enabled/pressed would allow the user to automatically run it at startup. Any idea how it can be done?Any code? Your guidance would be most appreciated. Btw, I'm using GM 8.

  • @aaronwise1089
    @aaronwise1089 4 роки тому +1

    Dude this is soo helpful with my rpg game.
    quick question though how do i make a new line in my text using the # symbol in game maker studio 2?
    also i want it to do a sound effect while typing.
    also if you want a easier way to slow down the text use a alarm set it 0 = 10 in alarm action in the create event or what ever speed you want the alarm to go at and in alarm 0 event ad 1 to letext and then set alarm 0 back to the desired number you want and to speed up the text make a keyboard space event and make it set to ad 1 to letext relative and to display the entire string of text all at once with one press of a key just make a enter key event and letext to 25000

  • @Kurotama_STR
    @Kurotama_STR 5 років тому +1

    Since I had a hard time understanding this, for those who wants to use draw_text_ext, you have to use a "code executer" (I don't know the name in english because I'm french) and use a command in it. If you use a simple "draw value", you will have a "0" where the "Caption:" is. I hope I was helpful !

  • @alekdavid
    @alekdavid 6 років тому

    Does it works with the first version of Game Maker?

  • @grass324
    @grass324 5 років тому +20

    Could you stop making fortnite videos and continue your dnd turn based rpg

  • @apugwithacomputer568
    @apugwithacomputer568 6 років тому +11

    aaaaand, nothing happens..

  • @Unarthadox
    @Unarthadox 4 роки тому +1

    anyway to make an image as the caption?

  • @wortexTM
    @wortexTM 4 роки тому

    Holy shit thanks dude

  • @hannahmclaughlin5587
    @hannahmclaughlin5587 Рік тому

    Every time I put more than one text into string_copy no matter if the index # is right or not it says "wrong number of arguments for function" does anyone know what is up with that?

  • @Chrinsj
    @Chrinsj 4 роки тому

    Hey I have some questions.. I hope you answer.
    1. If I want a sound to play every new letter (like in Undertale and Deltarune) how do I do that? And how do I make the audio stop when all the text is shown on screen?
    2. How can I make the text appear and disappear at a certain time?
    I'm stuck with this... please help me out!!

  • @bludotpng3245
    @bludotpng3245 4 роки тому

    how i can use character like ê or é? and how i change the font?

    • @OGCalicant
      @OGCalicant Рік тому

      make a new font and then edit the size and font to your liking. In your "Draw" event put a set font block with the font's name Hopefully that helps!

  • @hats_off9115
    @hats_off9115 5 років тому +1

    can you tell me how to make the text bigger?

    • @OGCalicant
      @OGCalicant Рік тому

      I know I'm late but you need to add a "set font" to your draw tab. Then go to said font or create a new one and edit it from there in the font editor. Set the font to that one and that's it :D

  • @Just_Baba07
    @Just_Baba07 3 місяці тому

    Ok, how do I make the text disappear and add new ones?

  • @xxcarlosxxmunosxxz1798
    @xxcarlosxxmunosxxz1798 6 років тому +5

    I was told by yoyo staff this was not possible to do with drag and drop. WOW, they don't even know their own software?

    • @theunity3danimator869
      @theunity3danimator869 6 років тому +2

      sparks is the only one doing DnD tutorials

    • @apugwithacomputer568
      @apugwithacomputer568 6 років тому +2

      yeah, that's why I subbed. he's like the only person on youtube who makes videos on drag and drop game engines.

    • @topbunnybozz791
      @topbunnybozz791 6 років тому +2

      it does, i don't understand, they made the tool but they don't know how to use it? they told me the same thing.

    • @lyrimetacurl0
      @lyrimetacurl0 5 років тому +2

      More like they made a lot of general purpose things but couldn't think of how to use them to do that (wasn't intentional).

    • @unnamedturtle4780
      @unnamedturtle4780 5 років тому +1

      yeah, we can do pretty much everything with this ;-; what is coding anymore

  • @illannapartida472
    @illannapartida472 5 років тому

    what about a dialogue system?

  • @Mastajwood
    @Mastajwood 6 років тому +1

    What about when the text gets longer than the box, how do you drop the text down so the text doesn't just write off the screen in one long line?

    • @amazingsparckman
      @amazingsparckman  6 років тому

      Instead of Draw text use draw_text_ext X Y " your text " separation, width

    • @Mastajwood
      @Mastajwood 6 років тому +2

      So I did that and it does indeed wrap, but now it's no longer typing out. Is it because i'm missing "letext" in that code?

  • @legs4419
    @legs4419 5 років тому +1

    How do you make that text box disappear and create another one after its done displaying the text

    • @gameinfamer4215
      @gameinfamer4215 5 років тому

      right

    • @mooncatdog7527
      @mooncatdog7527 2 роки тому

      here's whatchya do:
      1. make a "if space(or whatever button you want) pressed" event on the script
      2. make a copy of the text and make the text for that one
      3. make a "create instance" code block in the "if button pressed" script and set it to create an instance of the copy text
      4. add a "destroy instance" code block under that.
      5. press play and watch the magic happen. press your chosen button do delete the textbox FOREVER.
      6. there is no step 6
      hope this was helpful!

    • @legs4419
      @legs4419 2 роки тому

      @@mooncatdog7527 thanks for the reply, I don't make games anymore but hopefully someone else can use your info!

  • @theunity3danimator869
    @theunity3danimator869 6 років тому +2

    Shaun Spalding has the same tutorial made with code instead

  • @haycoal8773
    @haycoal8773 2 роки тому +1

    I'm sorry, I know this is about 3 years too late... But I was wondering if there is a way to set up a trigger to the dialogue box? Like when the player walks up to the NPC and presses space and the dialogue appears. I know there is a way in GML but is there a way to do this with DnD?
    Thank you in advance to whoever helps!

    • @3dstuff654
      @3dstuff654 2 роки тому +1

      If you go into the player object ,set a collision then ,if key pressed and then this I assume, try it

    • @haycoal8773
      @haycoal8773 2 роки тому +1

      @@3dstuff654 thank you! I appreciate that ^_^

    • @3dstuff654
      @3dstuff654 2 роки тому

      @@haycoal8773 np

    • @neongaming7357
      @neongaming7357 Рік тому

      @@3dstuff654 thanks too!

  • @CHRISTIANKNIGHT1586
    @CHRISTIANKNIGHT1586 11 місяців тому

    how do make it appear when i interact with an object?

    • @amazingsparckman
      @amazingsparckman  8 місяців тому +1

      you can do it by leaving an invisible object and on collision display the text or by distance from the object.

  • @adus2821
    @adus2821 4 роки тому

    yes please!! mmmmm

  • @joringedamke5597
    @joringedamke5597 3 роки тому

    "Hey guys, this is a text."

  • @jdoodledoodles3388
    @jdoodledoodles3388 6 років тому

    How do put text inside the box?

    • @amazingsparckman
      @amazingsparckman  6 років тому +1

      the text, instead setting the X and Y relative which is the checkbox, you type the name of the object which is the lebox, the lebox could be any sprite.
      if the box was called lebox... in the Draw X you put lebox and in the Y lebox
      the text will show up at 0,0 of lebox .... you can make lebox appear anywhere you want.

    • @jdoodledoodles3388
      @jdoodledoodles3388 6 років тому

      Thanks man your the best!

  • @gameinfamer4215
    @gameinfamer4215 5 років тому

    I fucking love you

  • @Oli_Ape
    @Oli_Ape 5 років тому

    I will gladly shmack that like button

  • @AlvesGameDev
    @AlvesGameDev 6 років тому +2

    First here

  • @soulofhonor7945
    @soulofhonor7945 6 років тому

    its in code not drag and drop please help me

  • @krevetka9744
    @krevetka9744 6 років тому +2

    Created an object. Did not place it in the room. Made no events for it to spawn. Nothing happens. Really?

  • @fure8691
    @fure8691 6 років тому +4

    Using "le" in 2018 unironically lmao

    • @asdfjkl1531
      @asdfjkl1531 4 роки тому

      It wasn't "unironically". In fact it was ironic however you couldn't pick that up.

  • @neongaming7357
    @neongaming7357 Рік тому

    this makes no sense