Changeset 7586


Ignore:
Timestamp:
2016-06-30 11:30:07 (3 years ago)
Author:
hesipone
Message:
 
Location:
2016/26/HennaS/Hyppelypeli/Hyppelypeli
Files:
18 added
12 edited

Legend:

Unmodified
Added
Removed
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/Hyppelypeli/Hyppelypeli.cs

    r7574 r7586  
    1616 
    1717    Image pelaajanKuva = LoadImage("norsu"); 
     18    Image[] pelaajanKuvat = LoadImages("kuva1","kuva2","kuva3","kuva4","kuva5","kuva6","kuva7","kuva8","kuva9"); 
    1819    Image tahtiKuva = LoadImage("tahti"); 
    1920    Image timanttiKuva = LoadImage("SininenTimantti"); 
     
    7778    void LisaaPelaaja(Vector paikka, double leveys, double korkeus) 
    7879    { 
    79         pelaaja1 = new PlatformCharacter(leveys, korkeus); 
     80        pelaaja1 = new PlatformCharacter(leveys * 2.5, korkeus); 
    8081        pelaaja1.Position = paikka; 
    8182        pelaaja1.Mass = 4.0; 
    82         pelaaja1.Image = pelaajanKuva; 
     83        pelaaja1.Image = pelaajanKuvat[0]; 
     84        pelaaja1.AnimWalk = new Animation(pelaajanKuvat); 
    8385        AddCollisionHandler(pelaaja1, "timantti", TormaaTimanttiin); 
    8486        AddCollisionHandler(pelaaja1, "Vaarallinen", TormaaVaaralliseen); 
     
    127129    { 
    128130        maaliAani.Play(); 
    129         MessageDisplay.Add("Keräsit tähden!"); 
     131        MessageDisplay.Add("Keräsit timantin!"); 
    130132        tahti.Destroy(); 
    131133    } 
     
    135137        Begin(); 
    136138    } 
     139 
     140    protected override void Update(Time time) 
     141    { 
     142        pelaaja1.Walk(nopeus); 
     143 
     144        base.Update(time); 
     145    } 
    137146} 
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/Hyppelypeli/Hyppelypeli.csproj.Debug.cachefile

    r7574 r7586  
    44Content\kentta1.xnb 
    55Content\SininenTimantti.xnb 
     6Content\kuva1.xnb 
     7Content\kuva2.xnb 
     8Content\kuva3.xnb 
     9Content\kuva4.xnb 
     10Content\kuva5.xnb 
     11Content\kuva6.xnb 
     12Content\kuva7.xnb 
     13Content\kuva8.xnb 
     14Content\kuva9.xnb 
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/Hyppelypeli/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r7574 r7586  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2016-06-29T14:37:23.2026877+03:00</Time> 
     38      <Time>2016-06-30T10:59:12.6553416+03:00</Time> 
    3939    </Item> 
    4040    <Item> 
     
    4646      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\SininenTimantti.xnb</Output> 
    4747      <Time>2016-06-29T14:31:32.2996155+03:00</Time> 
     48    </Item> 
     49    <Item> 
     50      <Source>kuva1.png</Source> 
     51      <Name>kuva1</Name> 
     52      <Importer>TextureImporter</Importer> 
     53      <Processor>TextureProcessor</Processor> 
     54      <Options>None</Options> 
     55      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva1.xnb</Output> 
     56      <Time>2016-06-30T11:19:59.274677+03:00</Time> 
     57    </Item> 
     58    <Item> 
     59      <Source>kuva2.png</Source> 
     60      <Name>kuva2</Name> 
     61      <Importer>TextureImporter</Importer> 
     62      <Processor>TextureProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva2.xnb</Output> 
     65      <Time>2016-06-30T11:20:14.8893332+03:00</Time> 
     66    </Item> 
     67    <Item> 
     68      <Source>kuva3.png</Source> 
     69      <Name>kuva3</Name> 
     70      <Importer>TextureImporter</Importer> 
     71      <Processor>TextureProcessor</Processor> 
     72      <Options>None</Options> 
     73      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva3.xnb</Output> 
     74      <Time>2016-06-30T11:20:30.2916616+03:00</Time> 
     75    </Item> 
     76    <Item> 
     77      <Source>kuva4.png</Source> 
     78      <Name>kuva4</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81      <Options>None</Options> 
     82      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva4.xnb</Output> 
     83      <Time>2016-06-30T11:20:44.7253238+03:00</Time> 
     84    </Item> 
     85    <Item> 
     86      <Source>kuva5.png</Source> 
     87      <Name>kuva5</Name> 
     88      <Importer>TextureImporter</Importer> 
     89      <Processor>TextureProcessor</Processor> 
     90      <Options>None</Options> 
     91      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva5.xnb</Output> 
     92      <Time>2016-06-30T11:20:59.9303697+03:00</Time> 
     93    </Item> 
     94    <Item> 
     95      <Source>kuva6.png</Source> 
     96      <Name>kuva6</Name> 
     97      <Importer>TextureImporter</Importer> 
     98      <Processor>TextureProcessor</Processor> 
     99      <Options>None</Options> 
     100      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva6.xnb</Output> 
     101      <Time>2016-06-30T11:21:12.7556813+03:00</Time> 
     102    </Item> 
     103    <Item> 
     104      <Source>kuva7.png</Source> 
     105      <Name>kuva7</Name> 
     106      <Importer>TextureImporter</Importer> 
     107      <Processor>TextureProcessor</Processor> 
     108      <Options>None</Options> 
     109      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva7.xnb</Output> 
     110      <Time>2016-06-30T11:21:32.1562343+03:00</Time> 
     111    </Item> 
     112    <Item> 
     113      <Source>kuva8.png</Source> 
     114      <Name>kuva8</Name> 
     115      <Importer>TextureImporter</Importer> 
     116      <Processor>TextureProcessor</Processor> 
     117      <Options>None</Options> 
     118      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva8.xnb</Output> 
     119      <Time>2016-06-30T11:21:51.2431793+03:00</Time> 
     120    </Item> 
     121    <Item> 
     122      <Source>kuva9.png</Source> 
     123      <Name>kuva9</Name> 
     124      <Importer>TextureImporter</Importer> 
     125      <Processor>TextureProcessor</Processor> 
     126      <Options>None</Options> 
     127      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva9.xnb</Output> 
     128      <Time>2016-06-30T11:22:17.0182456+03:00</Time> 
    48129    </Item> 
    49130    <BuildSuccessful>true</BuildSuccessful> 
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/Hyppelypeli/obj/x86/Debug/Hyppelypeli.csproj.FileListAbsolute.txt

    r7574 r7586  
    1212C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\obj\x86\Debug\Hyppelypeli.pdb 
    1313C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\SininenTimantti.xnb 
     14C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva1.xnb 
     15C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva2.xnb 
     16C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva3.xnb 
     17C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva4.xnb 
     18C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva5.xnb 
     19C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva6.xnb 
     20C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva7.xnb 
     21C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva8.xnb 
     22C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kuva9.xnb 
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/Hyppelypeli/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r7574 r7586  
    44Content\kentta1.xnb 
    55Content\SininenTimantti.xnb 
     6Content\kuva1.xnb 
     7Content\kuva2.xnb 
     8Content\kuva3.xnb 
     9Content\kuva4.xnb 
     10Content\kuva5.xnb 
     11Content\kuva6.xnb 
     12Content\kuva7.xnb 
     13Content\kuva8.xnb 
     14Content\kuva9.xnb 
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/HyppelypeliContent/HyppelypeliContent.contentproj

    r7574 r7586  
    7474    </Compile> 
    7575  </ItemGroup> 
     76  <ItemGroup> 
     77    <Compile Include="kuva1.png"> 
     78      <Name>kuva1</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81    </Compile> 
     82    <Compile Include="kuva2.png"> 
     83      <Name>kuva2</Name> 
     84      <Importer>TextureImporter</Importer> 
     85      <Processor>TextureProcessor</Processor> 
     86    </Compile> 
     87    <Compile Include="kuva3.png"> 
     88      <Name>kuva3</Name> 
     89      <Importer>TextureImporter</Importer> 
     90      <Processor>TextureProcessor</Processor> 
     91    </Compile> 
     92    <Compile Include="kuva4.png"> 
     93      <Name>kuva4</Name> 
     94      <Importer>TextureImporter</Importer> 
     95      <Processor>TextureProcessor</Processor> 
     96    </Compile> 
     97    <Compile Include="kuva5.png"> 
     98      <Name>kuva5</Name> 
     99      <Importer>TextureImporter</Importer> 
     100      <Processor>TextureProcessor</Processor> 
     101    </Compile> 
     102    <Compile Include="kuva6.png"> 
     103      <Name>kuva6</Name> 
     104      <Importer>TextureImporter</Importer> 
     105      <Processor>TextureProcessor</Processor> 
     106    </Compile> 
     107    <Compile Include="kuva7.png"> 
     108      <Name>kuva7</Name> 
     109      <Importer>TextureImporter</Importer> 
     110      <Processor>TextureProcessor</Processor> 
     111    </Compile> 
     112    <Compile Include="kuva8.png"> 
     113      <Name>kuva8</Name> 
     114      <Importer>TextureImporter</Importer> 
     115      <Processor>TextureProcessor</Processor> 
     116    </Compile> 
     117    <Compile Include="kuva9.png"> 
     118      <Name>kuva9</Name> 
     119      <Importer>TextureImporter</Importer> 
     120      <Processor>TextureProcessor</Processor> 
     121    </Compile> 
     122  </ItemGroup> 
    76123  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    77124  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/HyppelypeliContent/kentta1.txt

    r7574 r7586  
    1 ..................................................................................................................................................................................................... 
    2 ..................................................................................................................................................................................................... 
    3 ..................................................................................................................................................................................................... 
    4 ..................................................................................................................................................................................................... 
    5 ..................................................................................................................................................................................................... 
    6 ................................................................................................................@..................................................................................... 
    7 ..............................................................................................................####....................................................................................... 
    8 ..................................................................................................................................................................................................... 
    9 ..........................................................................................................##........................................................................................... 
    10 .........................................................................................................####............................................................................................ 
    11 .............................................................................###........................######............................................................................................ 
    12 ...........@....###..........###.........................@.........................###.................########.............................................................................................. 
    13 ...N.....###...........###..........###................#####..........###.................###.....@................................................................................................... 
    14 ######......................................###.................................................######................................................................................................. 
    15 ..................................................###...........###.............................######................................................................................................ 
    16 ................................................................................................######............................................................................................... 
    17 VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV 
     1.......................................................................................................................................................................................................................................................................... 
     2.......................................................................................................................................................................................................................................................................... 
     3.......................................................................................................................................................................................................................................................................... 
     4............................................................................................................................................................................................................................................................................. 
     5....................................................................................................................................................###....###....@............................................................................................................. 
     6...................................................................................................................@..........................###................###.@@........................................................................................................ 
     7.................................................................................................................####..........####.....@.........................#####..@@@@........................................................................................................ 
     8.........................................................................................................................###............###............................########...................................................................................................... 
     9...................................................................................###.....................######............................................................................................................................................................ 
     10..........................................................................................................#######............................................................................................................................................................ 
     11..............@....###..........###.....@....................@............@...###..........###..........##########........................................................................................................................................................... 
     12.N..........###...........###..........###................#####...................................###........................................................................................................................................................................ 
     13#########......................................###.......................###.......................######.................................................................................................................................................................... 
     14.....................................................###...........###.............................######.................................................................................................................................................................... 
     15...................................................................................................######.................................................................................................................................................................... 
     16VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV 
Note: See TracChangeset for help on using the changeset viewer.