+ 5

How do object(Pacman) only rotate less than or equal 360.0 degree?

My object (Pacman) can be rotate when i touch down, but rotation values will over 360.0 degrees if i continue touch. I want to limit rotation values from 0 to 360 only. I'm using Kivy Framework, therefore, you maybe use pydroid3 (android) to check my code. Thanks! https://code.sololearn.com/cHqA4ET0C5Jx/?ref=app

23rd Nov 2018, 1:17 AM
danvetio
danvetio - avatar
2 Answers
+ 4
Did you find any solution for your doubt? Actually, I'm also learning Kivy these days and I've already created some stuffs with that but even after thinking and analysing your code for sometime, I couldn't find a solution. I'll again search for it. Meanwhile if you get the solution, please consider sharing it here.
23rd Nov 2018, 2:50 PM
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½ - avatar