#I need help with Undertale-style dialogs using .csv files and Scribble :(
24 messages · Page 1 of 1 (latest)
What is the theory you know?
I think a good way to make the dialogue is keep track of how many chars are visible and then check the string from 0 to the shown length to see what special actions you need to do
So if you have a colour change to red action in the middle of the text it only happens when the middle chars are shown
You can passively increase the shown chars
To get the typewriter effect
You do have to insert linebreaks yourself tho since they'll happen whilst the word is writing when using draw text ext
You can check the last shown character and find the beginning and end of that word by checking if you've hit a space or not
And then if the string width of the string from the start of the line to the end of the word is greater than your limit (and the word isn't linebreaked already) you add a linebreak and record the starting char of the next line
If you hit a regular linebreak too (\n) you'll still want to record the char of the next line
How do a make a dialogue system were when i go up to objects or NPCs with more than 1 thing to say I can simply keep pressing a key "Z" for example, until I the last line of text. you know, just like in any other game.
Every tutorial ive seen on youtube and blogs are to hard for me to...
Ok, thank you so much ❤️ It's starting to work but now I have another problem
This guy's one is good
Some special characters (like ñ, á é í ó ú...) do not show in the dialog
Why?? They just disapear from the dialog
Thank you so much, I'll take a look
Could be a font problem
Not your dialogue
I've checked and the font has that characters
Unless you have some special characters that use those symbols for some reason? I wouldn't know
Log the shown text string
Absolutely certain? If you are talking about what you see in the font editor, GameMaker is known to lie by using a fallback font.