I have a problem with Screens and Sprites.
Can't show the code because it's way too big - but what I do is simply this:
Open a window with the size 740x540
Open a windowed Screen with the size 896x512
Load some Sprites
Display some Sprites (on 28 different locations - sprite size 128x128)
Mess around with the code...
Display some Sprites again
Repeat messing around...
Stop displaying Sprites
Close the Screen
Open a new windowed Screen with the size 1024x512
Display some Sprites again < crash !!!!!!!!!!!!!!!!!
Suppose the problem is that the output buffer has changed.
I don't like the idea to free all the sprites and reload them after opening a new screen.
(because every Level of the game need a modified screen size)
How can I set the right output buffer
UseBuffer(#Sprite) is only used if you render on a sprite.
Played with ScreenOutput() and StartDrawing() but nothing worked...
Do I have to reload all my Sprites or is there a solution
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
