Change the asset keys
This commit is contained in:
@@ -10,9 +10,9 @@ let font_texture: Texture;
|
||||
let font_fnt: FntFont;
|
||||
|
||||
export function init_font() {
|
||||
font_texture = AssetManager.instance.get<Texture>("bworld:m6x11");
|
||||
font_texture = AssetManager.instance.get<Texture>("cubi:m6x11");
|
||||
|
||||
font_fnt = parse_fnt(AssetManager.instance.get("bworld:m6x11_fnt"));
|
||||
font_fnt = parse_fnt(AssetManager.instance.get("cubi:m6x11_fnt"));
|
||||
}
|
||||
|
||||
// bmfont's text format. glyphs in the image have transparent padding around them, which their offsets don't count, so
|
||||
|
||||
Reference in New Issue
Block a user