Changeset 2399


Ignore:
Timestamp:
2011-07-01 10:38:42 (8 years ago)
Author:
janiemit
Message:

Talletus.

Location:
2011/26/JaniN/neon wars/neon wars
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JaniN/neon wars/neon wars/neon wars/Peli.cs

    r2380 r2399  
    2929public class Peli : PhysicsGame 
    3030{ 
    31     ScoreList topLista = new ScoreList(10, false, 0); 
     31    ScoreList topLista = new ScoreList(20, false, 0); 
    3232    Pelaaja pelaaja; 
    3333    PushButton korkeusnappi; 
     
    4242    //Label pistelaskuri; 
    4343    int vihollisia; 
    44     int montakoVihollistaRuudullaEnintaan = 10; 
     44    int montakoVihollistaRuudullaEnintaan = 100000000; 
    4545    BarGauge pelaajaElamaPalkki; 
    4646    DoubleMeter pelaajanElamat; 
    4747    Image peliloppui = LoadImage("gameover"); 
    48     int kentanLeveys = 400; 
     48    int kentanLeveys = 800; 
    4949    int kentanKorkeus = 800; 
    5050    //int pMaxMaara = 200; 
     
    151151        ClearAll(); 
    152152        Level.Background.Image = peliloppui; 
    153         Timer.SingleShot(3, Begin); 
    154153        ajastintenpysaytys(); 
     154        näytäPistelista(); 
     155         
     156        //Timer.SingleShot(20, Begin); 
    155157    } 
    156158 
     
    318320            default: 
    319321                break; 
    320         } 
     322        }  
    321323        //Level.Height = Level.Height * 2; 
    322324        //Level.Height = Level.Height / 2; 
     
    329331        HighScoreWindow topIkkuna = new HighScoreWindow("Neon Wars", 
    330332                             "Parhaat pisteet", 
    331                                topLista); 
     333                             "Onneksi olkoon, pääsit listalle pisteillä %p! Syötä nimesi:", 
     334 
     335                               topLista, montakoVihollistaLuodaan ); 
    332336        topIkkuna.Closed += TallennaPisteet; 
    333337        Add(topIkkuna); 
     
    338342        DataStorage.Save<ScoreList>(topLista, "pisteet.xml"); 
    339343 
     344    } 
     345    void KsiittiNappi() 
     346    { 
     347         
    340348    } 
    341349}  
  • 2011/26/JaniN/neon wars/neon wars/neon warsContent/neon warsContent.contentproj

    r2380 r2399  
    8484    </Compile> 
    8585  </ItemGroup> 
     86  <ItemGroup> 
     87    <Compile Include="musa2.mp3"> 
     88      <Name>musa2</Name> 
     89      <Importer>Mp3Importer</Importer> 
     90      <Processor>SongProcessor</Processor> 
     91    </Compile> 
     92  </ItemGroup> 
    8693  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    8794  <!--  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.