[futurebasic] The Window Command

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2008 : Group Archive : Group : All Groups

From: Markus Binder <markus.binder@...>
Date: Sat, 3 May 2008 20:34:09 +0200
When I start my game, opening and closing the window is okay if I do  
it once, but it goes wrong if I do it again.

1. The game starts:
window 1, "Title Screen",(0,0)-(672,416),1
maxwindow 672,416
minwindow 672,416
-> thatīs ok

2. I choose the editor:
Window Close 1
window 1, "Level Editor",(0,0)-(1280,704),1
maxwindow 1280,704
minwindow 1280,704
-> thatīs ok

3. In the editor I jump back to 1.
window 1, "Title Screen",(0,0)-(672,416),1
maxwindow 672,416
minwindow 672,416
-> now it is wrong

When 3. is done, the big window closes, small window opens as  
expected, but it is white. The program itself seems to be working, I  
can quit by pressing Apple+Q. I can also switch back to the editor.  
Then the small window closes, the big win opens again but some parts  
get visible, others are invisible, and the more often I play around  
with it, the more problems in window output come up. What am I doin  
wrong?