Changeset 6195 for 2015/26/SamuH


Ignore:
Timestamp:
2015-06-23 15:05:58 (4 years ago)
Author:
empaheik
Message:
 
Location:
2015/26/SamuH
Files:
22 added
1 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuest/AwesomeGuest.cs

    r6170 r6195  
    1414 
    1515    PlatformCharacter pelaaja1; 
    16  
    17     Image pelaajanKuva = LoadImage("norsu"); 
     16    Image lapionkuva = LoadImage("lapio"); 
     17    Image klkuva = LoadImage("kenttälapio"); 
     18    Image pelaajanKuva = LoadImage("awesome"); 
    1819    Image tahtiKuva = LoadImage("tahti"); 
    1920 
     
    3839        kentta.SetTileMethod('*', LisaaTahti); 
    3940        kentta.SetTileMethod('N', LisaaPelaaja); 
     41        kentta.SetTileMethod('l', Lisaalapio); 
     42        kentta.SetTileMethod('k', Lisaakenttälapio); 
    4043        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    4144        Level.CreateBorders(); 
     
    6871        pelaaja1.Image = pelaajanKuva; 
    6972        AddCollisionHandler(pelaaja1, "tahti", TormaaTahteen); 
     73        pelaaja1.CanRotate = true; 
    7074        Add(pelaaja1); 
    7175    } 
     
    102106    { 
    103107        maaliAani.Play(); 
    104         MessageDisplay.Add("Kiitos paljon"); 
     108        MessageDisplay.Add("Sussiunakkoon!"); 
    105109        tahti.Destroy(); 
    106110    } 
     111    void Lisaalapio(Vector paikka, double leveys, double korkeus) 
     112    { 
     113        PhysicsObject lapio = new PhysicsObject(leveys, korkeus*2.0); 
     114        lapio.Image = lapionkuva; 
     115        lapio.Position = paikka + new Vector(0, korkeus); 
     116        Add(lapio); 
     117    } 
     118    void Lisaakenttälapio (Vector paikka, double leveys, double korkeus) 
     119    { 
     120        PhysicsObject kenttälapio = new PhysicsObject(leveys, korkeus * 2.0); 
     121        kenttälapio.Image = klkuva; 
     122        kenttälapio.Position = paikka + new Vector(0, korkeus); 
     123        Add(kenttälapio); 
     124    } 
    107125} 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuest/AwesomeGuest.csproj.Debug.cachefile

    r6170 r6195  
    33Content\tahti.xnb 
    44Content\kentta1.xnb 
     5Content\awesome.xnb 
     6Content\kenttÀlapio.xnb 
     7Content\lapio.xnb 
     8Content\pizzeeria halem.xnb 
     9Content\rikkalapio.xnb 
     10Content\fiskars (ei kirves).xnb 
     11Content\telelapio.xnb 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuest/obj/x86/Debug/AwesomeGuest.csproj.FileListAbsolute.txt

    r6170 r6195  
    1111C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\obj\x86\Debug\AwesomeGuest.exe 
    1212C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\obj\x86\Debug\AwesomeGuest.pdb 
     13C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\awesome.xnb 
     14C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\kenttÀlapio.xnb 
     15C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\lapio.xnb 
     16C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\pizzeeria halem.xnb 
     17C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\rikkalapio.xnb 
     18C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\fiskars (ei kirves).xnb 
     19C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\telelapio.xnb 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuest/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r6170 r6195  
    33Content\tahti.xnb 
    44Content\kentta1.xnb 
     5Content\awesome.xnb 
     6Content\kenttÀlapio.xnb 
     7Content\lapio.xnb 
     8Content\pizzeeria halem.xnb 
     9Content\rikkalapio.xnb 
     10Content\fiskars (ei kirves).xnb 
     11Content\telelapio.xnb 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuestContent/AwesomeGuestContent.contentproj

    r6170 r6195  
    6767    </Compile> 
    6868  </ItemGroup> 
     69  <ItemGroup> 
     70    <Compile Include="awesome.png"> 
     71      <Name>awesome</Name> 
     72      <Importer>TextureImporter</Importer> 
     73      <Processor>TextureProcessor</Processor> 
     74    </Compile> 
     75  </ItemGroup> 
     76  <ItemGroup> 
     77    <Compile Include="kenttälapio.png"> 
     78      <Name>kenttälapio</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81    </Compile> 
     82    <Compile Include="lapio.png"> 
     83      <Name>lapio</Name> 
     84      <Importer>TextureImporter</Importer> 
     85      <Processor>TextureProcessor</Processor> 
     86    </Compile> 
     87    <Compile Include="pizzeeria halem.png"> 
     88      <Name>pizzeeria halem</Name> 
     89      <Importer>TextureImporter</Importer> 
     90      <Processor>TextureProcessor</Processor> 
     91    </Compile> 
     92    <Compile Include="rikkalapio.png"> 
     93      <Name>rikkalapio</Name> 
     94      <Importer>TextureImporter</Importer> 
     95      <Processor>TextureProcessor</Processor> 
     96    </Compile> 
     97  </ItemGroup> 
     98  <ItemGroup> 
     99    <Compile Include="fiskars %28ei kirves%29.png"> 
     100      <Name>fiskars %28ei kirves%29</Name> 
     101      <Importer>TextureImporter</Importer> 
     102      <Processor>TextureProcessor</Processor> 
     103    </Compile> 
     104  </ItemGroup> 
     105  <ItemGroup> 
     106    <Compile Include="telelapio.png"> 
     107      <Name>telelapio</Name> 
     108      <Importer>TextureImporter</Importer> 
     109      <Processor>TextureProcessor</Processor> 
     110    </Compile> 
     111  </ItemGroup> 
    69112  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    70113  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuestContent/kentta1.txt

    r6170 r6195  
    1          * 
    2          ## 
    31 
    4        *    * 
    5        ##  ## 
    6  
    7      *        * 
    8      ##  ##  ## 
    9  
    10    *    *  *    *      
    11    ##  ##  ##  ## 
    12  
    13  *    *       *   * 
    14  ##  ##  ##  ##  ## 
    15  
    16         N 
    17 ###################### 
     2.........*............. 
     3.........##............ 
     4.......*....*.......... 
     5.......##..##.......... 
     6....................... 
     7.....*........*........ 
     8.....##..##..##........ 
     9....................... 
     10...*....*..*....*...... 
     11...##..##..##..##...... 
     12....................... 
     13.*....*.......*...*.... 
     14.##..##..##..##..##.... 
     15....................... 
     16........N..............l...f..k...p...r...f...... 
     17################################################# 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuestContent/obj/x86/Debug/ContentPipeline-.xml

    r6170 r6195  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2015-06-23T10:59:12.3187846+03:00</Time> 
     38      <Time>2015-06-23T14:58:41.0772112+03:00</Time> 
     39    </Item> 
     40    <Item> 
     41      <Source>awesome.png</Source> 
     42      <Name>awesome</Name> 
     43      <Importer>TextureImporter</Importer> 
     44      <Processor>TextureProcessor</Processor> 
     45      <Options>None</Options> 
     46      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\awesome.xnb</Output> 
     47      <Time>2015-06-23T13:20:59.9733655+03:00</Time> 
     48    </Item> 
     49    <Item> 
     50      <Source>kenttälapio.png</Source> 
     51      <Name>kenttälapio</Name> 
     52      <Importer>TextureImporter</Importer> 
     53      <Processor>TextureProcessor</Processor> 
     54      <Options>None</Options> 
     55      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\kenttälapio.xnb</Output> 
     56      <Time>2015-06-23T14:21:03.3520117+03:00</Time> 
     57    </Item> 
     58    <Item> 
     59      <Source>lapio.png</Source> 
     60      <Name>lapio</Name> 
     61      <Importer>TextureImporter</Importer> 
     62      <Processor>TextureProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\lapio.xnb</Output> 
     65      <Time>2015-06-23T14:21:03.3540117+03:00</Time> 
     66    </Item> 
     67    <Item> 
     68      <Source>pizzeeria halem.png</Source> 
     69      <Name>pizzeeria halem</Name> 
     70      <Importer>TextureImporter</Importer> 
     71      <Processor>TextureProcessor</Processor> 
     72      <Options>None</Options> 
     73      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\pizzeeria halem.xnb</Output> 
     74      <Time>2015-06-23T14:21:03.3560117+03:00</Time> 
     75    </Item> 
     76    <Item> 
     77      <Source>rikkalapio.png</Source> 
     78      <Name>rikkalapio</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81      <Options>None</Options> 
     82      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\rikkalapio.xnb</Output> 
     83      <Time>2015-06-23T14:21:03.3580117+03:00</Time> 
     84    </Item> 
     85    <Item> 
     86      <Source>fiskars (ei kirves).png</Source> 
     87      <Name>fiskars (ei kirves)</Name> 
     88      <Importer>TextureImporter</Importer> 
     89      <Processor>TextureProcessor</Processor> 
     90      <Options>None</Options> 
     91      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\fiskars (ei kirves).xnb</Output> 
     92      <Time>2015-06-23T14:21:15.2920117+03:00</Time> 
     93    </Item> 
     94    <Item> 
     95      <Source>telelapio.png</Source> 
     96      <Name>telelapio</Name> 
     97      <Importer>TextureImporter</Importer> 
     98      <Processor>TextureProcessor</Processor> 
     99      <Options>None</Options> 
     100      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\telelapio.xnb</Output> 
     101      <Time>2015-06-23T14:21:24.7390117+03:00</Time> 
    39102    </Item> 
    40103    <BuildSuccessful>true</BuildSuccessful> 
Note: See TracChangeset for help on using the changeset viewer.