fix: font loading.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
info face="pixelFont-7-8x14-sproutLands" size=72 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=1,1,1,1 spacing=1,1
|
info face="pixelFont-7-8x14-sproutLands" size=72 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=1,1,1,1 spacing=1,1
|
||||||
common lineHeight=72 base=56 scaleW=434 scaleH=434 pages=1 packed=0
|
common lineHeight=72 base=56 scaleW=434 scaleH=434 pages=1 packed=0
|
||||||
page id=0 file="pixelFont-7-8x14-sproutLands.png"
|
page id=0 file="font.png"
|
||||||
chars count=91
|
chars count=91
|
||||||
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=15
|
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=15
|
||||||
char id=33 x=57 y=55 width=10 height=58 xoffset=11 yoffset=-1 xadvance=28 page=0 chnl=15
|
char id=33 x=57 y=55 width=10 height=58 xoffset=11 yoffset=-1 xadvance=28 page=0 chnl=15
|
||||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
+1
-1
@@ -33,7 +33,7 @@ void ConfigApp(App* app){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void InitApp(App *app){
|
void InitApp(App *app){
|
||||||
InitFont(&app->font, "assets/pixelFont-7-8x14-sproutLands.fnt");
|
InitFont(&app->font, "assets/font.fnt");
|
||||||
InitLogo(&app->logo);
|
InitLogo(&app->logo);
|
||||||
InitMenu(&app->menu);
|
InitMenu(&app->menu);
|
||||||
InitGame(&app->game,&app->window);
|
InitGame(&app->game,&app->window);
|
||||||
|
|||||||
Reference in New Issue
Block a user