New games every week!
Aligning Blog
3rd June 2024
Oh boy, what a kerfuffle.

-=-=-

|

The more I play with the new GameHandler code, the more obvious the text alignment issue is becoming, so yesterday I opted to make a quick fix and.
Oh my god.

Eight hours or more of tweaking and pulling and teasing the code in a variety of manners. Peeking at as much debug information as I could muster, and endlessly trying and retrying to get those letters straight.
It was certainly an effort, that's for sure.
I'm really quite alarmed by just how much of my day was taken up trying to get that working correctly.



It seems to be functioning properly now, and this small test should hopefully run just fine on your system.
Let me know, below, if it is.

There's now the tiniest of half-a-second's worth of a delay when starting a Player based game, just so it can settle into the groove, and get the font fully loaded before it tries to align it.
That was the main issue, I think.
I thought that having the font loaded into the "Click to Start" page was enough, but apparently not.

Live and learn, I suppose.

A.I. Corner



: Download | Suno Link

Alternative version
: Download | Suno Link
Sung by Suno


"Angry Cartoon @Derek can't sleep because of all the early morning chirping birds" by ArtFlow.ai
Views 835, Upvotes 4  
Daily Blog
New games every week!
Site credits : PHP script, Blog posts, Games, Music, Pixelart, Poems and More : Jayenkai
(c) Jayenkai 2023 and onwards, RSS feed 3

Blog - Aligning - AGameAWeek