@tval wrote:
I am using Monogame.Extended to display my tiles. When building in Android, my tiles are not seamless (see image), but in Windows they are seamless. I believe this has to do with scaling problems, because when I scale 1:1, my problem disappears. Although, when I scale in Windows, I don't see the problem regardless. in short, this is my code:
float scaleX = (float)Window.ClientBounds.Width / 800f;
float scaleY = (float)Window.ClientBounds.Width / 480f;Graphics.PreferredBackBufferWidth = Window.ClientBounds.Width;
Graphics.PreferredBackBufferHeight = Window.ClientBounds.Height;GameConfig.VirtualWidth = (int)(Graphics.PreferredBackBufferWidth / scaleX);
GameConfig.VirtualHeight = (int)(Graphics.PreferredBackBufferHeight / scaleY);The I use the virtual sizes to build my viewport.
Also my SamplerState is PointClamp.I hope I have provided all the necessary info. If not please let me know.
Any ideas on how I might fix this? Thanks in advance.
Posts: 1
Participants: 1