Changeset 4393 for 2012


Ignore:
Timestamp:
2013-07-03 12:53:57 (6 years ago)
Author:
nivikinn
Message:

Talletus.

Location:
2012/27/NikoKi/EpicTankBattle/EpicTankBattle
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • 2012/27/NikoKi/EpicTankBattle/EpicTankBattle/EpicTankBattle/EpicTankBattle.cs

    r4382 r4393  
    9595    { 
    9696        ClearAll(); 
     97 
    9798        MultiSelectWindow alkuValikko = new MultiSelectWindow("EpicTankBattle", 
    9899        "Uusi peli", "Lopeta"); 
    99100        Add(alkuValikko); 
     101        Level.Background.CreateGradient(Color.Mint, Color.Snow); 
    100102        alkuValikko.ItemSelected += PainettiinValikonNappia; 
    101103    } 
     
    116118    void MaaperaValikko() 
    117119    { 
    118         MultiSelectWindow MaaperaValikko = new MultiSelectWindow("Valitse kenttä", "Vuori", "Järvi", "Vesiputous", "Tulivuori"); 
     120        MultiSelectWindow MaaperaValikko = new MultiSelectWindow("Valitse kenttä", "Vuori", "Järvi", "Vesiputous", "Tulivuori", "Metsä"); 
    119121        Add(MaaperaValikko); 
    120122        MaaperaValikko.ItemSelected += PainettiinMaaperaValikonNappia; 
     
    124126        ColorTileMap Ruudut; 
    125127 
    126         string kartta = new string[] { "Maapera", "Maapera2", "Maapera3", "Maapera4" }[MaaperanValinta]; 
     128        string kartta = new string[] { "Maapera", "Maapera2", "Maapera3", "Maapera4", "Maapera5" }[MaaperanValinta]; 
    127129 
    128130        Ruudut = ColorTileMap.FromLevelAsset(kartta); 
     
    768770    { 
    769771        pelaaja.hp.Value -= ((Ammus)ammus).tuhovoima; 
    770         if (pelaaja.hp < 50 && !pressure) 
     772        if (pelaaja.hp < 35 && !pressure) 
    771773        { 
    772774            pressure = true; 
  • 2012/27/NikoKi/EpicTankBattle/EpicTankBattle/EpicTankBattleContent/EpicTankBattleContent.contentproj

    r4334 r4393  
    200200    </Compile> 
    201201  </ItemGroup> 
     202  <ItemGroup> 
     203    <Compile Include="Maapera5.png"> 
     204      <Name>Maapera5</Name> 
     205      <Importer>TextureImporter</Importer> 
     206      <Processor>TextureProcessor</Processor> 
     207    </Compile> 
     208  </ItemGroup> 
    202209  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    203210  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
Note: See TracChangeset for help on using the changeset viewer.