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

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 69

  • @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 6 лет назад +4

      I agree! Thanks for the video Sparckman.

  • @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 :)

  • @alienarchives2675
    @alienarchives2675 6 лет назад +11

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

  • @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!"

  • @dancingcinnamon
    @dancingcinnamon 3 года назад +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

  • @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)

  • @Kurotama_STR
    @Kurotama_STR 6 лет назад +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 !

  • @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!

  • @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?

  • @grass324
    @grass324 6 лет назад +20

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

  • @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 2 года назад

      @@3dstuff654 thanks too!

  • @proken-lol
    @proken-lol 3 месяца назад

    DUDE YOUR MY GAME SAVEIOUR

  • @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

  • @legs4419
    @legs4419 6 лет назад +1

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

    • @gameinfamer4215
      @gameinfamer4215 6 лет назад

      right

    • @mooncatdog7527
      @mooncatdog7527 3 года назад

      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 3 года назад

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

  • @loldorito
    @loldorito 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!!

  • @apugwithacomputer568
    @apugwithacomputer568 6 лет назад +11

    aaaaand, nothing happens..

  • @yo_itsjw
    @yo_itsjw 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

    • @yo_itsjw
      @yo_itsjw 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?

  • @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

  • @Unarthadox
    @Unarthadox 5 лет назад +1

    anyway to make an image as the caption?

  • @hannahmclaughlin5587
    @hannahmclaughlin5587 2 года назад

    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?

  • @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 6 лет назад +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 6 лет назад +1

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

  • @AZelene425
    @AZelene425 4 года назад

    this helped a lot!!! thank youu!!

  • @CHRISTIANKNIGHT1586
    @CHRISTIANKNIGHT1586 Год назад

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

    • @amazingsparckman
      @amazingsparckman  Год назад +1

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

  • @bludotpng3245
    @bludotpng3245 5 лет назад

    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!

  • @dmmr69
    @dmmr69 6 лет назад

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

  • @wortexTM
    @wortexTM 4 года назад

    Holy shit thanks dude

  • @alekdavid
    @alekdavid 6 лет назад

    Does it works with the first version of Game Maker?

  • @joringedamke5597
    @joringedamke5597 3 года назад

    "Hey guys, this is a text."

  • @theunity3danimator869
    @theunity3danimator869 6 лет назад +2

    Shaun Spalding has the same tutorial made with code instead

  • @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!

  • @illannapartida472
    @illannapartida472 5 лет назад

    what about a dialogue system?

  • @gameinfamer4215
    @gameinfamer4215 6 лет назад

    I fucking love you

  • @Oli_Ape
    @Oli_Ape 5 лет назад

    I will gladly shmack that like button

  • @soulofhonor7945
    @soulofhonor7945 6 лет назад

    its in code not drag and drop please help me

  • @adus2821
    @adus2821 4 года назад

    yes please!! mmmmm

  • @krevetka9744
    @krevetka9744 6 лет назад +1

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

  • @AlvesGameDev
    @AlvesGameDev 6 лет назад +2

    First here

  • @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 2 года назад

    this makes no sense

    • @Roxy_ytb
      @Roxy_ytb Год назад

      but it's working

  • @Just_Baba07
    @Just_Baba07 7 месяцев назад

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