ID:151827
Jan 20 2009, 12:10 pm
|
|
What would the best method be? Also, how would I take a ratio and shrink it down to it's smallest possible form, and then move a player according to that ratio? This would be to move the player in a perfect line.
|
Jan 20 2009, 12:13 pm
|
|
Ever used vectors? They should work when you want to move something any distance.
|
In response to Kaiochao
|
|
Would I be able to plug it into my existing pixel movement system? Would it move it directly, or make sure it doesn't collide on the way to it's destination if the above is so? Or is it just a library full of functions to get distances etc.
|
In response to Jeff8500
|
|
I made a test project with jt_vectors. The library doesn't have a collision system, but you could make a pixel movement system with just that.
|