I am very new to CoronaSDK and I am having an issue with my objects clumping together.
I have 9 objects entering the frame on the y axis, they are all entering at differnet postions using math.random, but they seem to be clumping together. I was wondering if there was a way to make them not touch at all?
Here is the code I am using
function moveBars(self, event)
if self.x < -1500 then
self.x = 2700
self.y = math.random(10, 1000)
else
self.x = self.x - self.speed
end
end
Thanks!