Hi, I am new to this and was wondering a simple solution to having app which has a circle in the middle that moves with touch (similar to volume dial)
Please look at attachment to get better idea :) and thanks!
What I have so far:
–> Add Phyiscs engine
local physics = require (“physics”)
physics.start()
system.activate(“multitouch”)
–>Hide status bar
display.setStatusBar(display.HiddenStatusBar)
–> Add Background image
local background = display.newImage(“assets/bkg.png”)
–> Add circle
local circle = display.newImage(“assets/circle.png”)
circle.x= display.contentWidth/2
circle.y= display.contentHeight/2
physics.addBody(circle,“static” )