

So I think I have the layout done for the battle screen. I've devised a dynamic border based on the length of the enemy name. Sadly, as it gets longer, it does seem to pad with a little spacing, I'm not entirely sure how to combat that yet.
The code in question:
Code:
Text(133,5,Str5
length(Str5)9->Q
Line(1,58,4+Q,58,12,1
Line(1,78,4+Q,78,12,1
Line(0,59,0,77,12,1
Line(5+Q,77,5+Q,59,12,1
Line(3,60,2+Q,60,12,1
Line(3,76,2+Q,76,12,1
Line(2,61,2,75,12,1
Line(3+Q,75,3+Q,61,12,1I'm happy enough with it for now to start making progress on the actual battle system. The "dialogue box" at the bottom will contain everything. Will let you use items, choose magics, etc, along with telling you the actions of what is going on. I hope. I'm also contemplating raising the height of the dialogue box up to touch the bottom of the action box. Thoughts?
Edit:
Staring at it, it seems that the problem is stemming from characters that aren't as wide as others. The fix available seems like figuring out the characters that are narrower, and if it comes across those to reduce the values slightly, but that seems like an unnecessary pain to implement. I wonder if the lowercase letters offer more of a consistency than uppercase, or if they are both just chaotic in widths?










