Why trembling?

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Why trembling?

Post by ElvenProgrammer » 30 May 2004, 11:22

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?
User avatar
Sull
Novice
Novice
Posts: 163
Joined: 26 Apr 2004, 17:56
Location: Quebec,Montreal

.

Post by Sull » 31 May 2004, 05:31

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?
User avatar
Sull
Novice
Novice
Posts: 163
Joined: 26 Apr 2004, 17:56
Location: Quebec,Montreal

Post by Sull » 03 Jun 2004, 21:16

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
Locked