by Game A Gogo » Wed Jan 03, 2007 8:55 pm
i dunno, their are function that makes it go back and forth whit a smooth, like to do a circle Ex.:
lets do a little thing to show you what it does
Beginning number | Sin | Cos
0 | 0 | 1
1 | 0.01 | 0.9998
2 | 0.03 | 0.9993
4 | 0.06 | 0.997
8 | 0.13 | 0.99
16 | 0.27 | 0.96
32 | 0.52 | 0.84
64 | 0.89 | 0.43
128 | 0.78 | -0.61
256 | -0.97 | -0.24
the Sin could be the X coordinate and the Cos could be the Y coordinate and for the numbers (first), it would some code like this: Number*Number whitch is Number^3 hope it helps (the cos and sin only varies beetween -1 and 1)[/code]
Programming games is an art,