Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics


Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

Feature Req: Font live update?

A topic by mrvictordiaz created Dec 04, 2018 Views: 52 Replies: 1
Viewing posts 1 to 2


Since downscaling anything in GameMaker looks really really bad (very pixelated), what is the possibility of adding font live updates? So I can resize fonts just by changing font sizes in the asset tree, and see if they fit well.

Developer (2 edits)

Unfortunately, the only function that GM currently offers for replacing fonts at runtime is font_replace_sprite[_ext] (which very specifically can't replace non-sprite fonts), so I'd have to write a custom font loader and a custom font renderer for this, at which point it wouldn't be very convenient to do, nor very convenient to use (swapping back and forth between regular and custom draw_text functions).

If you want a delightful workaround, take a screenshot of your game UI without text, add it as a background into an empty project, and play around with font settings there.