
My goal is to try to remake this same system, just using surfaces instead of views. The reason I'm using separate layers like this, is because they all use different zoom scales. The BG Layer is always at 1x zoom. The Game Layer changes zoom constantly depending on what's going on in the game. The Foreground layer is always at 2x zoom.
The reason why I want to use surfaces instead of views is because GM's views don't scale properly on certain graphics cards. It creates seams between tiles and other game objects:

However, while attempting to convert the view method to surfaces, I've been unable to figure out a way to replicate it 100% accurately. Using a single surface which captures the entire screen, everything is forced to be the same scale. When using 3 different surfaces to contain the 3 different layers, the background of the Game Layer does not appear transparent, and obscures the BG layer:

So my question is, what do you think is the best method to approach this situation? Can you think of some way to replicate the view method without creating those ugly seams?



Find content
Not Telling



