Changeset 9480 for 2016


Ignore:
Timestamp:
2017-11-18 14:58:33 (10 months ago)
Author:
rikavila
Message:
 
Location:
2016/koodauskerho/OttoK/Bombercat
Files:
10 added
1 deleted
16 edited

Legend:

Unmodified
Added
Removed
  • 2016/koodauskerho/OttoK/Bombercat/Bombercat/Bombercat/Bombercat.cs

    r9468 r9480  
    1414 
    1515    PlatformCharacter pelaaja1; 
     16    GameObject hanta; 
    1617 
    1718    Image pelaajanKuva = LoadImage("Kissa"); 
     
    1920    Image multaImage = LoadImage("Multapalikka"); 
    2021    Image pommiImage = LoadImage("bomb"); 
     22    Image hantaKuva = LoadImage("Hanta1"); 
    2123 
    2224    SoundEffect maaliAani = LoadSoundEffect("maali"); 
     
    5254        platform.Position = paikka; 
    5355        platform.Image = platformImage; 
    54  
     56        platform.Tag = "taso"; 
    5557        Add(platform); 
    5658    } 
     
    6264        Bomb.CanRotate = false; 
    6365        Bomb.Explosion.AddShockwaveHandler("multa", DestroyBlock); 
    64          
     66        Bomb.Explosion.AddShockwaveHandler("taso", DestroyBlock); 
     67 
    6568        pelaaja1.Throw(Bomb, Angle.FromDegrees(30), 10000); 
    6669        Bomb.FuseTime = TimeSpan.FromSeconds(1); 
     
    101104    } 
    102105 
     106    void LisaaHanta() 
     107    { 
     108        hanta = new GameObject(100, 100); 
     109        hanta.Position = new Vector(pelaaja1.X, pelaaja1.Y); 
     110        hanta.Image = hantaKuva; 
     111        Add(hanta); 
     112    } 
     113 
    103114    void LisaaNappaimet() 
    104115    { 
  • 2016/koodauskerho/OttoK/Bombercat/Bombercat/Bombercat/Bombercat.csproj.Debug.cachefile

    r9468 r9480  
    11Content\maali.xnb 
    22Content\tahti.xnb 
     3Content\Kissa.xnb 
     4Content\Multapalikka.xnb 
     5Content\Taso.xnb 
     6Content\bomb.xnb 
    37Content\kentta1.xnb 
    4 Content\Kissa.xnb 
    5 Content\Taso.xnb 
    6 Content\Multapalikka.xnb 
    7 Content\bomb.xnb 
     8Content\Hanta1.xnb 
  • 2016/koodauskerho/OttoK/Bombercat/Bombercat/Bombercat/obj/x86/Debug/Bombercat.csproj.FileListAbsolute.txt

    r9468 r9480  
    1414C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Multapalikka.xnb 
    1515C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\bomb.xnb 
     16C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\obj\x86\Debug\Bombercat.csproj.CoreCompileInputs.cache 
     17C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Hanta1.xnb 
  • 2016/koodauskerho/OttoK/Bombercat/Bombercat/Bombercat/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r9468 r9480  
    99      <Options>None</Options> 
    1010      <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\maali.xnb</Output> 
    11       <Time>2017-10-21T12:13:16.3842203+03:00</Time> 
     11      <Time>2017-11-18T14:16:54.3137888+02:00</Time> 
    1212    </Item> 
    1313    <Item> 
     
    1818      <Options>None</Options> 
    1919      <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\tahti.xnb</Output> 
    20       <Time>2017-10-21T12:13:16.3842203+03:00</Time> 
     20      <Time>2017-11-18T14:16:54.5637913+02:00</Time> 
     21    </Item> 
     22    <Item> 
     23      <Source>Kissa.png</Source> 
     24      <Name>Kissa</Name> 
     25      <Importer>TextureImporter</Importer> 
     26      <Processor>TextureProcessor</Processor> 
     27      <Options>None</Options> 
     28      <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Kissa.xnb</Output> 
     29      <Time>2017-11-18T14:16:54.5794111+02:00</Time> 
     30    </Item> 
     31    <Item> 
     32      <Source>Multapalikka.png</Source> 
     33      <Name>Multapalikka</Name> 
     34      <Importer>TextureImporter</Importer> 
     35      <Processor>TextureProcessor</Processor> 
     36      <Options>None</Options> 
     37      <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Multapalikka.xnb</Output> 
     38      <Time>2017-11-18T14:16:54.3137888+02:00</Time> 
     39    </Item> 
     40    <Item> 
     41      <Source>Taso.png</Source> 
     42      <Name>Taso</Name> 
     43      <Importer>TextureImporter</Importer> 
     44      <Processor>TextureProcessor</Processor> 
     45      <Options>None</Options> 
     46      <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Taso.xnb</Output> 
     47      <Time>2017-11-18T14:16:54.4387909+02:00</Time> 
     48    </Item> 
     49    <Item> 
     50      <Source>bomb.png</Source> 
     51      <Name>bomb</Name> 
     52      <Importer>TextureImporter</Importer> 
     53      <Processor>TextureProcessor</Processor> 
     54      <Options>None</Options> 
     55      <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\bomb.xnb</Output> 
     56      <Time>2017-11-18T14:16:54.3294119+02:00</Time> 
    2157    </Item> 
    2258    <Item> 
     
    2763      <Options>None</Options> 
    2864      <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\kentta1.xnb</Output> 
    29       <Time>2017-10-21T13:43:36.5736764+03:00</Time> 
     65      <Time>2017-11-18T14:23:43.3543945+02:00</Time> 
    3066    </Item> 
    3167    <Item> 
    32       <Source>Kissa.png</Source> 
    33       <Name>Kissa</Name> 
     68      <Source>Hanta1.png</Source> 
     69      <Name>Hanta1</Name> 
    3470      <Importer>TextureImporter</Importer> 
    3571      <Processor>TextureProcessor</Processor> 
    3672      <Options>None</Options> 
    37       <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Kissa.xnb</Output> 
    38       <Time>2017-10-21T12:44:51.8768416+03:00</Time> 
    39     </Item> 
    40     <Item> 
    41       <Source>Taso.png</Source> 
    42       <Name>Taso</Name> 
    43       <Importer>TextureImporter</Importer> 
    44       <Processor>TextureProcessor</Processor> 
    45       <Options>None</Options> 
    46       <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Taso.xnb</Output> 
    47       <Time>2017-10-21T13:23:00.6492455+03:00</Time> 
    48     </Item> 
    49     <Item> 
    50       <Source>Multapalikka.png</Source> 
    51       <Name>Multapalikka</Name> 
    52       <Importer>TextureImporter</Importer> 
    53       <Processor>TextureProcessor</Processor> 
    54       <Options>None</Options> 
    55       <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Multapalikka.xnb</Output> 
    56       <Time>2017-10-21T13:22:23.2644996+03:00</Time> 
    57     </Item> 
    58     <Item> 
    59       <Source>bomb.png</Source> 
    60       <Name>bomb</Name> 
    61       <Importer>TextureImporter</Importer> 
    62       <Processor>TextureProcessor</Processor> 
    63       <Options>None</Options> 
    64       <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\bomb.xnb</Output> 
    65       <Time>2017-10-21T14:49:51.2756328+03:00</Time> 
     73      <Output>C:\MyTemp\OttoK\Bombercat\Bombercat\Bombercat\bin\x86\Debug\Content\Hanta1.xnb</Output> 
     74      <Time>2017-11-18T14:30:01.9975503+02:00</Time> 
    6675    </Item> 
    6776    <BuildSuccessful>true</BuildSuccessful> 
     
    112121      <Assembly> 
    113122        <Key>C:\WINDOWS\Microsoft.Net\assembly\GAC_32\Microsoft.Xna.Framework.Content.Pipeline\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Content.Pipeline.dll</Key> 
    114         <Value>2017-06-26T16:10:39.4209235+03:00</Value> 
     123        <Value>2017-06-07T09:35:17.7166104+03:00</Value> 
    115124      </Assembly> 
    116125    </Assemblies> 
  • 2016/koodauskerho/OttoK/Bombercat/Bombercat/Bombercat/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r9468 r9480  
    11Content\maali.xnb 
    22Content\tahti.xnb 
     3Content\Kissa.xnb 
     4Content\Multapalikka.xnb 
     5Content\Taso.xnb 
     6Content\bomb.xnb 
    37Content\kentta1.xnb 
    4 Content\Kissa.xnb 
    5 Content\Taso.xnb 
    6 Content\Multapalikka.xnb 
    7 Content\bomb.xnb 
     8Content\Hanta1.xnb 
  • 2016/koodauskerho/OttoK/Bombercat/Bombercat/BombercatContent/BombercatContent.contentproj

    r9468 r9480  
    9090    </Compile> 
    9191  </ItemGroup> 
     92  <ItemGroup> 
     93    <Compile Include="Hanta1.png"> 
     94      <Name>Hanta1</Name> 
     95      <Importer>TextureImporter</Importer> 
     96      <Processor>TextureProcessor</Processor> 
     97    </Compile> 
     98  </ItemGroup> 
    9299  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    93100  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2016/koodauskerho/OttoK/Bombercat/Bombercat/BombercatContent/kentta1.txt

    r9468 r9480  
    77             # 
    88        M    O 
    9 ###### ######O######## 
    10 OOOOOO O    OOOOOOOOOO 
    11 OOO       OOOOOOOOOOOO 
     9#############O######## 
     10OOOOOOOOOOOOOOOOOOOOOO 
     11OOOOOOOOOOOOOOOOOOOOOO 
  • 2016/koodauskerho/OttoK/Bombercat/Bombercat/BombercatContent/obj/x86/Debug/BombercatContent.contentproj.FileListAbsolute.txt

    r9468 r9480  
    11C:\MyTemp\OttoK\Bombercat\Bombercat\BombercatContent\obj\x86\Debug\BombercatContent.contentprojResolveAssemblyReference.cache 
     2C:\MyTemp\OttoK\Bombercat\Bombercat\BombercatContent\obj\x86\Debug\BombercatContent.contentproj.CoreCompileInputs.cache 
Note: See TracChangeset for help on using the changeset viewer.