This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.
See the Indie Bundle Try it for free--where x,y,w,h are relative to sprite1 and the others to sprite2 (rect based)
local function collides(x,y,w,h,x2,y2,w2,h2)
return not ((y+h y2+h2) or (x > x2+w2) or (x+w < x2))-- wrong because of some forum layout rule.
--See below for the correct one
end