D
Default User
Guest
Graphical issue that isn't really a programming issue, but it doesn't really fit with the technical support questions either... so I thought it would be best to just put it here.
GameMaker does not have a built in function to draw a trapezoid, so what I did was I drew two triangles like this (pseudocode)...
But sometimes the triangles (rarely and while their moving) have a very thin gap between them, and it happens even more when the trapezoid is on top of a color that it contrasts well with.
I am using AA and screen sync, but turning them off doesn't help. It happens no matter the screen size/mode.
Normal:
Gap problem:
Hard to see in this small picture, and it's not the worst case scenario.
Please tell me if you know anything I can enable/disable that would fix this issue, thanks!
GameMaker does not have a built in function to draw a trapezoid, so what I did was I drew two triangles like this (pseudocode)...
draw_triangle(bottom-left point, top-left point, bottom-right point, not an outline);
draw_triangle(bottom-right point, top-right point, top-left point, not an outline);
// Points may be in slightly different order
draw_triangle(bottom-right point, top-right point, top-left point, not an outline);
// Points may be in slightly different order
But sometimes the triangles (rarely and while their moving) have a very thin gap between them, and it happens even more when the trapezoid is on top of a color that it contrasts well with.
I am using AA and screen sync, but turning them off doesn't help. It happens no matter the screen size/mode.
Normal:
Gap problem:
Hard to see in this small picture, and it's not the worst case scenario.
Please tell me if you know anything I can enable/disable that would fix this issue, thanks!
Attachments
-
1.2 KB Views: 6
-
1.9 KB Views: 5