GLBasic forum

Main forum => GLBasic - en => Topic started by: deathtolls on 2007-Apr-29

Title: omg cant even load font...
Post by: deathtolls on 2007-Apr-29
Why can't I load a font? see here:

// --------------------------------- //
// Project: PEANUT BUTTER JELLY TIME!
// Start: Sunday, April 29, 2007
// IDE Version: 4.091


// DEMO-VERSION:
// Missing features:
// No time limit in playing your game
// No Watermark in Executables

PRINT "PEANUTBUTTER JELLY TIME" ,200,200
LOADFONT "smalfont.bmp", 1
SETFONT 1
PRINT "some text" ,100,100
SHOWSCREEN
MOUSEWAIT
END

I used the sample font.
help??
Title: omg cant even load font...
Post by: Schranz0r on 2007-Apr-30
can you Upload all files ziped, an post the link ?
Than i can help you.

Basicly, you can make a Font with Werkzeuge/Zeichensatz-creator.
Save it to the path of youre .gbas-folder, and Klick OK!

Now load the Font with

Code (glbasic) Select
LOADFONT "name.bmp",1set the Font with:

Code (glbasic) Select
SETFONT 1
Title: omg cant even load font...
Post by: deathtolls on 2007-Apr-30
aight now i get it Thankx alot