Changeset 1618
- Timestamp:
- 2010-08-05 13:15:00 (13 years ago)
- Location:
- 2009/santeri_h/Kynari
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
2009/santeri_h/Kynari/Content/obj/x86/Release/Content.contentproj.FileListAbsolute.txt
r447 r1618 1 1 C:\MyTemp\npo09_pelit\santeri_h\Kynari\Content\obj\x86\Release\ResolveAssemblyReference.cache 2 C:\MyTemp\2009\santeri_h\Kynari\Content\obj\x86\Release\ResolveAssemblyReference.cache -
2009/santeri_h/Kynari/Content/obj/x86/Release/ContentPipeline.xml
r447 r1618 8 8 <Processor>TextureProcessor</Processor> 9 9 <Options>None</Options> 10 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\norsu.xnb</Output>11 <Time>20 09-08-08T20:27:57.9936+03:00</Time>10 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\norsu.xnb</Output> 11 <Time>2010-08-05T11:00:30.3739612+03:00</Time> 12 12 </Item> 13 13 <Item> … … 17 17 <Processor>TextureProcessor</Processor> 18 18 <Options>None</Options> 19 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\pistol.xnb</Output>20 <Time>20 09-08-08T20:27:58.0404+03:00</Time>19 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\pistol.xnb</Output> 20 <Time>2010-08-05T11:00:30.3739612+03:00</Time> 21 21 </Item> 22 22 <Item> … … 26 26 <Processor>TextureProcessor</Processor> 27 27 <Options>None</Options> 28 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\shotgun.xnb</Output>29 <Time>20 09-08-08T20:27:58.0092+03:00</Time>28 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\shotgun.xnb</Output> 29 <Time>2010-08-05T11:00:30.3739612+03:00</Time> 30 30 </Item> 31 31 <Item> … … 35 35 <Processor>TextureProcessor</Processor> 36 36 <Options>None</Options> 37 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\grenade.xnb</Output>38 <Time>20 09-08-08T20:27:57.978+03:00</Time>37 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\grenade.xnb</Output> 38 <Time>2010-08-05T11:00:30.3739612+03:00</Time> 39 39 </Item> 40 40 <Item> … … 44 44 <Processor>TextureProcessor</Processor> 45 45 <Options>None</Options> 46 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\magnum.xnb</Output>47 <Time>20 09-08-08T20:27:57.9624+03:00</Time>46 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\magnum.xnb</Output> 47 <Time>2010-08-05T11:00:30.3583364+03:00</Time> 48 48 </Item> 49 49 <Item> … … 53 53 <Processor>SoundEffectProcessor</Processor> 54 54 <Options>None</Options> 55 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\sounds\hyppays.xnb</Output>56 <Time>20 09-08-08T20:27:57.6036+03:00</Time>55 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\sounds\hyppays.xnb</Output> 56 <Time>2010-08-05T11:00:30.311462+03:00</Time> 57 57 </Item> 58 58 <Item> … … 62 62 <Processor>SoundEffectProcessor</Processor> 63 63 <Options>None</Options> 64 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\sounds\kerays.xnb</Output>65 <Time>20 09-08-08T20:27:57.6036+03:00</Time>64 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\sounds\kerays.xnb</Output> 65 <Time>2010-08-05T11:00:30.3270868+03:00</Time> 66 66 </Item> 67 67 <Item> … … 71 71 <Processor>SoundEffectProcessor</Processor> 72 72 <Options>None</Options> 73 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\sounds\maali.xnb</Output>74 <Time>20 09-08-08T20:27:57.5724+03:00</Time>73 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\sounds\maali.xnb</Output> 74 <Time>2010-08-05T11:00:30.311462+03:00</Time> 75 75 </Item> 76 76 <Item> … … 80 80 <Processor>SoundEffectProcessor</Processor> 81 81 <Options>None</Options> 82 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\sounds\tormays.xnb</Output>83 <Time>20 09-08-08T20:27:57.6192+03:00</Time>82 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\sounds\tormays.xnb</Output> 83 <Time>2010-08-05T11:00:30.3270868+03:00</Time> 84 84 </Item> 85 85 <Item> … … 89 89 <Processor>SoundEffectProcessor</Processor> 90 90 <Options>None</Options> 91 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\sounds\tuuppaus.xnb</Output>92 <Time>20 09-08-08T20:27:57.588+03:00</Time>91 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\sounds\tuuppaus.xnb</Output> 92 <Time>2010-08-05T11:00:30.311462+03:00</Time> 93 93 </Item> 94 94 <Item> … … 98 98 <Processor>SongProcessor</Processor> 99 99 <Options>None</Options> 100 <Output>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\tausta.xnb</Output>101 <Extra>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\tausta.wma</Extra>102 <Time>20 09-08-08T20:27:57.9468+03:00</Time>100 <Output>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\tausta.xnb</Output> 101 <Extra>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\tausta.wma</Extra> 102 <Time>2010-08-05T11:00:30.3583364+03:00</Time> 103 103 </Item> 104 104 <BuildSuccessful>true</BuildSuccessful> … … 107 107 <BuildConfiguration>Release</BuildConfiguration> 108 108 <CompressContent>true</CompressContent> 109 <RootDirectory>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\Content\</RootDirectory>110 <LoggerRootDirectory>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\</LoggerRootDirectory>111 <IntermediateDirectory>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\Content\obj\x86\Release\</IntermediateDirectory>112 <OutputDirectory>C:\MyTemp\ npo09_pelit\santeri_h\Kynari\bin\x86\Release\Content\</OutputDirectory>109 <RootDirectory>C:\MyTemp\2009\santeri_h\Kynari\Content\</RootDirectory> 110 <LoggerRootDirectory>C:\MyTemp\2009\santeri_h\Kynari\</LoggerRootDirectory> 111 <IntermediateDirectory>C:\MyTemp\2009\santeri_h\Kynari\Content\obj\x86\Release\</IntermediateDirectory> 112 <OutputDirectory>C:\MyTemp\2009\santeri_h\Kynari\bin\x86\Release\Content\</OutputDirectory> 113 113 </Settings> 114 114 <Assemblies> … … 138 138 </Assembly> 139 139 <Assembly> 140 <Key>C:\W indows\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\3.1.0.0__6d5c3888ef60e27d\Microsoft.Xna.Framework.Content.Pipeline.dll</Key>141 <Value>20 09-08-08T19:16:32.4801214+03:00</Value>140 <Key>C:\WINNT\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\3.1.0.0__6d5c3888ef60e27d\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 141 <Value>2010-06-02T21:12:40.1135423+03:00</Value> 142 142 </Assembly> 143 143 </Assemblies> -
2009/santeri_h/Kynari/Peli.cs
r422 r1618 22 22 const double hyppyVoima = 2000; 23 23 24 Grenade kranaatti; 24 25 PlatformCharacter pelaaja1; 25 26 PlatformCharacter pelaaja2; 26 27 27 28 BarGauge hpNaytto; 28 29 BarGauge hpNaytto2; 29 30 30 31 bool pelaaja1asevaihto = true; 31 32 bool pelaaja2asevaihto = true; … … 35 36 36 37 #endregion 37 38 38 39 #region Alustukset 39 40 protected override void LoadContent() … … 71 72 lisaaNappaimet(); 72 73 //Camera.Follow(pelaaja1); 73 Camera.Position = new Vector2D(0, 0); 74 Camera.Position = new Vector2D(0, 0); 74 75 return seuraava; 75 76 } … … 133 134 hpNaytto.Angle = Angle.Degrees(90); 134 135 hpNaytto.ValueColor = Color.LightGreen; 135 hpNaytto.BackColor = Color.Red; 136 hpNaytto.BackColor = Color.Red; 136 137 hpNaytto.BindTo(pelaaja1.HitPoints); 137 138 hpNaytto.Position = new Vector2D(Screen.RightSafe - 1000, Screen.TopSafe - 170); … … 354 355 } 355 356 357 bool OnkoPelaaja(PhysicsObject olio) 358 { 359 return (olio == pelaaja1 || olio == pelaaja2); 360 } 361 356 362 void lisaaKerattavaAse(Level kentta) 357 363 { … … 360 366 Bullet luoti2 = new Bullet(); 361 367 Bullet hauli = new Bullet(); 362 Grenade kranaatti = new Grenade(); 368 369 kranaatti = new Grenade(); 363 370 kranaatti.Explosion = new Explosion(50, 200, 20, new Damage(10000)); 371 kranaatti.ExplodeCondition = OnkoPelaaja; 364 372 365 373 Texture2D shotgun = Content.Load<Texture2D>("shotgun");
Note: See TracChangeset
for help on using the changeset viewer.