I draw a TiledMap with TiledSharp and i've introduced a resize factor when drawing, that looks like this:
SpriteBatch.Draw(TileSet // The input Texture2D
, new Rectangle((int)x // The tile rectangle
, (int)y
, tileWidth * ScaleFactor
, tileHeight * ScaleFactor)
, tilesetRec // The tile offset on tileset texture
, Color.White); // just white
(note: it's not formated on different lines in my code, it's just i'm making it such way that anyone can understand without having previous lines)
but when i start the game it end up really blured and has some Strange outline
Can someone help me getting really sharp tiles instead of this?
N.B: i Don't want to resize the tileset file, it's to complicated for later modifications regarding the 16x16 style i want for my game. also i'm using Tiled to generate the Tiled Map but i Don't think this last info is relevent.