hi
can somebody convert the code below to corona code
it should basically move an object up and down using math.sin
var numberOfTicks = 0;
function gameLoop() {
numberOfTicks++;
ufo.y = (250 * sin(numberOfTicks * 0.5 * pi)) + 350;
ufo.x += ufo.xSpeed;
}
thanks
this page is from