Ok so i am currently creating an app that display a picture everyday until a set date i am using this code for each image to display: [code]
_H = display.contentHeight;
_W = display.contentWidth;
mRand = math.random;
local function spawnMint()
local Mint = display.newImageRect(“thumbnail.jpg”, 80, 80);
Mint:setReferencePoint(display.CenterReferencePoint);
Mint.x = mRand(50, _W-50); Mint.y = mRand(50, _H-50);
end
tmr = timer.performWithDelay(100, spawnMint, 1);
[code]
But the problem im having is that the images are over laping each other and i want to make it so that it doesnt do that. i have done research on how to fix this but nothing has come up. If you could help me i would appreciate it, thank you. [import]uid: 69054 topic_id: 18621 reply_id: 318621[/import]