Hey Everyone, this tutorial will teach you how to make a sprite follow and move towards your mouse pointer/ cursor when you click.
Step 2:
Get the sprite following your mouse cursor. This way, wherever you point your mouse the sprite will look in that direction.
Step 3:
Now make the sprite recognise that when you click and hold down the left mouse button you want it to go to the move command.
Now make the sprite recognise that when you click and hold down the left mouse button you want it to go to the move command.
Step 4:
Now, get the sprite to move in the direction of your mouse pointer when you hold the left mouse button.
Now, get the sprite to move in the direction of your mouse pointer when you hold the left mouse button.
Have fun making those sprites move in the direction you choose!
2 comments:
might be better to use
< 10 rather than = 10
because it might jump over the 10 value
good effort though
Very useful. I'm also having fun changing my mouse cursor and could do the basic personalized mouse pointer . <3
Post a Comment