Torturing myself (DRBEF Devlog 10)

Implementing the text system is really difficult, mainly since I have the text sprites at the wrong size, so I have to manually resize it and do touch-ups to make it look correct. Either that, or I start from scratch.

All because I thought the sprites needed to be bigger. Great. The dialogue system does type, though. Progress.

I ripped the dialogue system straight from Pixel's ASREAL Engine, and he credits it to someone else, so I'm copying a copy without the tutorial on how to copy it.

Even worse, ERAM uses lowercase for some bizarre reason, even though the rest of the dialogue uses all caps. MEANING I have to download even more characters and get those right.

RAAAAAAAHHHHHHHHH

Hopefully I get this done by Tuesday. I just want this over with

(God, I have to implement a text wrap system too... I don't know how to do that... I'll figure it out.)

I empathize with your pain. I've made text engines on Scratch as well, and producing every letter is indeed quite tedious, but not incredibly hard. It just takes a while.

Elaborating on the struggles I endured

Later, when adding various graphic effects (large oof incoming) I realized that I couldn't properly implement color yet, since all the letters were black. So I had to go through every costume, and since full wasn't working for some reason, I had to manually select and recolor every letter to red for color changing to work.

Yeah, text wrap is a pain. I'm personally more of a single-function-call-for-the-entire-text kind of guy, unlike others I've seen that use a bunch of functions for adding a line, line break, changing effects and so on. Thus, I found it easiest to make it move all the way to the left and a bit down once its X is far enough to the right.

I still hope to add more to my engine, mainly inline effect alters[1] and %character calls[2].

Good job to both of us, I suppose


  1. Using \ to carry out changes to graphic effects like color within the line ↩︎

  2. No, that % was not a typo. It means putting a special character that normally calls an action immediately after a % in order to make it print the character instead of calling that action. e.g. %~ or %\ ↩︎

I stole borrowed text sprites from Griffpatch's engine and just cobbled together a text engine myself without watching a tutorial. There was minimum pain involved, but it also has minimum functionality...

Here’s a tip: watch griffpatch’s text engine tutorials for all the functionality you could ever want

Jesus Christ, I'm just resizing letters, why is my palm so sweaty

Halfway done

YAYYYY I done

OH THANK GOD
It works properly
I still want to adjust the text print speed as well as add pauses... well time to do that