Hi there Ashley Tom
I've been looking for ways to add extra colors to my spritefont. I've looked through the js code for the spritefont object and it seems that the first thing it does is to take the characters listed in the object properties and split the spritefont sprite sheet so it assigns each letter to a piece of the sprite sheet.
The problem with this is that it makes it impossible to have extra characters in the spritefont sprite sheet without having a character assigned to it to be used later.
Here's a spritefont image for instance:
(please don't mind the cropping or badly colored letters, it's just an example)
I'd like to be able to do something like:
Start of level -> set spritefont text to "test" -> change Y offset to +400 -> append spritefont text "test2"
So the "test" part would be white and the "test2" part would be green.
I know this might be a bit too much to ask but would you kindly consider adding this to the spritefont object?
Thanks!