collision help!!!

BlitzMax Forums/BlitzMax Beginners Area/collision help!!!

Well, the (psuedo) code I posted before is how I did it. What went wrong when you tried it?
DId you try something like this? (If I understand your code correctly)
' I dont know what value gamearea[] uses for non filled blocks. I assume -1 but change that to whatever value you use...
if gamearea[tprXloc,tprYloc] > -1 and gamearea[tplXloc,tplYloc] > -1 and gamearea[blXloc,blYloc] > -1 and gamearea[brXloc,brYloc] > -1 then
  set_tiles()
endif