易语言,怎么调试LOL无限视距呢?
易语言是不能调试LOL无限视距的,建议你用Visual Basic编程语言,它可以用编程语言求得平面直角坐标系中两点间的距离。
求平面直角坐标系中两点间的距离,可以在Visual Basic中双击窗体,在代码编辑器中,输入如下语句:
Private Type Point
x As Integer
y As Integer
End Type
Private Sub Form1_Click()
Dim p1 as Point:p1.x=3:p1.y=3
Dim p2 as Point:p2.x=3:p2.y=3
Dim d as Integer
d = sqrt((p1.x-p2.x)^2+(p1.y-p2.y)^2)
Msgbox "点(" & p1.x & "," & p1.y & ")到点(" & p2.x & "," & p2.y & ")间的距离是" & d
End Sub