Hi skid - I'm doing all that.
I've jammed all sorts in to try to fix this, and nothing has worked. The top part of my function (before I start creating the collision layer) looks like the code below.
The For/Next loop is in there because it fixes the problem, crude as it is. Seems that calling CollideRect a few times eventually rectifies the problem. I don't know why.
Oh - I also tried manually calling GCCollect here too - didn't work.
I've jammed all sorts in to try to fix this, and nothing has worked. The top part of my function (before I start creating the collision layer) looks like the code below.
The For/Next loop is in there because it fixes the problem, crude as it is. Seems that calling CollideRect a few times eventually rectifies the problem. I don't know why.
Oh - I also tried manually calling GCCollect here too - didn't work.
SetScale 1,1 SetRotation 0 SetBlend SOLIDBLEND SetAlpha 1 savePrefs() FlushMouse() Local x:Int Local y:Int Local w:Int Local h:Int ResetCollisions For n = 1 To 50 CollideRect -2,-2,1,1,0,1 Next