Hey people,
maybe I'm to dumb to search things but I can't find the times needed for movements.
What I mean is moving left right etc take some time, right?
How long do movements take with the different speeds?
Does diagonal movement take longer?
Aynthing else interesting about this topic would be nice, too.
It's hard to determine as it depends on the distance. Even for one tile, it must be a few frames. I don't think anyone's ever measured how long it takes. What do you need the movement time for?
I'm asking for one tile movements.
What I want to do currently is I have two movements and one should start walking some time after the first started walking.
I could handle it with breaking the first movement into two movement routes while the first part would be wait for completition but I would also like to know. I'm interested and wouldn't need to search another way to do it everytime something like this occurs.
So what am I asking for specifically
How long or many frames does it take to move 1 tile left, right, up, down, diagonaly with all speeds?
You could uncheck wait for completion. Then wait a little from the wait command. Then set the other half. If you give wait for completion, the other half will run after the first half has completely ended.
With basic speed movement of player moving from one tile to another takes 56~59 frames wich gives approx 0.983 second, assuming that you are not using diagonal movement plugin and game runs smoothly because in diagonal movement that time is little longer (basic geometry) - Actually I measured that time when I tried to determine optimal player movement speed, that would be most resembling to our human, regular walk speed.
Edit: for me approx measurment is good enough, but if you wish to have more precise data, then you have to make several measurments in different conditions and calculate average time from those measurements.
And how to calculate average value in case you don't know:
1st element - 4
2nd element - 5
3rd element - 9
Sum those elements and gives it 18, now divide it by number of elements ( 3 in this example), average value will be 6