Lazy people, no technology, time-saving suitable for COM components, like the desert plug-in, key wizard plugin
The pursuit of optimization, efficiency, resources, technical people suitable for static DLLs
Price: January 5 Yuan, 1 years 50 yuan;
The algorithm diagram explains:
| Detailed use case: (the plug-in format is similar, different is only the core algorithm) This algorithm is a star algorithm upgrade version, is not a grade of things please look at the map of the picture placed in the same directory with the button BMP folder, 24-bit BMP format picture. (As shown in ) |
| 1. Initialize all data of the map first |
PLUGIN.LY_BSTAR.A ("Map 1", "Month card number")//MAP 1 initialization plugin.dl_cstar2.a "Map\1.bmp", "svkn2qmvzz3jmbng20180305123123" |
2. Read the current coordinates of a person from memory People current coordinates x= memory X Character current coordinates y= memory y |
3. Dynamically figure out the next moving coordinates of the character ENDXY =plugin.dl_cstar2.findpath (figure current coordinates x, people current coordinates y, end coordinates x, end coordinates y, distance from the obstacle, number of pixels from the characters click, Month card number) Zou=split (ENDXY, ",", -1,1) Tpx=zou (0)//dynamically remove the x-coordinate of the positioning point Tpy=zou (1)//dynamically remove the y-coordinate of the positioning point tx=121+ (TPX-PX) *10//converted to screen coordinates ty=222-(tpy-py) *10//converted to screen coordinates |
4. Background mouse click kpress hh,tx,ty//Background Mouse click |
5. Free up memory when you arrive at your destination If you arrive at your destination then Freeing memory Release memory when plugin.dl_cstar2.lyfree//is exhausted |
Video Demo plug-ins: com and static DLLs 2 easy to use various language calls for beginners, lazy people recommend using COM's automatic release plug-in for the veteran, diligent people recommend the use of static DLLs manually release the memory resource version plug-in
Network Disk Download
Link: Https://pan.baidu.com/s/1U-gkMsvjxvIHAI100wzUZQ Password: 4yuj
Smart C-Star Pathfinding plugin supports multi-language calls such as key wizard