I’m engaged on a pixel artwork undertaking in GameMaker 2 with native decision 428×240. With the intention to allow “subpixel” rending, I’m attempting to extend the decision of my application_surface
, however hold my view at its native decision.
I’m attempting to extend the decision of my application_surface
by two, however hold my view on the native decision. I’ve tried a couple of various things, however it doesn’t matter what I do, I am unable to get it to work persistently.
Here’s what I attempted most lately:
surface_resize(application_surface, native_width * 2, native_height * 2);
camera_set_view_size(view_camera[0], native_width, native_height);
This works, however once I change rooms, the view resets to the dimensions of the appliance floor, leading to one thing like this:
It looks like each time you modify rooms, the view measurement will get reset to the dimensions of the appliance floor.
I attempted iterating by means of all rooms and setting their view measurement to my native decision on launch, nevertheless it does not appear to assist.
How can I forestall the view from altering sizes on room change? I need to lock it at my native decision.