Changeset 6722 for 2015/27


Ignore:
Timestamp:
2015-07-02 09:49:45 (8 years ago)
Author:
misakana
Message:
 
Location:
2015/27/IlmoP/Tasohyppelypeli1/Tasohyppelypeli1
Files:
3 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/IlmoP/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1.cs

    r6640 r6722  
    3838        kentta.SetTileMethod('*', LisaaTahti); 
    3939        kentta.SetTileMethod('N', LisaaPelaaja); 
     40        kentta.SetTileMethod('%', LisaaVihollinen); 
    4041        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    4142        Level.CreateBorders(); 
     
    105106        tahti.Destroy(); 
    106107    } 
     108 
     109   void LisaaVihollinen; 
     110   { 
     111    PhysicsObject orkki = new PhysicsObject( 40, 20 ); 
     112    orkki.Shape = Shape.Rectangle; 
     113    orkki.mass = 10.0 
     114    Add ( orkki ); 
    107115} 
     116} 
     117 
  • 2015/27/IlmoP/Tasohyppelypeli1/Tasohyppelypeli1/Tasohyppelypeli1Content/Tasohyppelypeli1Content.contentproj

    r6640 r6722  
    5151      <Processor>SoundEffectProcessor</Processor> 
    5252    </Compile> 
    53     <Compile Include="tahti.png"> 
    54       <Name>tahti</Name> 
     53    <Compile Include="patteri.png"> 
     54      <Name>patteri</Name> 
    5555      <Importer>TextureImporter</Importer> 
    5656      <Processor>TextureProcessor</Processor> 
     
    6363  </ItemGroup> 
    6464  <ItemGroup> 
    65     <Compile Include="Untitled.png"> 
    66       <Name>Untitled</Name> 
     65    <Compile Include="pelaaja.png"> 
     66      <Name>pelaaja</Name> 
     67      <Importer>TextureImporter</Importer> 
     68      <Processor>TextureProcessor</Processor> 
     69    </Compile> 
     70  </ItemGroup> 
     71  <ItemGroup> 
     72    <Compile Include="Orkki.png"> 
     73      <Name>Orkki</Name> 
    6774      <Importer>TextureImporter</Importer> 
    6875      <Processor>TextureProcessor</Processor> 
Note: See TracChangeset for help on using the changeset viewer.