diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-05-15 20:41:30 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-05-15 20:41:30 +0000 |
commit | c099129ac5a8fe081f1a04b4bcf050736530b651 (patch) | |
tree | 7a5e2b64de7b87188722c6937c4a94685ab79385 | |
parent | c9259028beb11a9a838bb0d0fb0f076406986beb (diff) |
Changes to use new font editor
-rw-r--r-- | imagefont/bmaxtest.bmf | bin | 0 -> 22016 bytes | |||
-rw-r--r-- | imagefont/bmaxtest.bmi | bin | 22012 -> 0 bytes | |||
-rw-r--r-- | imagefont/test.bmx | 10 |
3 files changed, 7 insertions, 3 deletions
diff --git a/imagefont/bmaxtest.bmf b/imagefont/bmaxtest.bmf Binary files differnew file mode 100644 index 0000000..ba26caf --- /dev/null +++ b/imagefont/bmaxtest.bmf diff --git a/imagefont/bmaxtest.bmi b/imagefont/bmaxtest.bmi Binary files differdeleted file mode 100644 index 1c980a0..0000000 --- a/imagefont/bmaxtest.bmi +++ /dev/null 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) |