Page 1 of 1

Why trembling?

Posted: 30 May 2004, 10:22
by ElvenProgrammer
When I move the player I noticed some sort of trembling especially if I press left/right once and then I go up/down.

Maybe the problem is in direction encoding?

.

Posted: 31 May 2004, 04:31
by Sull
what du yu mean?
me when i press left-right very fast i just warp to another place
like 1 square to the left and after warping 3 square to the right?
do it what yu mean?

Posted: 03 Jun 2004, 20:16
by Sull
Tip
yu should do a code when yu going in diagonal(like up/left,up/right,down/left,/down/right)
yu know what i mean?

instead of sending left(x+y) + up(x+y)
yu should send left-up together ((x+x) + (y+y))

thats save bandwich

i dont know if diagonal is the apropriate word in english but thats is what i mean

ooooooooooo-|
ooooooooo+
ooooooo+
ooooo+
ooo+
+

the (+) mean the movement direction and the (o) mean map square