is it possible to make a movement thats like a path and 8 direction combo, so that the character is always moving and you just use the arrow keys to change its direction? Plz and thank u
Printable View
is it possible to make a movement thats like a path and 8 direction combo, so that the character is always moving and you just use the arrow keys to change its direction? Plz and thank u
You could make a semi-custom movement by giving an object the path movement and making events that trigger a change in direction on the set path.
It depends exactly what you mean. You either mean that the character has a set path, and you can select which direction it goes along that path when it comes to a fork.
OR
You mean more simply that your character is always walking, but you can change its direction. In which case its simple to do. You can either do it the cheap tacky way of having an eight direction movement, always setting the characters speed to a value, then change the direction when the key is pressed.
Or make it a custom movement, and make sure that the character is always moving in the certain direction depending on what direction he/she/it is facing.
Unless you mean something else, you could also possibly give the character two movements and switch between the two. (lack of description, or me understanding)
Yes u can do this by making the Active move x pixels at a time
e.g.
if direction = > .....Active x = Active x + 2
if direction = < ..... Active x = Active x - 2
if direction = diagonal .....Active x = Active x + 2
.................Active y = Active y + 2
You would have to write the 8 directions to have it move in all the directions
Set deceleration to "0'?
no, just add a ball movement and change direction of the object when you press each button (event editor, on key pressed, set direction to ``)
I think that person means like a Rail game. Where the player is moving on a "rail" but has the ability to turn to face different directions but without leaving the rail.
Like a safari game.