okay so I have an image for my title screen with a red background. and im using this code:
Rem Project: 8bitpong
Rem Created: 4/11/2008 8:53:34 PM
Rem ***** Main Source File *****
set display mode 320,240,32
sync on
sync rate 60
hide mouse
cls rgb(0,0,0)
set image colorkey 255,0,0
title_=1 `wether or not the player is on the title screen
p1_score=0
p2_score=0
load image "sprites/title.png",1
`main loop
do
if title_=1 then title()
sync
loop
function title()
sprite 1,0,0,1
set sprite 1,1,1
if returnkey()
title_=0
endif
endfunction
whenever i compile it i get the image but the redbackground is still there. why? i cant figure it out! (image attached)