Dilawlaw
Member
Hi guys, I am working on an 8-bit game and I have a problem with the collision mask of the player where it's not situated exactly as I see it on my sprite. I wrote a code to draw a rectangle showing my collision boundaries ( bbox_left, right top, and bottom). here is a zoomed picture of how the game looks compared to the mask I have on my sprite. which doesn't make sense since the boundaries are taking like half a pixel on top and half on the bottom
by the way, I am not scaling the player on anything, just did a zoom on the actual game screenshot, as you can see this problem causes the player to get inside the ground
Does anyone have any idea how to solve this?
by the way, I am not scaling the player on anything, just did a zoom on the actual game screenshot, as you can see this problem causes the player to get inside the ground
Does anyone have any idea how to solve this?