Search found 2 matches

by cry_san
Sat Sep 28, 2019 1:33 am
Forum: Support and Development
Topic: Jerking in move
Replies: 2
Views: 1089

Re: Jerking in move

Thanks for the answer! Big jerks disappeared. Indeed, your code is very helpful: Player:update(dt) ... camera:move(math.round(dx), math.round(dy)) But here the movement of the image was not smooth. Add more image to become visible little jerks. How to achieve a smooth movement? When rounding the coo...
by cry_san
Fri Sep 27, 2019 12:42 pm
Forum: Support and Development
Topic: Jerking in move
Replies: 2
Views: 1089

Jerking in move

Hi! I check the movement of the image by pressing the second button of the mouse. I do not understand why the image moves with jerks. How to make the movement more smooth? aangle = math.atan2(self.destY - self.y, self.destX - self.x) dist = math.sqrt((self.destX - self.x)^2 + (self.destY - self.y)^2...