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/bmaxtest.bmf | Bin 0 -> 22016 bytes imagefont/bmaxtest.bmi | Bin 22012 -> 0 bytes imagefont/test.bmx | 10 +++++++--- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 imagefont/bmaxtest.bmf delete mode 100644 imagefont/bmaxtest.bmi (limited to 'imagefont') diff --git a/imagefont/bmaxtest.bmf b/imagefont/bmaxtest.bmf new file mode 100644 index 0000000..ba26caf Binary files /dev/null and b/imagefont/bmaxtest.bmf differ diff --git a/imagefont/bmaxtest.bmi b/imagefont/bmaxtest.bmi deleted file mode 100644 index 1c980a0..0000000 Binary files a/imagefont/bmaxtest.bmi and /dev/null differ 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