DividingByZero
Member
So, I have a bit of an odd one, I will do my best to explain. For some of the objects in my game (player and NPC specifically) I am drawing them in layers. I have a base sprite that the object uses plus in the Draw event, I am adding some additional pieces (such as clothes, hair, helmets, etc...). When I do this at the game's normal windowed resolution, it works great - everything looks seamless with these layered items.
When I go full screen with my game, the added sprites have a bit of distortion - almost like they are slightly rotated one way (like a half a degree almost). All the other sprites in the game, including the base sprite for the object, don't have this problem - just these additional sprites drawn in the Draw event. I know there is a lot to take into account when scaling pixel art and all that, but I would expect the base sprite to distort some if that was the issue (which it is not).
Here is an example:
I am not doing anything with the image_xscale or image_yscale that I am aware of and I assume that would be the same values that the base sprite is increased by. I am using the exact coordinates of the object to place this sprite.
Here is the distorted sprite example - the helmet is the part that is weird.
Here is when not in full screen, same exact everything else - you can see all the pixels line up.
I can answer more questions as needed... it is just a strange thing.
When I go full screen with my game, the added sprites have a bit of distortion - almost like they are slightly rotated one way (like a half a degree almost). All the other sprites in the game, including the base sprite for the object, don't have this problem - just these additional sprites drawn in the Draw event. I know there is a lot to take into account when scaling pixel art and all that, but I would expect the base sprite to distort some if that was the issue (which it is not).
Here is an example:
GML:
draw_sprite_ext( current_hair, image_index, x, y, image_xscale, image_yscale, 1, c_white, 1 );
Here is the distorted sprite example - the helmet is the part that is weird.
Here is when not in full screen, same exact everything else - you can see all the pixels line up.
I can answer more questions as needed... it is just a strange thing.
Last edited: