Changeset 2573


Ignore:
Timestamp:
2011-08-05 10:17:17 (8 years ago)
Author:
almarimp
Message:

Talletus.

Location:
2011/31/AleksiR/OmaPeli/OmaPeli
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2011/31/AleksiR/OmaPeli/OmaPeli/OmaPeli/Peli.cs

    r2569 r2573  
    4343        valikonKohdat.Add(kohta1); 
    4444 
    45         Label kohta2 = new Label("Ohjeet"); 
    46         kohta2.Position = new Vector(0, 40); 
    47         valikonKohdat.Add(kohta2); 
    48  
    4945        Label kohta3= new Label("Lopeta"); 
    5046        kohta3.Position = new Vector(0, 0); 
     
    5753 
    5854        Mouse.ListenOn(kohta1, MouseButton.Left, ButtonState.Pressed, AloitaUusiPeli, null); 
    59         Mouse.ListenOn(kohta2, MouseButton.Left, ButtonState.Pressed, ShowControlHelp, null); 
    6055        Mouse.ListenOn(kohta3, MouseButton.Left, ButtonState.Pressed, Exit, null); 
    6156 
     
    111106        aly2.Speed = 50; 
    112107 
    113         tahti1 = new PhysicsObject(25, 25); 
     108        tahti1 = new PhysicsObject(7, 25); 
    114109        tahti1.Shape = Shape.Star; 
    115110        tahti1.Color = Color.Yellow; 
     
    123118        Add(tahti1); 
    124119 
    125         tahti2 = new PhysicsObject(25, 25); 
     120        tahti2 = new PhysicsObject(7, 25); 
    126121        tahti2.Shape = Shape.Star; 
    127122        tahti2.Color = Color.Yellow; 
     
    311306        pisteNaytto2.X = Screen.Right - 100; 
    312307        pisteNaytto2.Y = Screen.Top - 100; 
    313         pisteNaytto2.TextColor = Color.Maroon; 
     308        pisteNaytto2.TextColor = Color.ForestGreen; 
    314309 
    315310        pisteNaytto2.BindTo(pisteLaskuri2); 
     
    319314        pisteTeksti2.X = Screen.Right - 150; 
    320315        pisteTeksti2.Y = Screen.Top - 100; 
    321         pisteTeksti2.TextColor = Color.GreenYellow; 
     316        pisteTeksti2.TextColor = Color.ForestGreen; 
    322317        Add(pisteTeksti2); 
    323318    } 
  • 2011/31/AleksiR/OmaPeli/OmaPeli/OmaPeliContent/OmaPeliContent.contentproj

    r2550 r2573  
    5959  </ItemGroup> 
    6060  <ItemGroup> 
     61    <Compile Include="Alus.png"> 
     62      <Name>Alus</Name> 
     63      <Importer>TextureImporter</Importer> 
     64      <Processor>TextureProcessor</Processor> 
     65    </Compile> 
     66  </ItemGroup> 
     67  <ItemGroup> 
    6168    <Compile Include="Tahti.png"> 
    6269      <Name>Tahti</Name> 
Note: See TracChangeset for help on using the changeset viewer.