From c099129ac5a8fe081f1a04b4bcf050736530b651 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 15 May 2005 20:41:30 +0000 Subject: Changes to use new font editor --- imagefont/test.bmx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'imagefont/test.bmx') diff --git a/imagefont/test.bmx b/imagefont/test.bmx index 0f38d29..4c064c9 100644 --- a/imagefont/test.bmx +++ b/imagefont/test.bmx @@ -3,14 +3,18 @@ Import noddybox.bitmapfont 'Import "BitmapFont.bmx" -Incbin "bmaxtest.bmi" +Incbin "bmaxtest.bmf" Const SCRW=640 Const SCRH=480 Graphics SCRW,SCRH,32,60 -fnt:BitmapFont=BitmapFont.Load("incbin::bmaxtest.bmi") +fnt:BitmapFont=BitmapFont.Load("incbin::bmaxtest.bmf") + +If fnt=Null + RuntimeError "Failed to open font" +EndIf c=255 ci=-5 @@ -70,7 +74,7 @@ While False ' Not KeyHit(KEY_ESCAPE) Wend sc=10 -t$="THIS IS SOME VERY, VERY, *VERY* LARGE SCROLLING TEXT....." +t$="THIS IS SOME VERY, VERY, *VERY* ~~LARGE SCROLLING TEXT....." x#=0 While Not KeyHit(KEY_ESCAPE) -- cgit v1.2.3