Ignore:
Timestamp:
2017-06-14 12:54:23 (2 years ago)
Author:
npo17_23
Message:

Reunat 3/4
1 platti (ja klitsi löyty :O)

Location:
2017/24/LeeviE/Peli/Jump/Jump
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/LeeviE/Peli/Jump/Jump/Jump/Jump.cs

    r8638 r8652  
    1010{ 
    1111    Image pelaajankuva = LoadImage("Tyyppi peliin cropattu"); 
     12    Image platformi = LoadImage("Plat"); 
    1213     double nopeusOikea = 200.0; 
    1314    double nopeusVasen = -200.0; 
     
    6162    void LuoKentta() 
    6263    { 
    63  
     64        PhysicsObject plat1 = new PhysicsObject(100.0, 20.0); 
     65        Add(plat1); 
     66        plat1.Image = platformi; 
    6467 
    6568 
     
    8689    void Luolaatta(double x, double y) 
    8790    { 
    88         PhysicsObject laatta1 = new PhysicsObject(200.0, 10.0); 
     91        PhysicsObject laatta1 = new PhysicsObject(1000.0, 10.0); 
    8992        laatta1.MakeStatic(); 
    9093        laatta1.Y = y; 
    9194        laatta1.X = x; 
    9295        Add(laatta1); 
     96        laatta1.Color = Color.Gray; 
     97 
     98        PhysicsObject laatta2 = new PhysicsObject(10.0, 1000.0); 
     99        laatta2.MakeStatic(); 
     100        Add(laatta2); 
     101        laatta2.X = 500; 
     102        laatta2.Y = 400; 
     103        laatta2.Color = Color.Gray; 
     104 
     105        PhysicsObject laatta3 = new PhysicsObject(10.0, 1000.0); 
     106        laatta3.MakeStatic(); 
     107        Add(laatta3); 
     108        laatta3.X = -500; 
     109        laatta3.Y = 400; 
     110        laatta3.Color = Color.Gray; 
    93111    } 
    94112 
  • 2017/24/LeeviE/Peli/Jump/Jump/Jump/Jump.csproj.Debug.cachefile

    r8627 r8652  
    11Content\pwr.xnb 
    22Content\Tyyppi peliin cropattu.xnb 
     3Content\Plat.xnb 
  • 2017/24/LeeviE/Peli/Jump/Jump/Jump/obj/x86/Debug/ContentPipeline-{2750B644-1BA7-4D9C-B766-2A8DD7E77FC1}.xml

    r8627 r8652  
    1919      <Output>C:\MyTemp\LeeviE\Peli\Jump\Jump\Jump\bin\x86\Debug\Content\Tyyppi peliin cropattu.xnb</Output> 
    2020      <Time>2017-06-14T09:56:26.4054429+03:00</Time> 
     21    </Item> 
     22    <Item> 
     23      <Source>Plat.png</Source> 
     24      <Name>Plat</Name> 
     25      <Importer>TextureImporter</Importer> 
     26      <Processor>TextureProcessor</Processor> 
     27      <Options>None</Options> 
     28      <Output>C:\MyTemp\LeeviE\Peli\Jump\Jump\Jump\bin\x86\Debug\Content\Plat.xnb</Output> 
     29      <Time>2017-06-14T12:47:07.0101534+03:00</Time> 
    2130    </Item> 
    2231    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/24/LeeviE/Peli/Jump/Jump/Jump/obj/x86/Debug/Jump.csproj.FileListAbsolute.txt

    r8627 r8652  
    99C:\MyTemp\LeeviE\Peli\Jump\Jump\Jump\obj\x86\Debug\Jump.pdb 
    1010C:\MyTemp\LeeviE\Peli\Jump\Jump\Jump\bin\x86\Debug\Content\Tyyppi peliin cropattu.xnb 
     11C:\MyTemp\LeeviE\Peli\Jump\Jump\Jump\bin\x86\Debug\Content\Plat.xnb 
  • 2017/24/LeeviE/Peli/Jump/Jump/Jump/obj/x86/Debug/cachefile-{2750B644-1BA7-4D9C-B766-2A8DD7E77FC1}-targetpath.txt

    r8627 r8652  
    11Content\pwr.xnb 
    22Content\Tyyppi peliin cropattu.xnb 
     3Content\Plat.xnb 
  • 2017/24/LeeviE/Peli/Jump/Jump/JumpContent/JumpContent.contentproj

    r8627 r8652  
    5959    </Compile> 
    6060  </ItemGroup> 
     61  <ItemGroup> 
     62    <Compile Include="Plat.png"> 
     63      <Name>Plat</Name> 
     64      <Importer>TextureImporter</Importer> 
     65      <Processor>TextureProcessor</Processor> 
     66    </Compile> 
     67  </ItemGroup> 
    6168  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    6269  <!--  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.