Changeset 2197 for 2011


Ignore:
Timestamp:
2011-06-28 10:55:02 (8 years ago)
Author:
teeevasa
Message:

Talletus.

Location:
2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/GenericCharacter.cs

    r2190 r2197  
    88public class GenericCharacter : PlatformCharacter 
    99{ 
    10         public Class1() 
     10    private int hitPoints; 
     11 
     12        public GenericCharacter(double width, double height, Shape shape) 
     13        : base(width, height, shape) 
    1114        { 
     15 
    1216        } 
     17 
    1318} 
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/Peli.cs

    r2187 r2197  
    99public class Peli : PhysicsGame 
    1010{ 
    11     const double nopeus = 200; 
     11    /*const double nopeus = 200; 
    1212    const double hyppyNopeus = 1000; 
    1313    const int RUUDUN_KOKO = 40; 
     
    1818    Image tahtiKuva = LoadImage("tahti"); 
    1919 
    20     SoundEffect maaliAani = LoadSoundEffect("maali"); 
     20    SoundEffect maaliAani = LoadSoundEffect("maali");*/ 
    2121 
    2222    public override void Begin() 
     
    2424        Gravity = new Vector(0, -1000); 
    2525 
    26         luoKentta(); 
    27         lisaaNappaimet(); 
     26        //luoKentta(); 
     27        //lisaaNappaimet(); 
    2828 
    29         Camera.Follow(pelaaja1); 
    30         Camera.ZoomFactor = 1.2; 
    31         Camera.StayInLevel = true; 
     29        //Camera.Follow(pelaaja1); 
     30        //Camera.ZoomFactor = 1.2; 
     31        //Camera.StayInLevel = true; 
    3232    } 
    3333 
    34     void luoKentta() 
     34    /*void luoKentta() 
    3535    { 
    3636        TileMap kentta = TileMap.FromFile("kentta1.txt"); 
     
    101101            kohde.Destroy(); 
    102102        } 
    103     } 
     103    }*/ 
    104104} 
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372.csproj

    r2187 r2197  
    111111  </ItemGroup> 
    112112  <ItemGroup> 
     113    <Compile Include="Character.cs" /> 
     114    <Compile Include="Class1.cs" /> 
     115    <Compile Include="GenericCharacter.cs" /> 
    113116    <Compile Include="Ohjelma.cs" /> 
    114117    <Compile Include="Peli.cs" /> 
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372Content/Rogue Agent 2372Content.contentproj

    r2187 r2197  
    5959    </Compile> 
    6060  </ItemGroup> 
     61  <ItemGroup> 
     62    <Compile Include="reactorBG.jpg"> 
     63      <Name>reactorBG</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.