Changeset 6923


Ignore:
Timestamp:
2015-07-22 14:09:55 (8 years ago)
Author:
arjuhoyl
Message:
 
Location:
2015/30/ArttuH
Files:
5 added
1 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • 2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/TasoHyppely.cs

    r6922 r6923  
    2626    Image tahtiKuva = LoadImage("suklaa"); 
    2727    Image luoti = LoadImage("luoti"); 
     28    Image piikkikuva = LoadImage("piikki"); 
    2829    private Animation pelihahmo1; 
    2930    private Animation pelihahmo2; 
     
    3233    public override void Begin() 
    3334    { 
    34         Gravity = new Vector(0, -1500); 
    3535        Paavalikko(); 
    3636    } 
     
    3838    void LuoKentta(int pelaajienMaara) 
    3939    { 
    40         TileMap kentta = TileMap.FromLevelAsset("kentta2"); 
     40        Gravity = new Vector(0, -1000); 
     41        TileMap kentta = TileMap.FromLevelAsset("kentta1"); 
    4142        kentta.SetTileMethod('#', LisaaTaso); 
    4243        kentta.SetTileMethod('*', LisaaTahti); 
     
    140141        pelaaja2.AnimWalk = pelihahmo2; 
    141142        pelaaja2.Weapon = new AssaultRifle(50, 10); 
    142         pelaaja2.Weapon.FireRate = 1; 
     143        pelaaja2.Weapon.FireRate = 2; 
    143144        pelaaja2.Weapon.Image = null; 
    144145        pelaaja2.Weapon.Image = asekuva2; 
     
    228229        PhysicsObject piikki = PhysicsObject.CreateStaticObject(leveys, korkeus); 
    229230        piikki.Position = paikka; 
     231        piikki.Image = piikkikuva; 
    230232        piikki.Tag = "piikki"; 
    231233        Add(piikki); 
  • 2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/TasoHyppely.csproj.Debug.cachefile

    r6897 r6923  
    2020Content\kentta3.xnb 
    2121Content\Gaslamp_Funworks.xnb 
     22Content\Kentta1.xnb 
     23Content\piikki.xnb 
    2224Content\Gaslamp_Funworks.wma 
  • 2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/obj/x86/Debug/TasoHyppely.csproj.FileListAbsolute.txt

    r6893 r6923  
    5858C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\asekuva_2.xnb 
    5959C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\luoti.xnb 
     60C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\Kentta1.xnb 
     61C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\piikki.xnb 
  • 2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppely/obj/x86/Debug/cachefile-{6FC3E379-BCB4-46AD-88D8-15B242DAFE49}-targetpath.txt

    r6897 r6923  
    2121Content\Gaslamp_Funworks.xnb 
    2222Content\Gaslamp_Funworks.wma 
     23Content\Kentta1.xnb 
     24Content\piikki.xnb 
  • 2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppelyContent/TasoHyppelyContent.contentproj

    r6893 r6923  
    182182    </Compile> 
    183183  </ItemGroup> 
     184  <ItemGroup> 
     185    <Compile Include="Kentta1.txt"> 
     186      <Name>Kentta1</Name> 
     187      <Importer>TextFileImporter</Importer> 
     188      <Processor>TextFileContentProcessor</Processor> 
     189    </Compile> 
     190  </ItemGroup> 
     191  <ItemGroup> 
     192    <Compile Include="piikki.png"> 
     193      <Name>piikki</Name> 
     194      <Importer>TextureImporter</Importer> 
     195      <Processor>TextureProcessor</Processor> 
     196    </Compile> 
     197  </ItemGroup> 
    184198  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    185199  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2015/30/ArttuH/TasoHyppely/TasoHyppely/TasoHyppelyContent/obj/x86/Debug/ContentPipeline.xml

    r6903 r6923  
    195195      <Extra>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\Gaslamp_Funworks.wma</Extra> 
    196196      <Time>2015-07-21T14:10:01.9522372+03:00</Time> 
     197    </Item> 
     198    <Item> 
     199      <Source>Kentta1.txt</Source> 
     200      <Name>Kentta1</Name> 
     201      <Importer>TextFileImporter</Importer> 
     202      <Processor>TextFileContentProcessor</Processor> 
     203      <Options>None</Options> 
     204      <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\Kentta1.xnb</Output> 
     205      <Time>2015-07-22T14:02:14.1029498+03:00</Time> 
     206    </Item> 
     207    <Item> 
     208      <Source>piikki.png</Source> 
     209      <Name>piikki</Name> 
     210      <Importer>TextureImporter</Importer> 
     211      <Processor>TextureProcessor</Processor> 
     212      <Options>None</Options> 
     213      <Output>C:\MyTemp\ArttuH\TasoHyppely\TasoHyppely\TasoHyppely\bin\x86\Debug\Content\piikki.xnb</Output> 
     214      <Time>2015-07-22T13:49:18.6983498+03:00</Time> 
    197215    </Item> 
    198216    <BuildSuccessful>true</BuildSuccessful> 
Note: See TracChangeset for help on using the changeset viewer.