Changeset 8600


Ignore:
Timestamp:
2017-06-13 14:55:51 (6 years ago)
Author:
npo17_12
Message:

Tein animaation 2 osaa ja lisäsin ne Limapelicontenttiin.

Location:
2017/24/GregoryK
Files:
5 added
1 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/GregoryK/LimaPeli/LimaPeli/LimaPeli/LimaPeli.cs

    r8574 r8600  
    1010{ 
    1111    const double nopeus = 200; 
    12     const double hyppyNopeus = 750; 
     12    const double hyppyNopeus = 550; 
    1313    const int RUUDUN_KOKO = 40; 
    1414 
    1515    PlatformCharacter pelaaja1; 
    1616 
    17     Image pelaajanKuva = LoadImage("lima"); 
     17    Image pelaajanKuva = LoadImage("lima2"); 
    1818    Image tahtiKuva = LoadImage("dorito"); 
    1919 
     
    2121    public override void Begin() 
    2222    { 
    23         Gravity = new Vector(0, -1000); 
     23        Gravity = new Vector(0, -500); 
    2424 
    2525        LuoKentta(); 
     
    4040        Level.CreateBorders(); 
    4141        //Level.Background.CreateGradient(Color.White, Color.SkyBlue); 
    42         Level.Background.Color = Color.Green; 
     42        Level.Background.Color = Color.Gray; 
    4343         
    4444    } 
     
    8787        ControllerOne.Listen(Button.A, ButtonState.Pressed, Hyppaa, "Pelaaja hyppää", pelaaja1, hyppyNopeus); 
    8888 
    89         PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 
     89         
    9090    } 
    9191 
     
    103103    { 
    104104        
    105         MessageDisplay.Add("Keräsit Doritoksen!"); 
     105        MessageDisplay.Add("Nam! Doritos!"); 
    106106        tahti.Destroy(); 
    107107    } 
  • 2017/24/GregoryK/LimaPeli/LimaPeli/LimaPeli/LimaPeli.csproj.Debug.cachefile

    r8574 r8600  
    44Content\dorito.xnb 
    55Content\slime background.xnb 
     6Content\lima2.xnb 
  • 2017/24/GregoryK/LimaPeli/LimaPeli/LimaPeli/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r8574 r8600  
    4646      <Output>C:\MyTemp\GregoryK\LimaPeli\LimaPeli\LimaPeli\bin\x86\Debug\Content\slime background.xnb</Output> 
    4747      <Time>2017-06-13T11:22:38.6126918+03:00</Time> 
     48    </Item> 
     49    <Item> 
     50      <Source>lima2.png</Source> 
     51      <Name>lima2</Name> 
     52      <Importer>TextureImporter</Importer> 
     53      <Processor>TextureProcessor</Processor> 
     54      <Options>None</Options> 
     55      <Output>C:\MyTemp\GregoryK\LimaPeli\LimaPeli\LimaPeli\bin\x86\Debug\Content\lima2.xnb</Output> 
     56      <Time>2017-06-13T12:45:11.0549912+03:00</Time> 
    4857    </Item> 
    4958    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/24/GregoryK/LimaPeli/LimaPeli/LimaPeli/obj/x86/Debug/LimaPeli.csproj.FileListAbsolute.txt

    r8574 r8600  
    1212C:\MyTemp\GregoryK\LimaPeli\LimaPeli\LimaPeli\bin\x86\Debug\Content\dorito.xnb 
    1313C:\MyTemp\GregoryK\LimaPeli\LimaPeli\LimaPeli\bin\x86\Debug\Content\slime background.xnb 
     14C:\MyTemp\GregoryK\LimaPeli\LimaPeli\LimaPeli\bin\x86\Debug\Content\lima2.xnb 
  • 2017/24/GregoryK/LimaPeli/LimaPeli/LimaPeli/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r8574 r8600  
    44Content\dorito.xnb 
    55Content\slime background.xnb 
     6Content\lima2.xnb 
  • 2017/24/GregoryK/LimaPeli/LimaPeli/LimaPeliContent/LimaPeliContent.contentproj

    r8574 r8600  
    7878    </Compile> 
    7979  </ItemGroup> 
     80  <ItemGroup> 
     81    <Compile Include="lima2.png"> 
     82      <Name>lima2</Name> 
     83      <Importer>TextureImporter</Importer> 
     84      <Processor>TextureProcessor</Processor> 
     85    </Compile> 
     86  </ItemGroup> 
    8087  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    8188  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
Note: See TracChangeset for help on using the changeset viewer.