summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-05-15 20:41:30 +0000
committerIan C <ianc@noddybox.co.uk>2005-05-15 20:41:30 +0000
commitc099129ac5a8fe081f1a04b4bcf050736530b651 (patch)
tree7a5e2b64de7b87188722c6937c4a94685ab79385
parentc9259028beb11a9a838bb0d0fb0f076406986beb (diff)
Changes to use new font editor
-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)