Hi and welcome to GLBasic
1. You can set the screensize with the command SETSCREEN in code. (Press F1 to see the help)
2. GLBasic use SpriteFonts. To create one go to Tools->Font Creator. Give the font a name and save it under the folder "Media"
Here code on how to load it:
1. You can set the screensize with the command SETSCREEN in code. (Press F1 to see the help)
2. GLBasic use SpriteFonts. To create one go to Tools->Font Creator. Give the font a name and save it under the folder "Media"
Here code on how to load it:
Code (glbasic) Select
SETCURRENTDIR("Media") //set current Dir to "Media"!
SETSCREEN 1920, 1080, FALSE // here you set the screensize windowed
LOADFONT "myFont.png", 1 // load the font, and give a number
SETFONT 1 // load the font by that given number
WHILE TRUE // mainloop
PRINT "Hello, world!", 500, 500 // print out a string to test the font
SHOWSCREEN // swap buffers
WEND // back to the top of "while"
END