_FullScreen woes
#6
(03-23-2023, 05:46 PM)DSMan195276 Wrote: Some recent changes in QB64-PE v3.5.0 caused a problem with _FullScreen and other commands like _ScreenMove being executed close in time to each-other. There's a bug report here, it's on my list of things to get to. I would try adding a short
_Delay .1
after your
_ScreenMove
and see if that fixes the problem as a temporary fix.

For QB64 v2.0.2, that had other issues (which I fixed in v3.5.0) that could cause _FullScreen like you're using to not work. I don't think I would expect the _same_ behavior though, so that's a bit odd and makes me think maybe something else is going on here...

Thanks for your reply! 
Per bplus's suggestion, I removed the _ScreenMove: 
Code: (Select All)
Screen _NewImage(800, 600, 32)

'_ScreenMove 0, 0 'this or

_FullScreen ' this

Line (100, 100)-(500, 400), _RGB32(255, 0, 0), BF
Line (30, 20)-(200, 200), _RGB32(0, 255, 0), BF
Line (400, 300)-(550, 450), _RGB32(0, 0, 255), BF
Locate 30, 1: Color _RGB32(255, 255, 255)

Print "Press any key to exit"
Sleep
System

and it's still not working. The screen just goes black with a white box (I think it's the outline of the program window before the fullscreen): 

[Image: Full-Screen-woes-2.png]

I tried the exact same code in QB64 v2.0.2, and it also doesn't work, but instead of the black with the white box, all that happens is the screen updating seems to be frozen. The IDE and all the windows on the screen remain the same as the moment you press F5, and you can't see the mouse pointer move. Pressing esc puts you back into the IDE and the mouse and screen updates resume normal behavior.

I tried putting a timer in, but that's not making any difference:

Code: (Select All)
Screen _NewImage(800, 600, 32)
_Delay 3

_FullScreen ' this
_Delay 3

Line (100, 100)-(500, 400), _RGB32(255, 0, 0), BF
Line (30, 20)-(200, 200), _RGB32(0, 255, 0), BF
Line (400, 300)-(550, 450), _RGB32(0, 0, 255), BF
Locate 30, 1: Color _RGB32(255, 255, 255)

Print "Press any key to exit"
Sleep
System

That's all the time I have for now... I appreciate you guys looking into this, and am sorry to be such a pain. 
Have a good one!
Reply


Messages In This Thread
_FullScreen woes - by madscijr - 03-23-2023, 04:02 PM
RE: _FullScreen woes - by bplus - 03-23-2023, 04:20 PM
RE: _FullScreen woes - by madscijr - 03-23-2023, 08:16 PM
RE: _FullScreen woes - by DSMan195276 - 03-23-2023, 05:46 PM
RE: _FullScreen woes - by madscijr - 03-23-2023, 08:23 PM
RE: _FullScreen woes - by SMcNeill - 03-23-2023, 08:21 PM



Users browsing this thread: 4 Guest(s)