- Timestamp:
- 2011-07-01 10:38:42 (12 years ago)
- 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 29 29 public class Peli : PhysicsGame 30 30 { 31 ScoreList topLista = new ScoreList( 10, false, 0);31 ScoreList topLista = new ScoreList(20, false, 0); 32 32 Pelaaja pelaaja; 33 33 PushButton korkeusnappi; … … 42 42 //Label pistelaskuri; 43 43 int vihollisia; 44 int montakoVihollistaRuudullaEnintaan = 10 ;44 int montakoVihollistaRuudullaEnintaan = 100000000; 45 45 BarGauge pelaajaElamaPalkki; 46 46 DoubleMeter pelaajanElamat; 47 47 Image peliloppui = LoadImage("gameover"); 48 int kentanLeveys = 400;48 int kentanLeveys = 800; 49 49 int kentanKorkeus = 800; 50 50 //int pMaxMaara = 200; … … 151 151 ClearAll(); 152 152 Level.Background.Image = peliloppui; 153 Timer.SingleShot(3, Begin);154 153 ajastintenpysaytys(); 154 näytäPistelista(); 155 156 //Timer.SingleShot(20, Begin); 155 157 } 156 158 … … 318 320 default: 319 321 break; 320 } 322 } 321 323 //Level.Height = Level.Height * 2; 322 324 //Level.Height = Level.Height / 2; … … 329 331 HighScoreWindow topIkkuna = new HighScoreWindow("Neon Wars", 330 332 "Parhaat pisteet", 331 topLista); 333 "Onneksi olkoon, pääsit listalle pisteillä %p! Syötä nimesi:", 334 335 topLista, montakoVihollistaLuodaan ); 332 336 topIkkuna.Closed += TallennaPisteet; 333 337 Add(topIkkuna); … … 338 342 DataStorage.Save<ScoreList>(topLista, "pisteet.xml"); 339 343 344 } 345 void KsiittiNappi() 346 { 347 340 348 } 341 349 } -
2011/26/JaniN/neon wars/neon wars/neon warsContent/neon warsContent.contentproj
r2380 r2399 84 84 </Compile> 85 85 </ItemGroup> 86 <ItemGroup> 87 <Compile Include="musa2.mp3"> 88 <Name>musa2</Name> 89 <Importer>Mp3Importer</Importer> 90 <Processor>SongProcessor</Processor> 91 </Compile> 92 </ItemGroup> 86 93 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 87 94 <!-- 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.