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

giant siirretty paikoillen

parent 98ebc152
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ public class SimulaattoriPeli : PhysicsGame
{
for (int rivi = 0; rivi < 4; rivi++)
{
GameObject HahmotPaikka = new GameObject(150, 150, Shape.Circle); //Luo hahmojen paikat
GameObject HahmotPaikka = new GameObject(185, 185, Shape.Circle); //Luo hahmojen paikat
HahmotPaikka.Color = Color.White; //Hahmojen paikka väri
HahmotPaikka.Position = new Vector(-850 + jakso * 200, 300 - rivi * 220);
Add(HahmotPaikka);
......@@ -113,7 +113,7 @@ public class SimulaattoriPeli : PhysicsGame
{
GameObject GiantKuva = new GameObject(150, 150);
GiantKuva.Image = LoadImage("GiantEtu.png");
GiantKuva.Position = new Vector(0, 0);
GiantKuva.Position = new Vector(-850, 300);
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