Changeset 8729 for 2017


Ignore:
Timestamp:
2017-06-15 14:35:38 (2 years ago)
Author:
npo17_22
Message:

äänet ja muutenkin valmis ei ole testattu

Location:
2017/24/EljaL/TheMetsäsurvivor/TheMetsäsurvivor
Files:
7 added
10 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/EljaL/TheMetsäsurvivor/TheMetsäsurvivor/TheMetsäsurvivor/TheMetsäsurvivor.cs

    r8722 r8729  
    1717    Image kivikuva = LoadImage("kivi"); 
    1818    Timer aikaLaskuri; 
     19    SoundEffect karhuaani = LoadSoundEffect("karhuaani"); 
     20    SoundEffect musiikki = LoadSoundEffect("musiikki"); 
     21    SoundEffect loppumusa = LoadSoundEffect("loppumusa"); 
    1922 
    2023    public override void Begin() 
     
    134137        kivi.Tag = "tolppa"; 
    135138        kivi.Image = kivikuva; 
     139        kivi.Shape = Shape.Circle; 
    136140        Add(kivi); 
    137141 
     
    188192    void luopojolaskuri() 
    189193    { 
    190         pojolaskuri = new IntMeter(0); 
     194        pojolaskuri = new IntMeter(1000); 
    191195 
    192196        Label pojonaytto = new Label(); 
     
    228232    { 
    229233        hplaskuri.Value -= 1; 
     234        karhuaani.Play(); 
    230235    } 
    231236    void ripped() 
     
    302307            aikaLaskuri.Pause(); 
    303308            MessageDisplay.Add("voitit"); 
     309            loppumusa.Play(); 
    304310        } 
    305311    } 
     
    340346    void kivigenraattori() 
    341347    { 
     348        musiikki.Play(); 
    342349        if (kivilaskuri > 9) 
    343350        { 
     
    356363    void puugeneraattori() 
    357364    { 
     365        musiikki.Play(); 
    358366        if (puuLaskuri > 9) 
    359367        { 
     
    372380    void pistegeneraattori() 
    373381    { 
     382        musiikki.Play(); 
    374383        if (puuLaskuri > 99) 
    375384        { 
  • 2017/24/EljaL/TheMetsäsurvivor/TheMetsäsurvivor/TheMetsäsurvivor/TheMetsäsurvivor.csproj.Debug.cachefile

    r8722 r8729  
    33Content\Puu.xnb 
    44Content\kivi.xnb 
     5Content\karhuaani.xnb 
     6Content\musiikki.xnb 
     7Content\loppumusa.xnb 
  • 2017/24/EljaL/TheMetsäsurvivor/TheMetsäsurvivor/TheMetsäsurvivor/obj/x86/Debug/ContentPipeline-{3FE3A1DE-8588-4F92-B05A-56882A8DB65B}.xml

    r8722 r8729  
    3737      <Output>C:\MyTemp\EljaL\TheMetsäsurvivor\TheMetsäsurvivor\TheMetsäsurvivor\bin\x86\Debug\Content\kivi.xnb</Output> 
    3838      <Time>2017-06-15T13:23:56.373205+03:00</Time> 
     39    </Item> 
     40    <Item> 
     41      <Source>karhuaani.wav</Source> 
     42      <Name>karhuaani</Name> 
     43      <Importer>WavImporter</Importer> 
     44      <Processor>SoundEffectProcessor</Processor> 
     45      <Options>None</Options> 
     46      <Output>C:\MyTemp\EljaL\TheMetsäsurvivor\TheMetsäsurvivor\TheMetsäsurvivor\bin\x86\Debug\Content\karhuaani.xnb</Output> 
     47      <Time>2017-06-15T14:17:46.3910283+03:00</Time> 
     48    </Item> 
     49    <Item> 
     50      <Source>musiikki.wav</Source> 
     51      <Name>musiikki</Name> 
     52      <Importer>WavImporter</Importer> 
     53      <Processor>SoundEffectProcessor</Processor> 
     54      <Options>None</Options> 
     55      <Output>C:\MyTemp\EljaL\TheMetsäsurvivor\TheMetsäsurvivor\TheMetsäsurvivor\bin\x86\Debug\Content\musiikki.xnb</Output> 
     56      <Time>2017-06-15T14:21:03.0178814+03:00</Time> 
     57    </Item> 
     58    <Item> 
     59      <Source>loppumusa.wav</Source> 
     60      <Name>loppumusa</Name> 
     61      <Importer>WavImporter</Importer> 
     62      <Processor>SoundEffectProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\EljaL\TheMetsäsurvivor\TheMetsäsurvivor\TheMetsäsurvivor\bin\x86\Debug\Content\loppumusa.xnb</Output> 
     65      <Time>2017-06-15T14:32:44.3033372+03:00</Time> 
    3966    </Item> 
    4067    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/24/EljaL/TheMetsäsurvivor/TheMetsäsurvivor/TheMetsäsurvivor/obj/x86/Debug/TheMetsäsurvivor.csproj.FileListAbsolute.txt

    r8722 r8729  
    1111C:\MyTemp\EljaL\TheMetsÀsurvivor\TheMetsÀsurvivor\TheMetsÀsurvivor\bin\x86\Debug\Content\Puu.xnb 
    1212C:\MyTemp\EljaL\TheMetsÀsurvivor\TheMetsÀsurvivor\TheMetsÀsurvivor\bin\x86\Debug\Content\kivi.xnb 
     13C:\MyTemp\EljaL\TheMetsÀsurvivor\TheMetsÀsurvivor\TheMetsÀsurvivor\bin\x86\Debug\Content\karhuaani.xnb 
     14C:\MyTemp\EljaL\TheMetsÀsurvivor\TheMetsÀsurvivor\TheMetsÀsurvivor\bin\x86\Debug\Content\musiikki.xnb 
     15C:\MyTemp\EljaL\TheMetsÀsurvivor\TheMetsÀsurvivor\TheMetsÀsurvivor\bin\x86\Debug\Content\loppumusa.xnb 
  • 2017/24/EljaL/TheMetsäsurvivor/TheMetsäsurvivor/TheMetsäsurvivor/obj/x86/Debug/cachefile-{3FE3A1DE-8588-4F92-B05A-56882A8DB65B}-targetpath.txt

    r8722 r8729  
    33Content\Puu.xnb 
    44Content\kivi.xnb 
     5Content\karhuaani.xnb 
     6Content\musiikki.xnb 
     7Content\loppumusa.xnb 
  • 2017/24/EljaL/TheMetsäsurvivor/TheMetsäsurvivor/TheMetsäsurvivorContent/TheMetsäsurvivorContent.contentproj

    r8722 r8729  
    7373    </Compile> 
    7474  </ItemGroup> 
     75  <ItemGroup> 
     76    <Compile Include="karhuaani.wav"> 
     77      <Name>karhuaani</Name> 
     78      <Importer>WavImporter</Importer> 
     79      <Processor>SoundEffectProcessor</Processor> 
     80    </Compile> 
     81  </ItemGroup> 
     82  <ItemGroup> 
     83    <Compile Include="musiikki.wav"> 
     84      <Name>musiikki</Name> 
     85      <Importer>WavImporter</Importer> 
     86      <Processor>SoundEffectProcessor</Processor> 
     87    </Compile> 
     88  </ItemGroup> 
     89  <ItemGroup> 
     90    <Compile Include="loppumusa.wav"> 
     91      <Name>loppumusa</Name> 
     92      <Importer>WavImporter</Importer> 
     93      <Processor>SoundEffectProcessor</Processor> 
     94    </Compile> 
     95  </ItemGroup> 
    7596  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    7697  <!--  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.