hey... I been doing my intro to my game.. using only sprites and bitmaps...
but i have ran into a problem that can be easily fixed, but I cant find the right paremiter...
EX:
` load up all the images...
Load image "image1.bmp",1
Load image "image2.bmp",2
` start of actions...
Load bitmap "background.bmp
do
sync
if upkey()=0 then -750=-750 +2
if -750>0 then -750=0
sprite 1, -750, y, 1
if sprite1 = 0 then gosub next
loop
`next animation
next:
do
sync
if downkey()=0 then 0=0 -1
if 0<-20 then 0=-20
sprite 2, 0, y, 1
loop
that makes the sprite move from "off left" of the screen to the middle... when the sprite hit 0 (the middle) then it goes to the next animation... yea I also have keys assigned to them because I dont know how to do it any other way... also the code line
if sprite1 = 0 then gosub next
doesnt work right... I think its because X and Y are not assigned and I cant figure out how to.... so pretty much it just skips the first animation and goes to the next one "next"...
well post back... Thank you
Dex
Who Dey Bengals