Changeset 5237 for 2014/27


Ignore:
Timestamp:
2014-07-01 14:51:42 (5 years ago)
Author:
jeniemel
Message:
 
Location:
2014/27/JesseN
Files:
76 added
15 edited

Legend:

Unmodified
Added
Removed
  • 2014/27/JesseN/ElderShells/ElderShells/ElderShells/ElderShells.cs

    r5187 r5237  
    1818    Image tiilikuva = LoadImage("tiili1"); 
    1919    Image vihukuva1 = LoadImage("vihu1"); 
     20    Image vihukuollut = LoadImage("vihikuollut"); 
    2021 
    2122    public override void Begin() 
     
    5556    void LisaaVihu(Vector paikka, double leveys, double korkeus) 
    5657    { 
    57      
    58      
     58 
     59        PlatformCharacter vihu = new PlatformCharacter(leveys, korkeus); 
     60        vihu.Position = paikka; 
     61        Add(vihu); 
     62        vihu.Image = vihukuva1; 
     63        vihu.Tag = "vihu"; 
     64 
     65 
    5966 
    6067    } 
     
    6774        pelaaja1.Image = pelaajanKuva; 
    6875        Add(pelaaja1); 
     76        AddCollisionHandler(pelaaja1,"vihu",Törmääviholliseen); 
     77         
    6978    } 
    7079 
     
    96105        hahmo.Jump(nopeus); 
    97106    } 
     107    void Törmääviholliseen(PhysicsObject pelaaja, PhysicsObject vihu) 
     108    { 
     109        vihu.Image = vihukuollut; 
     110     
     111     
     112    } 
    98113 
    99114    
  • 2014/27/JesseN/ElderShells/ElderShells/ElderShells/ElderShells.csproj.Debug.cachefile

    r5187 r5237  
    33Content\kentta.xnb 
    44Content\tiili1.xnb 
     5Content\vihikuollut.xnb 
     6Content\vihu1.xnb 
  • 2014/27/JesseN/ElderShells/ElderShells/ElderShells/obj/x86/Debug/ContentPipeline-{FBD61CB6-E999-447D-B7B6-45934C1E428A}.xml

    r5187 r5237  
    99      <Options>None</Options> 
    1010      <Output>C:\MyTemp\JesseN\ElderShells\ElderShells\ElderShells\bin\x86\Debug\Content\etana1.xnb</Output> 
    11       <Time>2014-06-30T14:38:22.726737+03:00</Time> 
     11      <Time>2014-07-01T10:59:44.5018546+03:00</Time> 
    1212    </Item> 
    1313    <Item> 
     
    1818      <Options>None</Options> 
    1919      <Output>C:\MyTemp\JesseN\ElderShells\ElderShells\ElderShells\bin\x86\Debug\Content\etana2.xnb</Output> 
    20       <Time>2014-06-30T14:38:31.037737+03:00</Time> 
     20      <Time>2014-07-01T10:59:44.5018546+03:00</Time> 
    2121    </Item> 
    2222    <Item> 
  • 2014/27/JesseN/ElderShells/ElderShells/ElderShells/obj/x86/Debug/ElderShells.csproj.FileListAbsolute.txt

    r5187 r5237  
    1010C:\MyTemp\JesseN\ElderShells\ElderShells\ElderShells\bin\x86\Debug\Content\kentta.xnb 
    1111C:\MyTemp\JesseN\ElderShells\ElderShells\ElderShells\bin\x86\Debug\Content\tiili1.xnb 
     12C:\MyTemp\JesseN\ElderShells\ElderShells\ElderShells\bin\x86\Debug\Content\vihikuollut.xnb 
     13C:\MyTemp\JesseN\ElderShells\ElderShells\ElderShells\bin\x86\Debug\Content\vihu1.xnb 
     14C:\MyTemp\JesseN\ElderShells\ElderShells\ElderShells\obj\x86\Debug\ElderShells.csprojResolveAssemblyReference.cache 
  • 2014/27/JesseN/ElderShells/ElderShells/ElderShellsContent/ElderShellsContent.contentproj

    r5187 r5237  
    5858  </ItemGroup> 
    5959  <ItemGroup> 
    60     <Compile Include="etana1.png"> 
    61       <Name>etana1</Name> 
    62       <Importer>TextureImporter</Importer> 
    63       <Processor>TextureProcessor</Processor> 
    64     </Compile> 
    65   </ItemGroup> 
    66   <ItemGroup> 
    67     <Compile Include="etana2.png"> 
    68       <Name>etana2</Name> 
    69       <Importer>TextureImporter</Importer> 
    70       <Processor>TextureProcessor</Processor> 
    71     </Compile> 
    72   </ItemGroup> 
    73   <ItemGroup> 
    7460    <Compile Include="vihikuollut.png"> 
    7561      <Name>vihikuollut</Name> 
     
    7965    <Compile Include="vihu1.png"> 
    8066      <Name>vihu1</Name> 
     67      <Importer>TextureImporter</Importer> 
     68      <Processor>TextureProcessor</Processor> 
     69    </Compile> 
     70  </ItemGroup> 
     71  <ItemGroup> 
     72    <Compile Include="etana1.png"> 
     73      <Name>etana1</Name> 
     74      <Importer>TextureImporter</Importer> 
     75      <Processor>TextureProcessor</Processor> 
     76    </Compile> 
     77    <Compile Include="etana2.png"> 
     78      <Name>etana2</Name> 
    8179      <Importer>TextureImporter</Importer> 
    8280      <Processor>TextureProcessor</Processor> 
Note: See TracChangeset for help on using the changeset viewer.