collision help!!!

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

Well, it does collide sometimes. But for some reason it just sits in the middle of the playing field and constantly creating a new block...
A problem with tprYloc,tplYloc,brYloc,blYloc?

But I can't track the problem right now. There's too many variables to follow and too little time. Work begins in one minute and I'm still sitting here. :)

And i found a bug. A bug I made. ;)
It should be
		If gamearea[tprXloc,tprYloc] <16 Or gamearea[tplXloc,tplYloc] <16 Or gamearea[blXloc,blYloc] <16 Or gamearea[brXloc,brYloc] <16

since you should be able to collide with just one of the corners... Sorry. :)


I will look some more when I'm home for lunch. Good luck until then.