if (tire.y<car.y-20) tire.y=car.y-20;
Try it out. Let me know if it works.
If my animation has 8 frames, then does the 8 frames need to rotate all 360 degrees, or is there a way to limit it?
if (angle>120) angle=120;
else if (angle <80) angle=80;
Users browsing this forum: No registered users and 1 guest