GLBasic forum

Main forum => GLBasic - en => Topic started by: Lazarus on 2007-Jun-05

Title: Setscreen
Post by: Lazarus on 2007-Jun-05
The below code runs without any errors, but it absolutely refuses to go to fullscreen.

Not only that, changing the setscreen command to make the width-height 1024 by 768 has no effect at all. :/

Code (glbasic) Select
SETSCREEN 640, 480, 1

LOADSPRITE "starfield.bmp", 0
SPRITE 0, 0, 0
USEASBMP

WHILE 1

GOSUB draw

WEND


SUB draw:

SHOWSCREEN

ENDSUB
Title: Setscreen
Post by: Kitty Hello on 2007-Jun-05
What's your specs? What version do you use?
Title: Setscreen
Post by: Schranz0r on 2007-Jun-05
I dont understand youre problem, it works!


Code (glbasic) Select
SETSCREEN 640, 480, 1

FOR i=0 TO 500
    PRINT ".", RND(640), RND(480)
NEXT
USEASBMP //Save as background

WHILE 1

GOSUB draw

WEND


SUB draw:

SHOWSCREEN

ENDSUB
Title: Setscreen
Post by: Lazarus on 2007-Jun-05
Doesn't work for me. :/

Gernot, I'm using version 4.181 - latest one.

This only just started not working, btw.
Title: Setscreen
Post by: Kitty Hello on 2007-Jun-11
Fullscreen not in demo version. Limited to 640x480, too.