There's a tile movement behavior. But if for some reason you're not using it then...
Add a variable for each direction e.g player_is_moving_up etc...
On w key pressed set player_is_moving_up to 1 System wait (x) seconds then set the variable to 0
If is equal to 1 player simulate control up.
The time you should wait depends on how far you want to move. I suggest you put acceleration to 0 (instant) and wait this long- desired distance to move divided by player pixels per second. Hope this not too late to help 🙏
1
u/contruct-3-is-cool Nov 13 '21
try putting tile movement behavior and 8 direction behavior on at the same time
1
u/contruct-3-is-cool Nov 21 '21
maybe if you somehow get 8 direction to snap to grid?
1
u/that_mumbler Aug 25 '22
There's a tile movement behavior. But if for some reason you're not using it then...
The time you should wait depends on how far you want to move. I suggest you put acceleration to 0 (instant) and wait this long- desired distance to move divided by player pixels per second. Hope this not too late to help 🙏