i am having some trouble dealing with multiple sprites
default:
set display mode 1280,1024,32
x = 30
y = 20
load bitmap "bground.bmp",0
load bitmap "pongbat.bmp",1
get image 1,0,0,80,90
load bitmap "projectile.bmp",2
get image 2,0,0,20,30
goto main
main:
sprite 1,x,y,1
set sprite 1,1,1
if downkey() = 1 then y = y+7
if upkey() = 1 then y = y-7
if leftkey() = 1 then x = x-7
if rightkey() = 1 then x = x+7
if spacekey() = 1 then gosub projectile
goto main
whenever i hit a key the sprite disappears, i can fix this but then when i try to use the projectile sprite the pongbat sprite changes to the projectile sprite...i am confused, if anyone has any advice it would be appreciated.
-gpx-
Your signature has been erased by a mod because it is larger than 600x120...