ok heres the code...
game:
HIDE MOUSE
STOP MUSIC 10
sync
cls
LOAD bitmap "oceandark.bmp"
`Places your ship on map
sprite 1, x, y, 1
`Where lazer shoots from
1x=SPRITE X(1)+23
`Start Main Loop
do
`Left Key Control
if upkey()=1 then y=y -8
`Right Key Control
if downkey()=1 then y=y +8
x=560
if y<-17.9 then y=-17.9
if y>380 then y=380
`Start Shoot Routine
if inkey$()="z" then gosub shoot
`Refresh Your Ship Position
sprite 1,x,y,1
`Activate Moveall Routine
gosub moveall
`Refresh Screen
sync
`End of Loop
loop
`Shoot Routine
shoot:
sprite 2,lx,ly,4
PLAY SOUND 10
return
`Moveall Routine
moveall:
if SPRITE EXIST(2)=1
If sprite y(2)<100
ly=ly-30
sprite 2,500x,100y,4
endif
endif
if SPRITE EXIST(2)=1
If sprite y(2)>500
pf=0
lx=SPRITE y(1)+23
ly=SPRITE x(1)-60
endif
endif
return
sync
All it does is appear on the screen no movement...
I took some of this code out of a tutorial...
im only using sprites "1" man
"4" the bullet
now how do i get that bullet to start from the sprite "right hand of screen"... and move left down the "X" cordinat...?
any help is appreciated... plz help...
Dexter
P.S. if im not explaining it well just say...
Who Dey Bengals