Solitary Confinement
Member
Heya,
As the thread title asks, is there a way to use draw_surface_part such that a surface draws from bottom to top? Right now, I'm able to draw a portion of the surface but it only draws from top to bottom (i.e. the surface is clipped away from the bottom, whereas I want it to clip away from the top. Here's the code that I currently have:
If I change the height from 500 to 400, it will clip 100 pixels from the surface's bottom. Changing the "top" and "y" arguments don't seem to work either.
many thanks.
As the thread title asks, is there a way to use draw_surface_part such that a surface draws from bottom to top? Right now, I'm able to draw a portion of the surface but it only draws from top to bottom (i.e. the surface is clipped away from the bottom, whereas I want it to clip away from the top. Here's the code that I currently have:
GML:
draw_surface_part(surf, 0, 0, g_width, 500, 0, 0)
many thanks.
Last edited: