Basically I have a large image (2700x2700) which I want to conditionally show only a portion of on one part of the screen, while leaving most of the game map still visible to the player.
I know how to use events to select the pixel of the image I want to be at the center of the picture shown to the player and display it as such. The issue is I only want about ~400 pixels of the image around whatever the central pixel selected is to be shown, instead of the whole image covering the entire screen. I can't use a bunch of smaller images that are part of the larger one because there are tens of thousands of pixels which could be the center of the shown image, which would each need their own small image.
Does anyone know how to set a boundary or in some way frame a shown picture so that the image shown is only of a certain pixel height/width on screen?
I know how to use events to select the pixel of the image I want to be at the center of the picture shown to the player and display it as such. The issue is I only want about ~400 pixels of the image around whatever the central pixel selected is to be shown, instead of the whole image covering the entire screen. I can't use a bunch of smaller images that are part of the larger one because there are tens of thousands of pixels which could be the center of the shown image, which would each need their own small image.
Does anyone know how to set a boundary or in some way frame a shown picture so that the image shown is only of a certain pixel height/width on screen?