A
AttaBoy
Guest
My game runs at a resolution of 384x216, but is obviously upscaled to higher resolutions. Fortunately, all the logic and normal drawing is pixel perfect, as I stretch the canvas in the post draw. I resize my GUI to be 384x216, and while that draws sprites properly, it allows for subpixel transformations. For example, it can draw text misaligned from the grid, or draw rectangles and shapes with subpixels despite the actual sprites drawn to the GUI looking fine (although drawing them with decimal values of image_xscale or image_yscale creates subpixels as well). Is there any way to draw to the GUI and guarantee that it will produce pixel perfect results?