instead of a circle, being the y radius higher than x's. Am I missing something?
Here's the code:
Code: Select all
if not Layer.isPaused() or not Defines.levelFreeze then
ballTimer = ballTimer + 1
v.speedX = math.cos(ballTimer * math.pi / 180) * 0.75 --Horizontal
v.speedY = math.sin(ballTimer * math.pi / 180) * 1 --Vertical