Hi, I've made a speedometer in my car game and I've made code so that the needle stops at zero :
But this means that i cant set a limit to the needle turning to the max speed (160).
I tried
But that doesnt let the needle move far enough, anything less that 359 is in the blank area of the speedometer range (below zero).
Please help
thanks
if (Greenfoot.isKeyDown("up") == false [code]&& getRotation() != 359)
{
turn(-1);
}if (Greenfoot.isKeyDown("up") && getRotation() != 10)
{
turn(2);
}
