Hi,
I'm trying to learn Python and program an RPG (perhaps transitioning into a multiplayer RPG someday - once I have a better understanding of what I'm doing!) I've enjoyed tinkering around in C++ over the years, but I still consider myself a big time newb. I learned most of the Python syntax already however, and I'm enjoying it thus far. Also, I've picked up Pygame to help me write this game.
My question is about vectors. I'm not exactly a math genius (and some of you may say to just drop programming now), but I really want to learn...
Basically, I want to move the player object to the location of a mouse click (similar to that in Diablo, UO, etc) whatever angle it might be. Very simply, I want to move the player object from the objects current coordinates to the mouse click position coordinates. I've scratched my head for many hours already trying to figure out exactly how to do it.
I can't understand if it's the vector itself I need, or the magnitude, direction, velocity, angle etc. I just want to move (2,0) to (33,33) arriving smoothly at each x and y coordinate, etc. Perhaps, I'm doing this all the wrong way.
Anyone know of a better resource that might help me understand this a little better/easier?
Thanks!