These are all the same font. (HaxeFlixel)

Specifically this font, although I’ve tried a few. Specifically in HashLink.

Anyone have any tips or best practices when it comes to fonts and FlxText in general? The default font looks great, but I’m finding that just about every other font I try looks kind of terrible. Like sort of grainy, I guess? The default one looks very crisp in comparison. Also, any non-default font that I put in a FlxButton seems to be vertically way off-center, raised up too high.

MxRemy, (edited )

https://lemmy.one/pictrs/image/009c86b2-658d-4e91-999c-f26256e008da.png

Here’s the same comparison with the html5 target, in Chrome. I think it might be something to do with size of the game vs the size of the window? in Main.hx I have the game set to 320×240, and in Project.xml I have the window set to 640×480. I’m thinking when ScaleMode scales the game up to fit in the window, the font just scales really poorly?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • haxe@programming.dev
  • GTA5RPClips
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • Durango
  • Youngstown
  • slotface
  • tester
  • love
  • kavyap
  • everett
  • InstantRegret
  • mdbf
  • provamag3
  • osvaldo12
  • tacticalgear
  • ethstaker
  • rosin
  • normalnudes
  • khanakhh
  • cubers
  • anitta
  • modclub
  • Leos
  • cisconetworking
  • megavids
  • JUstTest
  • All magazines