Tip:
Highlight text to annotate it
X
Hey guys in this video, we will be setting up player movement.
so all you need to do is click behaviors right here.
Then to add a new behavior for this actor click here.
There is a lot of premade behaviors to make a game easy.
Click controls then click controls we want.
I'm using 8 ways movement, so our player can move 8 ways.
This is where you can edit what the code does.
Like what key to press, and what image will be used for each ways.
Like for example the up control. We're going to make the up control, the up arrow.
Down control is going to be down, and so on.
For now we're going to leave our speed at 30.
Now to set up each of the animations, we can do that right here.
Like this, his up animation for idle, so we're going to click on his idle animaton.
Then for his up animation we're going to click his up animation.
Now we'll be doing the same thing for the others.
alright, now our player actor can move eight ways.
and remember for more tutorials, subscribe, thumbs up and comment.
till next time bye.