0

hey all,

what would be the calculations needed for making a simple sprite opject point towards the cursor position?

ta

3
Contributors
3
Replies
5
Views
12 Years
Discussion Span
Last Post by vegaseat
0

do you mean 'rotate the sprite so it is oriented towards the cursor position' or 'move the sprite towards the cursor position' or something else? What do you mean by 'point towards'?

0

This site has an example of eyes folowing the cursor. The program is for Visual C++ and is surprisingly simple. Download Tom and Jerry from:

http://www.cwinapp.com/tutorials/sourcecode/045.zip

also look in the fun stuff section of this great website! There is enough English there to find your way around. It also gives you an idea about the real nifty programmers in other countries.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.