Skip to content
Snippets Groups Projects
Commit 98ebc152 authored by Näivö Jimi Sebastian's avatar Näivö Jimi Sebastian
Browse files

GIANT KUVA EI OLE NEÄÄN BLURRED

parent 97e98d75
No related branches found
No related tags found
No related merge requests found
......@@ -111,10 +111,11 @@ public class SimulaattoriPeli : PhysicsGame
private void HahmotKuvakkeet()
{
GameObject giant = new GameObject(150, 150);
giant.Image = LoadImage("GiantEtu.png");
giant.Position = new Vector(0, 0);
Add(giant);
GameObject GiantKuva = new GameObject(150, 150);
GiantKuva.Image = LoadImage("GiantEtu.png");
GiantKuva.Position = new Vector(0, 0);
GiantKuva.Image.Scaling = ImageScaling.Nearest;
Add(GiantKuva);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment