Changeset 6985 for 2015/30


Ignore:
Timestamp:
2015-07-23 14:59:09 (8 years ago)
Author:
masorval
Message:
 
Location:
2015/30/MarkusS/git_gud_the_game
Files:
9 added
1 deleted
14 edited

Legend:

Unmodified
Added
Removed
  • 2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_game/git_gud_the_game.cs

    r6969 r6985  
    9292    Pelaaja pelaaja1; 
    9393    Image pelaajanKuva = LoadImage("pelaajankuva"); 
     94    Image kavelyVasemmalle = LoadImage("PelaajanKuvaSivuVasen"); 
     95    Image kavelyOikealle = LoadImage("PelaajanKuvaSivu"); 
     96    Image kavelyYlos = LoadImage("PelaajanKuvaSelka"); 
    9497    Image SeinanKuva = LoadImage("Seina"); 
    9598    Image vihollisenKuva = LoadImage("vihollisenKuva"); 
     
    97100    Image haulikonKuva = LoadImage("haulikko"); 
    98101    IntMeter pisteLaskuri; 
     102    Image FinalBoss = LoadImage("FinalBoss"); 
    99103    const double nopeus = 400; 
    100104 
     
    119123        ruudut.SetTileMethod(Color.Red, LuoVihollinen); 
    120124        ruudut.SetTileMethod(Color.FromHexCode("808080"), LuoEsine); 
    121         //ruudut.SetTileMethod(Color.Harlequin, LuoHCVihollinen); 
     125        ruudut.SetTileMethod(Color.Harlequin, LuoHCVihollinen); 
    122126        ruudut.SetTileMethod(Color.FromHexCode("B6FF00"), SpawnaaHaulikko); 
    123127        ruudut.Execute(ruudunkoko, ruudunkoko); 
    124128 
    125129        LuoPistelaskuri(); 
    126         //Level.Background.Image = taustaKuva; 
     130        //Level.Background.Image = taustaKuva;  
    127131        //Level.Background.ScaleToLevelFull(); 
    128132 
     
    240244        if (tatinTila.StateVector.Angle.MainDirection == Direction.Right) 
    241245        { 
     246            pelaaja.Image = kavelyOikealle; 
    242247            pelaaja.Move(new Vector(nopeus, 0)); 
    243248        } 
    244249        else if (tatinTila.StateVector.Angle.MainDirection == Direction.Left) 
    245250        { 
     251            pelaaja.Image = kavelyVasemmalle; 
    246252            pelaaja.Move(new Vector(-nopeus, 0)); 
    247253        } 
    248254        else if (tatinTila.StateVector.Angle.MainDirection == Direction.Down) 
    249255        { 
     256            pelaaja.Image = pelaajanKuva; 
    250257            pelaaja.Move(new Vector(0, -nopeus)); 
    251258        } 
    252259        else if (tatinTila.StateVector.Angle.MainDirection == Direction.Up) 
    253260        { 
     261            pelaaja.Image = kavelyYlos; 
    254262            pelaaja.Move(new Vector(0,nopeus)); 
    255263 
     
    323331    void KaikkiKeratty(Vector paikka, double leveys, double korkeus) 
    324332    { 
    325         LuoVihu(paikka, leveys, korkeus, 20, vihollisenKuva); 
     333          
     334        LuoVihu(paikka, leveys, korkeus, 20, FinalBoss); 
    326335    } 
    327336    void LuoEsine(Vector paikka, double leveys, double korkeus) 
  • 2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_game/git_gud_the_game.csproj.Debug.cachefile

    r6969 r6985  
    11Content\kentta1.xnb 
    22Content\Seina.xnb 
    3 Content\PelaajanKuva.xnb 
    43Content\Tausta.xnb 
    54Content\haulikko.xnb 
    65Content\Huutaa.xnb 
    76Content\vihollisenKuva.xnb 
     7Content\FinalBoss.xnb 
     8Content\pelaajanKuva.xnb 
     9Content\PelaajanKuvaSelka.xnb 
     10Content\pelaajanKuvaSivu.xnb 
     11Content\pelaajanKuvaSivuVasen.xnb 
  • 2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_game/obj/x86/Debug/cachefile-{1C03E4EE-ABF7-43AF-8443-48178D554BFA}-targetpath.txt

    r6969 r6985  
    11Content\kentta1.xnb 
    22Content\Seina.xnb 
    3 Content\PelaajanKuva.xnb 
    43Content\Tausta.xnb 
    54Content\haulikko.xnb 
    65Content\Huutaa.xnb 
    76Content\vihollisenKuva.xnb 
     7Content\FinalBoss.xnb 
     8Content\pelaajanKuva.xnb 
     9Content\PelaajanKuvaSelka.xnb 
     10Content\pelaajanKuvaSivu.xnb 
     11Content\pelaajanKuvaSivuVasen.xnb 
  • 2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_game/obj/x86/Debug/git_gud_the_game.csproj.FileListAbsolute.txt

    r6928 r6985  
    88C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\obj\x86\Debug\git_gud_the_game.pdb 
    99C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\kentta1.xnb 
    10 C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\PelaajanKuva.xnb 
    1110C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\Seina.xnb 
    1211C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\Huutaa.xnb 
     
    1413C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\Tausta.xnb 
    1514C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\haulikko.xnb 
     15C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\FinalBoss.xnb 
     16C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuva.xnb 
     17C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\PelaajanKuvaSelka.xnb 
     18C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuvaSivu.xnb 
     19C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuvaSivuVasen.xnb 
  • 2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_gameContent/git_gud_the_gameContent.contentproj

    r6969 r6985  
    6060  </ItemGroup> 
    6161  <ItemGroup> 
    62     <Compile Include="PelaajanKuva.png"> 
    63       <Name>PelaajanKuva</Name> 
    64       <Importer>TextureImporter</Importer> 
    65       <Processor>TextureProcessor</Processor> 
    66     </Compile> 
    67   </ItemGroup> 
    68   <ItemGroup> 
    6962    <Compile Include="Huutaa.wav"> 
    7063      <Name>Huutaa</Name> 
     
    9487    </Compile> 
    9588  </ItemGroup> 
     89  <ItemGroup> 
     90    <Compile Include="FinalBoss.png"> 
     91      <Name>FinalBoss</Name> 
     92      <Importer>TextureImporter</Importer> 
     93      <Processor>TextureProcessor</Processor> 
     94    </Compile> 
     95  </ItemGroup> 
     96  <ItemGroup> 
     97    <Compile Include="pelaajanKuva .png"> 
     98      <Name>pelaajanKuva</Name> 
     99      <Importer>TextureImporter</Importer> 
     100      <Processor>TextureProcessor</Processor> 
     101    </Compile> 
     102  </ItemGroup> 
     103  <ItemGroup> 
     104    <Compile Include="PelaajanKuvaSelka.png"> 
     105      <Name>PelaajanKuvaSelka</Name> 
     106      <Importer>TextureImporter</Importer> 
     107      <Processor>TextureProcessor</Processor> 
     108    </Compile> 
     109    <Compile Include="pelaajanKuvaSivu.png"> 
     110      <Name>pelaajanKuvaSivu</Name> 
     111      <Importer>TextureImporter</Importer> 
     112      <Processor>TextureProcessor</Processor> 
     113    </Compile> 
     114    <Compile Include="pelaajanKuvaSivuVasen.png"> 
     115      <Name>pelaajanKuvaSivuVasen</Name> 
     116      <Importer>TextureImporter</Importer> 
     117      <Processor>TextureProcessor</Processor> 
     118    </Compile> 
     119  </ItemGroup> 
    96120  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    97121  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2015/30/MarkusS/git_gud_the_game/git_gud_the_game/git_gud_the_gameContent/obj/x86/Debug/ContentPipeline.xml

    r6969 r6985  
    2121    </Item> 
    2222    <Item> 
    23       <Source>PelaajanKuva.png</Source> 
    24       <Name>PelaajanKuva</Name> 
    25       <Importer>TextureImporter</Importer> 
    26       <Processor>TextureProcessor</Processor> 
    27       <Options>None</Options> 
    28       <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\PelaajanKuva.xnb</Output> 
    29       <Time>2015-07-23T09:33:34.1064956+03:00</Time> 
    30     </Item> 
    31     <Item> 
    3223      <Source>Tausta.jpg</Source> 
    3324      <Name>Tausta</Name> 
     
    4536      <Options>None</Options> 
    4637      <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\haulikko.xnb</Output> 
    47       <Time>2015-07-23T09:40:22.5448956+03:00</Time> 
     38      <Time>2015-07-23T14:03:37.3366257+03:00</Time> 
    4839    </Item> 
    4940    <Item> 
     
    6455      <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\vihollisenKuva.xnb</Output> 
    6556      <Time>2015-07-23T11:28:46.0105956+03:00</Time> 
     57    </Item> 
     58    <Item> 
     59      <Source>FinalBoss.png</Source> 
     60      <Name>FinalBoss</Name> 
     61      <Importer>TextureImporter</Importer> 
     62      <Processor>TextureProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\FinalBoss.xnb</Output> 
     65      <Time>2015-07-23T13:27:09.7255242+03:00</Time> 
     66    </Item> 
     67    <Item> 
     68      <Source>pelaajanKuva .png</Source> 
     69      <Name>pelaajanKuva</Name> 
     70      <Importer>TextureImporter</Importer> 
     71      <Processor>TextureProcessor</Processor> 
     72      <Options>None</Options> 
     73      <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuva.xnb</Output> 
     74      <Time>2015-07-23T13:48:15.1690257+03:00</Time> 
     75    </Item> 
     76    <Item> 
     77      <Source>PelaajanKuvaSelka.png</Source> 
     78      <Name>PelaajanKuvaSelka</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81      <Options>None</Options> 
     82      <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\PelaajanKuvaSelka.xnb</Output> 
     83      <Time>2015-07-23T14:32:14.8570257+03:00</Time> 
     84    </Item> 
     85    <Item> 
     86      <Source>pelaajanKuvaSivu.png</Source> 
     87      <Name>pelaajanKuvaSivu</Name> 
     88      <Importer>TextureImporter</Importer> 
     89      <Processor>TextureProcessor</Processor> 
     90      <Options>None</Options> 
     91      <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuvaSivu.xnb</Output> 
     92      <Time>2015-07-23T14:41:32.7558257+03:00</Time> 
     93    </Item> 
     94    <Item> 
     95      <Source>pelaajanKuvaSivuVasen.png</Source> 
     96      <Name>pelaajanKuvaSivuVasen</Name> 
     97      <Importer>TextureImporter</Importer> 
     98      <Processor>TextureProcessor</Processor> 
     99      <Options>None</Options> 
     100      <Output>C:\MyTemp\MarkusS\git_gud_the_game\git_gud_the_game\git_gud_the_game\bin\x86\Debug\Content\pelaajanKuvaSivuVasen.xnb</Output> 
     101      <Time>2015-07-23T14:40:38.2908257+03:00</Time> 
    66102    </Item> 
    67103    <BuildSuccessful>true</BuildSuccessful> 
Note: See TracChangeset for help on using the changeset viewer.