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.
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 :)
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)
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 !
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?
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!
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
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!
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!!
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
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?
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.
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.
I agree! Thanks for the video Sparckman.
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 :)
this literally could not have come at a better time, i couldn't find a tutorial anywhere
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??
In your text string, you would add a "
" to your string. For example: "Hello
World!"
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
Yes you can skip the entire end I didn't even make an hh variable
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)
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 !
I love this tutorial, but this guy jesus, this gUY! I already have nightmares of: aNd YoU wIlL sEe NoThInG HAPPENS. Bro so enoying!
great tutorial
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?
Could you stop making fortnite videos and continue your dnd turn based rpg
i agree
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!
If you go into the player object ,set a collision then ,if key pressed and then this I assume, try it
@@3dstuff654 thank you! I appreciate that ^_^
@@haycoal8773 np
@@3dstuff654 thanks too!
DUDE YOUR MY GAME SAVEIOUR
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
How do you make that text box disappear and create another one after its done displaying the text
right
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!
@@mooncatdog7527 thanks for the reply, I don't make games anymore but hopefully someone else can use your info!
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!!
watch dnd sound tutorial
aaaaand, nothing happens..
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?
Instead of Draw text use draw_text_ext X Y " your text " separation, width
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?
can you tell me how to make the text bigger?
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
anyway to make an image as the caption?
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?
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?
sparks is the only one doing DnD tutorials
yeah, that's why I subbed. he's like the only person on youtube who makes videos on drag and drop game engines.
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.
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).
yeah, we can do pretty much everything with this ;-; what is coding anymore
this helped a lot!!! thank youu!!
how do make it appear when i interact with an object?
you can do it by leaving an invisible object and on collision display the text or by distance from the object.
how i can use character like ê or é? and how i change the font?
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!
Thank you ! This is what i need ;) Like it :D
Holy shit thanks dude
Does it works with the first version of Game Maker?
"Hey guys, this is a text."
Shaun Spalding has the same tutorial made with code instead
How do put text inside the box?
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.
Thanks man your the best!
what about a dialogue system?
I fucking love you
I will gladly shmack that like button
its in code not drag and drop please help me
idk
yes please!! mmmmm
Created an object. Did not place it in the room. Made no events for it to spawn. Nothing happens. Really?
First here
Using "le" in 2018 unironically lmao
It wasn't "unironically". In fact it was ironic however you couldn't pick that up.
this makes no sense
but it's working
Ok, how do I make the text disappear and add new ones?