Abs with Sin to make Enemy go forward and back?

Blitz3D Forums/Blitz3D Beginners Area/Abs with Sin to make Enemy go forward and back?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Explanation in my previous post.

c=0

Repeat
Cls

For x=-10 To 10
	Text 200+(x*10),(Sin(c+(x*10))*50)+100,"X",True,True
Next

c = (c+1) Mod 360
Flip

Until KeyHit(1)