question

person78645-8238 avatar image
0 Votes"
person78645-8238 asked ·

How do I make it so that my sprite will always be facing towards the mouse cusor? Visual Basic.

So I want to make it so that my character is always facing wherever the users mouse is. can someone help me with this. I'm trying to replicate what's done in a game called Darkwood if that makes things clearer.


dotnet-visual-basic
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @person78645-8238 ,
What's the type of your application?
Could you provide more details about what you have done or some related code here? It will help us analzye your problem and make a test.
We are waiting for your update.

0 Votes 0 ·

It it is something like that, with RotateTransform :

72776-zombie-rotate.gif



0 Votes 0 ·
zombie-rotate.gif (2.6 MiB)

0 Answers