ID:1475624
 


Was messing around more with my dialog box and decided to give it that "wiping" effect most RPGs use when they show text on screen. It's a bit shoddy, but it currently works.

I decided to make "#" a newline symbol so that the text-setter will put the text writer X at 0 and Y + 1.

Creating the dialog boxes for this example are like so:

Global _dialogbox :hud_dialogbox = HUD_CreateDialogBox(0,0,30,20,"Hello there.# # # #How are you?",True,True)
Global _dialogbox1 :hud_dialogbox = HUD_CreateDialogBox(60,60,30,20,"Multiple dialog boxes are#supported.#Use of newlines are too.",True,True)
_dialogbox1.PaintText(Rand(0,255), Rand(0,255), Rand(0,255))