Menu using Mouse Bad

BlitzPlus Forums/BlitzPlus Programming/Menu using Mouse Bad

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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 -_-