Well, my english is BAD! =P
Trying to explain again..
I have a function that show the Main Menu, right?
And, my code looks like this
repeat
graphics 800,600,16,2
Main() ;function that calls the main menu
graphics 800,600,16,2
Load() ;Load images, sounds, etc
While not key hit(1)
wend
forever
When in the main menu i click in START GAME i have the following code
endgraphics
return
It means.. that i End my graphics (free everything, i think..) and after create a new graphics to load game images...
Ok, now i have the problem.. when START A GAME and hit Escape.. my game return to the main menu.. but when i click in START GAME again.. my images handles are switched.. (look at the top image).. i don't know why...
Easy to understand now?
Trying to explain again..
I have a function that show the Main Menu, right?
And, my code looks like this
repeat
graphics 800,600,16,2
Main() ;function that calls the main menu
graphics 800,600,16,2
Load() ;Load images, sounds, etc
While not key hit(1)
wend
forever
When in the main menu i click in START GAME i have the following code
endgraphics
return
It means.. that i End my graphics (free everything, i think..) and after create a new graphics to load game images...
Ok, now i have the problem.. when START A GAME and hit Escape.. my game return to the main menu.. but when i click in START GAME again.. my images handles are switched.. (look at the top image).. i don't know why...
Easy to understand now?