scrambled images after alt/tab

Blitz3D Forums/Blitz3D Beginners Area/scrambled images after alt/tab

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Which version of Blitz is it?

sorry, should have said - Blitz+

That's 800x600? whoah!

yup :)


I'd say take a look at the code where your bases are eroded

I used your example, and no luck, thanks Jes. the main loop starts after that function call, so the setbuffer backbuffer() must happen in the function or immediately after, it doesn't seem help...


Blitz does not like to Alt-Tab. Weird things may happen.

I guess people to not Alt/tab that much in a game, but if I'm doing something else at the same time, for instance Alt/tabbing to check a download, or something...

I'm using this code now, it does not use Createimage, and does not corrupt after Alt/Tab:
	For i% = 1 To 4	
		White.Fort = New Fort
			White\FortX = i%*147
			White\FortY = 480
			White\Pic = LoadImage("data\gfx\fort.png")
	Next


thanks for help everybody