2个回答
展开全部
他们的 办法都可以,新手来说最简单这样,把图保存的坐标改改直接了当
FindPic 0,0,1024,768,;Attachment:;1.bmp;,0.9,intX1,intY1
FindPic 0,0,1024,768,;Attachment:;2.bmp;,0.9,intX2,intY2
FindPic 0,0,1024,768,;Attachment:;3.bmp;,0.9,intX3,intY3
If intX1 ; 0 And intY1 ; 0 Then
MoveTo intX1+10, intY1+10
ElseIf intX2 ; 0 And intY2 ; 0 Then
MoveTo intX2+10, intY2+10
ElseIf intX3 ; 0 And intY3 ; 0 Then
MoveTo intX3+10, intY3+10
Else
MoveTo 111,111
End If
FindPic 0,0,1024,768,;Attachment:;1.bmp;,0.9,intX1,intY1
FindPic 0,0,1024,768,;Attachment:;2.bmp;,0.9,intX2,intY2
FindPic 0,0,1024,768,;Attachment:;3.bmp;,0.9,intX3,intY3
If intX1 ; 0 And intY1 ; 0 Then
MoveTo intX1+10, intY1+10
ElseIf intX2 ; 0 And intY2 ; 0 Then
MoveTo intX2+10, intY2+10
ElseIf intX3 ; 0 And intY3 ; 0 Then
MoveTo intX3+10, intY3+10
Else
MoveTo 111,111
End If
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询