New games every week!
GTT Dev : Colouring the Wrong Letters Blog
30th September 2024
For the typing tutor, I need two colours for the text.
One for right letters, one for wrong ones.

-=-=-



I've got an Ink command, and it has a few presets colours. I can easily add different colour schemes to the thing. (Light mode vs Dark mode, and maybe a few more)

The problem now is getting it to do multi-coloured text output. I think I'll be better off creating multiple lines of text. One for good, one for bad.
The fact that I'm using a monospaced font helps that a fair bit, so I can easily write the bad text over the top of the good text to produce lines with both colours.
Of course, the other issue is.. Can the browsers keep up with drawing all that text to the canvas?
Maybe it might be a good idea to .. Not use a canvas?! And instead use standard HTML elements..?!
Crikey, wouldn't that be odd.

But I've been thinking that, should I use "normal" HTML, it might allow me to add some css animation things, and make everything a little bit more interesting to look at.

Hmmm..

I think I'll likely experiment with that, today, to see if I can....
A) Keep everything looking neat with the Amstrad CPC Condensed font,
B) Keep everything in line,
and
C) Keep everything flowing well enough that the battery won't crap its pants if you're running on a laptop/mobile device.

Experiments FTW!!

A.I. Corner


> Reveal 🔎
: Download | Suno Link

Alternative version
: Download | Suno Link


"Cartoon @Derek experiments with different colours, psychedelic, cartoon @derek" by ArtFlow.ai

> Reveal 🔎
Views 52, Upvotes 1  
Daily Blog , Gtt , Advent
New games every week!
Site credits : Jayenkai
(c) Jayenkai 2023 and onwards, RSS feed 85

Blog - GTT Dev : Colouring the Wrong Letters - AGameAWeek