Ever since I changed my FPS to 30 and used delta time the ImagesCollide2 function seems to be crashing? Moreoever, the try and catch is not working? If just print "Inner1" and freezes?
Try Print "Inner1" If (ImagesCollide2(pTMissile.m_pTImage, pTMissile.GetX(), pTMissile.GetY(), 0, pTMissile.GetAngle()+90, pTMissile.GetScaleX(), pTMissile.GetScaleY(), pTStarship.m_pTImage, pTStarship.GetX(), pTStarship.GetY(), 0, pTStarship.GetAngle()+90, pTStarship.GetScaleX(), pTStarship.GetScaleY()) = True) Then Print "Inner2" pTMissile.Destroy() pTStarship.Destroy() End If Catch ex:Object Print ex.ToString() End End Try Print "Inner3"