Skip to main content
more descriptive title
Link
Philipp
  • 123.2k
  • 28
  • 264
  • 345

How to code character movements and animation usingcontrol an Unity character with mouse clicks?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user

Coding How to code character movements withand animation per direction using the mouse in unity 2d C#Unity?

I am trying to make a 2d rpg2D RPG game in unity,Unity with an isometric tile setup or level.

I would like to knowUsing Unity/C#, how do I code in unity C#, the characterscharacter's upward, right, left, down and diagonal animationanimations and movements using mouse button as the controls (like the Red Alert 2 game controlsmuch like Red Alert 2). TheseNormally, this can easily be done using keyboard inputs. However, however, what I am trying to aimdo is to control the character by usingclicking the mouse click and make the animation follow it correctly. For example, if I click in a diagonal location from the character, the character should follow itthe mouse and it will also do the diagonal animation. Thank you.

Coding character movements with animation per direction using the mouse in unity 2d C#

I am trying to make a 2d rpg game in unity, with an isometric tile setup or level.

I would like to know, how do I code in unity C#, the characters upward, right, left and diagonal animation movements using mouse button as the controls (like the Red Alert 2 game controls). These can easily be done using keyboard inputs. However, what I am trying to aim is to control the character by using the mouse click and make the animation follow it correctly. For example if I click in a diagonal location from the character, the character should follow it and it will also do the diagonal animation. Thank you.

How to code character movements and animation using Unity?

I am trying to make a 2D RPG game in Unity with an isometric tile setup.

Using Unity/C#, how do I code the character's upward, right, left, down and diagonal animations and movements using mouse button as the controls (much like Red Alert 2). Normally, this can easily be done using keyboard inputs, however, what I am trying to do is control the character by clicking the mouse. For example, if I click in a diagonal location from the character, the character should follow the mouse and also do the diagonal animation.

Source Link
Merk
  • 11
  • 3

Coding character movements with animation per direction using the mouse in unity 2d C#

I am trying to make a 2d rpg game in unity, with an isometric tile setup or level.

I would like to know, how do I code in unity C#, the characters upward, right, left and diagonal animation movements using mouse button as the controls (like the Red Alert 2 game controls). These can easily be done using keyboard inputs. However, what I am trying to aim is to control the character by using the mouse click and make the animation follow it correctly. For example if I click in a diagonal location from the character, the character should follow it and it will also do the diagonal animation. Thank you.