Python Forum
image grid coordinate system - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: image grid coordinate system (/thread-21738.html)



image grid coordinate system - Bmart6969 - Oct-12-2019

i am trying to make an x, y coordinate system to enable my bot to tell where it is at any given point in game. i've mapped the entire game screen and have a script the takes 50x50pixel screenshots of the uninterrupted playing field of the game. the images are labeled such as x1y1.png int the very bottom left corner of the game and end at x60y26 in the top right corner. how would i go about using the image names to create the grid or is using the image name even possible?