[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] trajectory



Hi everyone,

i would like to know what are the common way to handle "trajectory" in a 2d game. In fact, i think of writing a tower defense game and i wonder how to handle the trajectory of the missile launch by the towers. I though of getting the pos of the tower and the target and create a vector between this two entitites to make a sprite translation of this vector but there is maybe some tricky stuff to do it.

Thanks in advance and happy game making all :-)