Python Forum

Full Version: image grid coordinate system
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?