summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--imagefont/bmaxtest.bmfbin0 -> 22016 bytes
-rw-r--r--imagefont/bmaxtest.bmibin22012 -> 0 bytes
-rw-r--r--imagefont/test.bmx10
3 files changed, 7 insertions, 3 deletions
diff --git a/imagefont/bmaxtest.bmf b/imagefont/bmaxtest.bmf
new file mode 100644
index 0000000..ba26caf
--- /dev/null
+++ b/imagefont/bmaxtest.bmf
Binary files differ
diff --git a/imagefont/bmaxtest.bmi b/imagefont/bmaxtest.bmi
deleted file mode 100644
index 1c980a0..0000000
--- a/imagefont/bmaxtest.bmi
+++ /dev/null
Binary files 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)