eh, it's cut off half of my code
here it is again anyway
y=520
way#=1
do
sync
box 0,0,800,600,rgb(100,0,100),rgb(255,0,255),rgb(200,0,200),rgb(0,0,0)
if fire#=0
y=520
endif
if fire#=1
y=y-12
if y < 0
fire#=0
else
x=x
endif
endif
sprite sp#,x,520,sp#
if way#=1
w#=w#+6
endif
if way#=2
w#=w#-6
endif
sprite 30,x+30,y+20,30
sprite 3,w#,100,3
sprite 4,w#-50,100,3
sprite 5,w#+50,100,3
sprite 6,w#+100,100,3
sprite 7,w#,200,3
sprite 8,w#-50,200,3
sprite 9,w#-100,200,3
sprite 10,w#+50,200,3
sprite 11,w#+100,200,3
sprite 12,w#+150,200,3
if w#+190 > 800 then way#=2
if way#=2
if w#-120 < 0 then way#=1
endif
if rightkey() then x=x+12
if leftkey() then x=x-12
if spacekey()
fire#=1
endif
sync
loop
The bullet travels really slow up the screen, I've tried increasing the y value but then it sometimes misses the monsters.
I want a fast but smooth motion of the bullet going up the screen.
Any suggestions?
Thanx.