I suppose that at the beginning of your code there's a line like this:
graphics 640,480,16,2 (or something similar)
try to cancel the setbuffer backbuffer() in your function and place the command immediately under the graphics declaration.
then at the beginning of your main loop you put the "cls" command
Something like this:
Graphics 640,480,32,2
setbuffer backbuffer()
;MAIN
repeat
cls
drawimage menupic,0,0
drawimage pointer,mousex(),mousey()
flip
until keyhit(1)
Ha....remember of loading your image first of your main loop and not into the main,because if u do so you continue to load the graphics and the frame-rate drops to 0 -_-
graphics 640,480,16,2 (or something similar)
try to cancel the setbuffer backbuffer() in your function and place the command immediately under the graphics declaration.
then at the beginning of your main loop you put the "cls" command
Something like this:
Graphics 640,480,32,2
setbuffer backbuffer()
;MAIN
repeat
cls
drawimage menupic,0,0
drawimage pointer,mousex(),mousey()
flip
until keyhit(1)
Ha....remember of loading your image first of your main loop and not into the main,because if u do so you continue to load the graphics and the frame-rate drops to 0 -_-