Reputation: 11
I'm working on a program where you can make 8-bit sprites and then use them to make a map. The problem is when I put them in the picture boxes (used as tiles for the map editor) they become blurred due to the scaling. Is there any way to get around this? (I'm using visual studio windows forms and c#)
Upvotes: 1
Views: 1786
Reputation: 12796
Just make sure you set the SizeMode
of your PictureBox
properly for your scenario.
As you do not want to scale them, I suggest you put them to Normal
or Zoom
Normal
with align the picture on the TopLeft position of the PictureBox. Zoom
will stretch, but maintain the ratio (thus it wont be overly blurry)
Upvotes: 1