Hey, I'm Tony Yotes, but just Yotes works just fine. I was born in the '90s, which in my humble opinion, was the perfect age to grow up playing awesome games across all generations. That childhood inspired me to pay those good times forward and create my own video game empire. Check out everything I do at www.yotesgames.com

Report RSS Actually Coding A Text Box System (BUGS!)

Posted by on


After figuring out how to do highlighting and new lines, all that's left is to start coding. I quickly scribbled and drafted ways to make it work on paper and now I'm going to implement it in C# and see how big the mess will be. If I'm lucky, then I'm just about done with this thing...



I'm just getting started and I can already see the mess on my hands. Getting this thing to work properly is going to be a headache but I'm sure I can get it soon. My biggest problem is getting each letter to appear one at a time. I suppose I should try to get everything else working fine for now and add that effect afterwards. I'd like to know if anything else is broken too.

The code above takes in a string from an object that sends a message "TextLine" with whatever it is they will say. If the text reaches the edge the string sent is supposed to be cut off and continued on the line below. Right now its full of logic errors and it's my job to fix those.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: