solarus icon indicating copy to clipboard operation
solarus copied to clipboard

straight_movement:set_max_distance() bug

Open llamaizing opened this issue 7 years ago • 0 comments

When using a straight movement, the calculation for distance the movement has traveled seems to always be from coordinates (0,0) when the distance of the movement should be calculated from whatever the coordinates of the object the movement is applied to were at the start of the movement.

Discussed here (with example code): http://forum.solarus-games.org/index.php/topic,1030.0.html

llamaizing avatar Sep 08 '17 12:09 llamaizing