okay here i go again, here’s the source code
function setup()
--displayMode(FULLSCREEN)
for i=1,16 do
print(i)
end
circle = physics.body(CIRCLE, 60)
circle.x = WIDTH/2
circle.y = HEIGHT/2
circle.gravityScale = 1
end
function draw()
background(255, 255, 255)
strokeWidth(5)
fill(135, 84, 84, 255)
ellipse(circle.x,circle.y,60)
end
function touched(touch)
tx = touch.x
ty = touch.y
end
from there i want to be able to interact witht he circle through touch events but… 1. the circle doesnt show up till i declare an ellipse with circles’ x and y values and 2. i cant give the circle the x and y touch values either because it throws me an error, what im trying to do is create a (2) circle(s) and have them interact with each other and also interact with walls, how would i go about doing such a thing?