The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Chatty Devil
probgeng 7 Oct, 2021 @ 8:03am
Changing the dialogues
I'm using the Spamtom Mod (Replaces Devil statue) and I decided to change the dialogues you made to some of the spamtom dialogues but sadly some of them are kinda big and i didn't wanted to just cut them, There is any to put the dialogue in 2 lines instead of 1? Or even make it smaller? (I'm sorry for literally modding your mod, i'm not going to upload or anything else just make something funny for me lol)
< >
Showing 1-3 of 3 comments
boboo the fool  [developer] 20 Nov, 2021 @ 5:59pm 
there are other fonts you can use that are smaller, at line 106, f:Load("font/teammeatfont10.fnt"), change it to pftempestasevencondensed or mplus_10r maybe. the font would be in-character. you can also supposedly add new fonts, check the modding documentation [moddingofisaac.com]. so you could add a smaller font or maybe even the undertale font if you wanted?
If you wanted to split it in two lines, theoretically you'd use the f:GetStringWidth that I use to center the message, and split the message into two lines if it was wider than the screen width, move every character in the second half to a new variable and draw that string under the last one. I don't know how you'd do the middle step but I'm sure it'd be possible.
Also it's 100% cool! I highly encourage tinkering w mods to suit your preferences, that's a good introduction to coding.
probgeng 26 Nov, 2021 @ 5:46pm 
Thanks bro!
X404Frisk 2 Nov, 2022 @ 7:15pm 
h o i
< >
Showing 1-3 of 3 comments
Per page: 1530 50