-
Notifications
You must be signed in to change notification settings - Fork 0
Font API
Gentilhomme edited this page Jul 3, 2016
·
2 revisions
Allows to easily manage the fonts for your project through variable accessible from anywhere.
Warning : The beta framework doesn't have default font, so rewrite the default font by your self.
this.actor.textRenderer.setFont(United.font.Default);
These method can help you to add or get a font Asset at any moment of the game execution.
static add(name:string,asset:Sup.Asset) : boolean
static get(fontName:string) : string
Contributor :
- Fraxken
- Purexo