0 Members and 5 Guests are viewing this topic.
If (X-Z+3≤6) and (Y-θ+3≤6) .Sprites are overlappingEnd
If (X-Z+4≤8) and (Y-θ+4≤8) .Sprites are touchingEnd
In other news, Frey continues kicking unprecedented levels of ass.
0While 1 →Q ;Put your code hereEnd!If Q+1
And here's touching:Code: [Select]If (X-Z+4≤8) and (Y-θ+4≤8) .Sprites are touchingEnd
If (X-C+4<=8) and (Y-E+4<=8) ReturnEnd
24→C24→ERepeat getKey(15)If (X-C+4<=8) and (Y-E+4<=8) ReturnEnd.MORE COLLISIONS.GETKEYS FOR THE MAIN SPRITE.DRAW FLAGPt-On(C,E,Pic1).THE MAIN SPRITERect(X/256,Y/256,4,4).DISPLAY IT ALLDispGraphEnd