Can anybody help me make a cannon ball function where theres a cannon ball and when they touch it, it shoots ball
for example
local cannon = display.newImage(“cannon.png”)
local function shootball (event)
if event.phase = “ended” then
shoot ball.png
end
end
and i need to also have it then can change the aim of the cannon and have 3 different power levels, like green, yellow, and red with each one a different amount of force on the cannon, please msg back if u can help!!! [import]uid: 122076 topic_id: 22071 reply_id: 322071[/import]
[import]uid: 52491 topic_id: 22071 reply_id: 87812[/import]