static (both examples assume you have a sprite 1 made with image 1)
constant=50
for i=1 to 360 step 5
height=constant*sin(i)
sprite 1,height,y_position,1
next i
moving
y_speed=2
y_position=0
constant=50
for i=1 to 360 step 5
height=constant*sin(i)
y_position=y_position+y_speed
sprite 1,height,y_position,1
next i
should work fine, cheers.
Mentor.
PC1: P4 hyperthreading 3ghz, 1gig mem, 2x160gig hd`s, Nvidia FX5900 gfx, 6 way surround sound, PC2: AMD 1.2ghz, 512mb ram, FX5200 ultra gfx, stereo 16 bit soundblaster, ups.