lunarray wrote:@Coin-coin le Canapin
I don't have time to test it yet, but i have a guess about it. Maybe it happened when the first angle is a bigger number than the target angle. For example, tweening from 245 to 15? It is better to add 360 to the 15 if the target value is bigger from the source value. Could you test it and tell me how it goes?
Using blackhornet's method, the value decreases correctly from big to low values, so if my sprite is at 359° and I click so it is 1°, litetween goes from 359 to 1 instead taking the shortest path.