Hi
can anyone tell me why my function only draws the last sprite that i have entered, if i delete the last sprite then it will show the previous sprite.
all the constants are set to numbers in ascending order if this helps
function loadMenuImages()
rem load bitmaps into DB
load bitmap "media\images\menu_start.bmp", MENU_IMAGE_START
load bitmap "media\images\menu_save.bmp", MENU_IMAGE_SAVE
load bitmap "media\images\menu_load.bmp", MENU_IMAGE_LOAD
load bitmap "media\images\menu_options.bmp", MENU_IMAGE_OPTIONS
load bitmap "media\images\menu_exit.bmp", MENU_IMAGE_EXIT
rem turn bitmaps into images
get image MENU_IMAGE_START, 0,0,300,65
delete bitmap MENU_IMAGE_START
get image MENU_IMAGE_SAVE, 0,0,300,65
delete bitmap MENU_IMAGE_SAVE
get image MENU_IMAGE_LOAD, 0,0,300,65
delete bitmap MENU_IMAGE_LOAD
get image MENU_IMAGE_OPTIONS, 0,0,300,65
delete bitmap MENU_IMAGE_OPTIONS
get image MENU_IMAGE_EXIT, 0,0,300,65
delete bitmap MENU_IMAGE_EXIT
rem turn images into sprites
sprite MENU_IMAGE_START,screen width()/2-150,100,MENU_IMAGE_START
sprite MENU_IMAGE_SAVE,screen width()/2-150,200,MENU_IMAGE_SAVE
sprite MENU_IMAGE_LOAD,screen width()/2-150,300,MENU_IMAGE_LOAD
sprite MENU_IMAGE_OPTIONS,screen width()/2-150,400,MENU_IMAGE_OPTIONS
sprite MENU_IMAGE_EXIT,screen width()/2-150,500,MENU_IMAGE_EXIT
endfunction