hi,
I've got a problem, I am working on a game menu which has 2 parts,
1 in windowed mode (640,480)
and 1 main menu ( full screen 1280,1024,0)
and my problem is:
if i try to resize the resolution from 640,480 to 1280,1024 with the "set display mode 1280,1024,0" command i get the "error 502: image does not excist"
i can't find the incorrect part of my script, because if i just keep the windowed mode (640,480) it does display the image (as far as it fits on it)
here is my script,
set window on
set window size 640,480
set window position 100,100
set display mode 640,480,0
wait 10
`************************* menu 1 *************************
load music "media\music1.mp3",1
load image "media\menua.bmp",1
paste image 1,0,0
loop music 1
`load menu data
load sound "media\metalclang.wav",1
load sound "media\sword.wav",2
load image "media\button1.bmp",2
load image "media\button2.bmp",3
load image "media\l0.bmp",4
load image "media\l1.bmp",5
load image "media\l2.bmp",6
load image "media\l3.bmp",7
load image "media\l4.bmp",8
load image "media\l5.bmp",9
load image "media\l6.bmp",10
load image "media\l7.bmp",11
load image "media\menub.bmp",12
b1 = 0
do
`button 1 (play)
if mousex() > 191 and mousex() < 270 and mousey() > 296 and mousey() < 335
paste image 2,190,290
endif
if mousex() > 191 and mousex() < 270 and mousey() > 296 and mousey() < 335 and scroll < 1
play sound 2
scroll = 1
endif
if mousex() > 191 and mousex() < 270 and mousey() > 296 and mousey() < 335 and mouseclick() = 1
play sound 1
goto start
endif
`button 2 (exit)
if mousex() > 191 and mousex() < 270 and mousey() > 371 and mousey() < 413
paste image 3,190,370
endif
if mousex() > 191 and mousex() < 270 and mousey() > 371 and mousey() < 413 and scroll < 1
play sound 2
scroll = 1
endif
if mousex() > 191 and mousex() < 270 and mousey() > 371 and mousey() < 413 and mouseclick() = 1
play sound 1
goto quit
endif
`delete image button test 1
if mousex() < 191 or mousex() > 270 or mousey() < 291 or mousey() > 335 and mousey() < 371 or mousey() > 413
cls
scroll = 0
paste image 1,0,0
endif
loop
start;
`loading...
cls
paste image 12,0,0
paste image 4,60,10
wait 500
load image "menu25.bmp",14
paste image 5,60,10
wait 500
`space for data
paste image 6,60,10
`space for data
wait 500
paste image 7,60,10
`space for data
wait 500
paste image 8,60,10
`space for data
wait 500
paste image 9,60,10
`space for data
wait 500
paste image 10,60,10
`space for data
wait 500
paste image 11,60,10
wait 500
goto mainmenu
`>>>>>>>>>>>>>>>>**********************hoofdmenu*********************<<<<<<<<<<<<<<<<<<<<
mainmenu;
set window off
cls `the error refers to this line
paste image 14,0,0
wait key
quit;
wait 1000
I hope anyone can find the cause of the error, cause i can't do anything now :S
( the media etc is in the download)