Changeset 8012 for 2016


Ignore:
Timestamp:
2016-07-07 23:33:08 (3 years ago)
Author:
tesatapa
Message:

muutama musiikkitiedost.
Elämät eivät vähene, kun vaihtaa kenttää. Kuolema toista kantaessa tappaa molemmat

Location:
2016/27/ohjaajat/VenienteFragore/VenienteFragore
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • 2016/27/ohjaajat/VenienteFragore/VenienteFragore/VenienteFragore/LevelCreationMethods.cs

    r8011 r8012  
    256256        { 
    257257            //Tämä tänne, jotta anim. tai jotain jos joskus halutaan, muuten suoraan voi vaihtaa kenttää delegattissa 
     258            MediaPlayer.Play(RandomGen.SelectOne(songNames)); 
     259            if (advenae.Count(x => x.IsAlive) > 1) lives.Value++; 
    258260            StartLevel(lvlName); 
    259261        } 
  • 2016/27/ohjaajat/VenienteFragore/VenienteFragore/VenienteFragore/Player.cs

    r8011 r8012  
    6262        public void Die() 
    6363        { 
     64            if(Carrying != null && Carrying is Player) 
     65            { 
     66                ((Player)Carrying).Die(); 
     67            } 
     68 
    6469            if (GettingHitSounds != null) 
    6570            { 
  • 2016/27/ohjaajat/VenienteFragore/VenienteFragore/VenienteFragore/VenienteFragore.cs

    r8011 r8012  
    2020        private readonly Image[] advenaImages = LoadImages("advenawalk\\advenawalk00", 1, 49, true); 
    2121        private readonly Image[] advenbImages = LoadImages("advenbwalk\\advenb00", 1, 49, true); 
     22        private readonly string[] songNames = { "DST-IceStar", "DST-HollowBreath", "DST-PhaserSwitch", "DST-Kronos" }; 
    2223 
    2324        private readonly Image[] advenaLiftImages = LoadImages("advenaliftingwalk\\advenaliftingwalk00", 1, 49, true); 
     
    99100            ClearAll(); 
    100101 
    101             MediaPlayer.Play("DST-PhaserSwitch"); 
     102            MediaPlayer.Play(RandomGen.SelectOne(songNames)); 
    102103 
    103104            IsMouseVisible = false; 
  • 2016/27/ohjaajat/VenienteFragore/VenienteFragore/VenienteFragoreContent/VenienteFragoreContent.contentproj

    r8011 r8012  
    12001200    </Compile> 
    12011201  </ItemGroup> 
     1202  <ItemGroup> 
     1203    <Compile Include="DST-HollowBreath.mp3"> 
     1204      <Name>DST-HollowBreath</Name> 
     1205      <Importer>Mp3Importer</Importer> 
     1206      <Processor>SongProcessor</Processor> 
     1207    </Compile> 
     1208  </ItemGroup> 
     1209  <ItemGroup> 
     1210    <Compile Include="DST-IceStar.mp3"> 
     1211      <Name>DST-IceStar</Name> 
     1212      <Importer>Mp3Importer</Importer> 
     1213      <Processor>SongProcessor</Processor> 
     1214    </Compile> 
     1215  </ItemGroup> 
     1216  <ItemGroup> 
     1217    <Compile Include="DST-Kronos.mp3"> 
     1218      <Name>DST-Kronos</Name> 
     1219      <Importer>Mp3Importer</Importer> 
     1220      <Processor>SongProcessor</Processor> 
     1221    </Compile> 
     1222  </ItemGroup> 
    12021223  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    12031224  <!--  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.