angusbeer
Member
I'm doing a Windows port of my browser game which was made in a 1:1 aspect ratio. When stretching the window horizontally or vertically, I wanted to fill the black space with an infinite background, like this:
This is the code I used in Draw GUI:
It's mostly working, but anything with alpha elements just looks off. I made an example sprite to show what I mean; on the right is with Draw GUI elements turned on. Notice how you can see through to the background around the edge.
Any idea on what's happening and how to fix it?
This is the code I used in Draw GUI:
Code:
draw_sprite_tiled(spr_background_hearts,0,0,0); //the infinite background
draw_surface(application_surface,0,0);
Any idea on what's happening and how to fix it?