游戏辅助基础05:易语言大漠找图操作
作者:互联网
### 1.大漠全局Path设置
1.在接口文档的基本设置里面有`SetPath`API
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625896139175966.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625896173750104.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
2.缓存大量图片LoadPic、LoadPicByte
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897166533541.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
3.图片加解密
工具对应的功能
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897419507075.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
加密之后的图片
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897395475481.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
加密的图片在代码中解密
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897456305497.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
---
### 2.找图API
1.FindPic
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625896879118266.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
2.类似的API
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625896919413347.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
3.FindShape
API需要配合`按键抓抓`一起使用
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897055631850.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
4.类似的API
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897118901506.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
5.大量图片通配
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897529826843.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
---
### 3.截图API
1.Capture
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897641939549.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
2.类似的API
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897881639821.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
---
### 4.易代码示例
![image.png](http://www.icode9.com/i/li/?n=2&i=images/20210710/1625897930161069.png?,size_14,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
---
标签:10,找图,05,process,text,image,images,png,易语言 来源: https://blog.51cto.com/u_13116780/3034341