Hi! I’m fairly new to this language (I started learning it just a couple days ago) but I have been experiencing a problem with animating a display circle in Corona SDK. It occurs with the sample code below:
– Other cool stuff up here like background, etc
local circ = display.newCircle(100, 200, 20)
local function draw()
circ.y= circ.y + 3
end
Runtime:addEventListener( “enterFrame”, draw )
The circle will move smoothly for a few frames, then stop for a frame or two, and then make a jump to where it should be and continue down the screen. This occurs multiple times before it leaves the screen. Why is this happening? Please let me know. Thanks!