Setscreen

Previous topic - Next topic

Lazarus

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

Kitty Hello

What's your specs? What version do you use?

Schranz0r

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
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Lazarus

Doesn't work for me. :/

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

This only just started not working, btw.

Kitty Hello

Fullscreen not in demo version. Limited to 640x480, too.