Changeset 8899 for 2017/27/KasmirK


Ignore:
Timestamp:
2017-07-04 15:00:46 (6 years ago)
Author:
npo17_51
Message:

Tein uuden spriten jne.

Location:
2017/27/KasmirK
Files:
28 added
20 edited

Legend:

Unmodified
Added
Removed
  • 2017/27/KasmirK/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2.cs

    r8850 r8899  
    99public class Tasohyppelypeli2 : PhysicsGame 
    1010{ 
     11     
    1112 
    12     const double nopeus = 2000; 
    13     const double hyppyNopeus = 645; 
    14     const int RUUDUN_KOKO = 34; 
     13    const double nopeus = 300; 
     14    const double hyppyNopeus = 100; 
     15    const int RUUDUN_KOKO = 60; 
    1516 
    1617    PlatformCharacter pelaaja1; 
    1718 
    18     Image pelaajanKuva = LoadImage("norsu"); 
     19    Image pelaajanKuva = LoadImage("the actual thing lol"); 
    1920    Image tahtiKuva = LoadImage("tahti"); 
    2021 
     
    2425    { 
    2526 
     27 
     28         
    2629        LuoKentta(); 
    2730        LisaaNappaimet(); 
     
    2932         
    3033        Camera.ZoomFactor = 1.2; 
    31         Camera.StayInLevel = false; 
     34        Camera.StayInLevel = true; 
    3235    } 
    3336 
     
    3942        kentta.SetTileMethod('N', LisaaPelaaja); 
    4043        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    41         Level.CreateBorders(); 
    42         Level.Background.CreateGradient(Color.DarkRed, Color.Crimson); 
     44        
     45        Level.Background.CreateGradient(Color.White, Color.SkyBlue); 
    4346    } 
    4447 
     
    4750        PhysicsObject taso = PhysicsObject.CreateStaticObject(leveys, korkeus); 
    4851        taso.Position = paikka; 
    49         taso.Color = Color.Black; 
     52        taso.Color = Color.ForestGreen; 
    5053        Add(taso); 
    5154    } 
     
    6568        pelaaja1 = new PlatformCharacter(leveys, korkeus); 
    6669        pelaaja1.Position = paikka; 
    67         pelaaja1.Mass = 4.0; 
     70        pelaaja1.Mass = 9000; 
    6871        pelaaja1.Image = pelaajanKuva; 
    6972        AddCollisionHandler(pelaaja1, "tahti", TormaaTahteen); 
     
    99102    } 
    100103 
     104 
    101105    void TormaaTahteen(PhysicsObject hahmo, PhysicsObject tahti) 
    102106    { 
    103107        maaliAani.Play(); 
    104         MessageDisplay.Add("You contributed to communism! Congratulations!"); 
     108        MessageDisplay.Add("N-Nani??~"); 
    105109        tahti.Destroy(); 
    106110    } 
  • 2017/27/KasmirK/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2.csproj.Debug.cachefile

    r8850 r8899  
    33Content\tahti.xnb 
    44Content\kentta1.xnb 
     5Content\noneofyourbusiness.xnb 
     6Content\Lemon Guy.xnb 
     7Content\mc1.xnb 
     8Content\the actual thing lol.xnb 
  • 2017/27/KasmirK/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r8850 r8899  
    1818      <Options>None</Options> 
    1919      <Output>C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\norsu.xnb</Output> 
    20       <Time>2017-07-03T11:35:49.8121028+03:00</Time> 
     20      <Time>2017-07-04T09:46:13.36812+03:00</Time> 
    2121    </Item> 
    2222    <Item> 
     
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2017-07-03T13:28:49.4882038+03:00</Time> 
     38      <Time>2017-07-04T13:29:24.1317304+03:00</Time> 
     39    </Item> 
     40    <Item> 
     41      <Source>noneofyourbusiness.png</Source> 
     42      <Name>noneofyourbusiness</Name> 
     43      <Importer>TextureImporter</Importer> 
     44      <Processor>TextureProcessor</Processor> 
     45      <Options>None</Options> 
     46      <Output>C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\noneofyourbusiness.xnb</Output> 
     47      <Time>2017-07-04T09:52:50.5746395+03:00</Time> 
     48    </Item> 
     49    <Item> 
     50      <Source>Lemon Guy.png</Source> 
     51      <Name>Lemon Guy</Name> 
     52      <Importer>TextureImporter</Importer> 
     53      <Processor>TextureProcessor</Processor> 
     54      <Options>None</Options> 
     55      <Output>C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\Lemon Guy.xnb</Output> 
     56      <Time>2017-07-04T10:18:47.3023894+03:00</Time> 
     57    </Item> 
     58    <Item> 
     59      <Source>mc1.png</Source> 
     60      <Name>mc1</Name> 
     61      <Importer>TextureImporter</Importer> 
     62      <Processor>TextureProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\mc1.xnb</Output> 
     65      <Time>2017-07-04T13:09:40.4092021+03:00</Time> 
     66    </Item> 
     67    <Item> 
     68      <Source>the actual thing lol.png</Source> 
     69      <Name>the actual thing lol</Name> 
     70      <Importer>TextureImporter</Importer> 
     71      <Processor>TextureProcessor</Processor> 
     72      <Options>None</Options> 
     73      <Output>C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\the actual thing lol.xnb</Output> 
     74      <Time>2017-07-04T13:15:59.8090258+03:00</Time> 
    3975    </Item> 
    4076    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/27/KasmirK/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2/obj/x86/Debug/Tasohyppelypeli2.csproj.FileListAbsolute.txt

    r8850 r8899  
    1111C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\obj\x86\Debug\Tasohyppelypeli2.pdb 
    1212C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\obj\x86\Debug\Tasohyppelypeli2.csprojResolveAssemblyReference.cache 
     13C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\noneofyourbusiness.xnb 
     14C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\Lemon Guy.xnb 
     15C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\mc1.xnb 
     16C:\MyTemp\KasmirK\Tasohyppelypeli2\Tasohyppelypeli2\Tasohyppelypeli2\bin\x86\Debug\Content\the actual thing lol.xnb 
  • 2017/27/KasmirK/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r8850 r8899  
    33Content\tahti.xnb 
    44Content\kentta1.xnb 
     5Content\noneofyourbusiness.xnb 
     6Content\Lemon Guy.xnb 
     7Content\mc1.xnb 
     8Content\the actual thing lol.xnb 
  • 2017/27/KasmirK/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2Content/Tasohyppelypeli2Content.contentproj

    r8850 r8899  
    6767    </Compile> 
    6868  </ItemGroup> 
     69  <ItemGroup> 
     70    <Compile Include="noneofyourbusiness.png"> 
     71      <Name>noneofyourbusiness</Name> 
     72      <Importer>TextureImporter</Importer> 
     73      <Processor>TextureProcessor</Processor> 
     74    </Compile> 
     75  </ItemGroup> 
     76  <ItemGroup> 
     77    <Compile Include="Lemon Guy.png"> 
     78      <Name>Lemon Guy</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81    </Compile> 
     82  </ItemGroup> 
     83  <ItemGroup> 
     84    <Compile Include="mc1.png"> 
     85      <Name>mc1</Name> 
     86      <Importer>TextureImporter</Importer> 
     87      <Processor>TextureProcessor</Processor> 
     88    </Compile> 
     89  </ItemGroup> 
     90  <ItemGroup> 
     91    <Compile Include="the actual thing lol.png"> 
     92      <Name>the actual thing lol</Name> 
     93      <Importer>TextureImporter</Importer> 
     94      <Processor>TextureProcessor</Processor> 
     95    </Compile> 
     96  </ItemGroup> 
     97  <ItemGroup> 
     98    <Compile Include="moving1.png"> 
     99      <Name>moving1</Name> 
     100      <Importer>TextureImporter</Importer> 
     101      <Processor>TextureProcessor</Processor> 
     102    </Compile> 
     103  </ItemGroup> 
     104  <ItemGroup> 
     105    <Compile Include="moving2.png"> 
     106      <Name>moving2</Name> 
     107      <Importer>TextureImporter</Importer> 
     108      <Processor>TextureProcessor</Processor> 
     109    </Compile> 
     110  </ItemGroup> 
     111  <ItemGroup> 
     112    <Compile Include="ukkelin.anim"> 
     113      <Name>ukkelin</Name> 
     114      <Importer>AnimationImporter</Importer> 
     115      <Processor>AnimationContentProcessor</Processor> 
     116    </Compile> 
     117  </ItemGroup> 
    69118  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    70119  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2017/27/KasmirK/Tasohyppelypeli2/Tasohyppelypeli2/Tasohyppelypeli2Content/kentta1.txt

    r8850 r8899  
    1  
    2  
    3  
    4 ######################## 
    5  
    6           *** 
    7         N                                                
    8 ########       ######### 
    91 
    102 
     
    124 
    135 
     6             
     7 
     8           *** 
     9          N 
    1410######################## 
Note: See TracChangeset for help on using the changeset viewer.