You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to support Bitmap Fonts. I think they're basically just letters and numbers in a sprite sheet, so we should be able to make good use of the existing and future spritesheet code when rendering them.
I don't know if there is a standard format for the fonts "texture atlas", so I will have to look that up and decide what to support at some point.
The text was updated successfully, but these errors were encountered:
Seems like rendering text into the Canvas using strokeText and fillText is pretty slow.
MDN recommends to avoid doing it unnecessarily - which to me means any time except when prototyping.
I am still going to include the standard drawing functions for this - it's useful to be able to draw quick and dirty text sometimes.
It would be good to support Bitmap Fonts. I think they're basically just letters and numbers in a sprite sheet, so we should be able to make good use of the existing and future spritesheet code when rendering them.
I don't know if there is a standard format for the fonts "texture atlas", so I will have to look that up and decide what to support at some point.
The text was updated successfully, but these errors were encountered: