I want this image to rotate around the outside of my circle full 360. this is what i have so far. its not rotation at the cent o
function scene:create( event )
local sceneGroup = self.view
– Code here runs when the scene is first created but has not yet appeared on screen
local myText = display.newText( “By Devonte Ewers”, 297, 518, native.systemFont, 5)
local background = display.newImage(“images/background.png”)
background.x = display.contentCenterX
background.y = display.contentCenterY
local c1 = display.newCircle( 250, -34, 145)
c1.x = display.contentCenterX
c1.y = display.contentCenterY
local paddle = display.newImage(“curve.png”)
paddle.x = display.contentCenterX
paddle.y = display.contentCenterY
local function tapListener( event )
paddle:rotate( 5 )
end
Runtime:addEventListener( “tap”, tapListener )
RotateTimer = timer.performWithDelay( 020, tapListener, 0)