Changeset 4223 for 2013/26/JuusoM


Ignore:
Timestamp:
2013-06-25 14:57:06 (6 years ago)
Author:
juiitamm
Message:

Talletus.

Location:
2013/26/JuusoM/amnesia2d/amnesia2d
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • 2013/26/JuusoM/amnesia2d/amnesia2d/amnesia2d/amnesia2d.cs

    r4212 r4223  
    3131 
    3232        Camera.Follow(pelaaja1); 
    33         Camera.ZoomFactor = 1.2; 
     33        Camera.ZoomFactor = 2.2; 
    3434        Camera.StayInLevel = true; 
    3535    } 
     
    3737    void LuoKentta() 
    3838    { 
    39         ColorTileMap kentta = ColorTileMap.FromLevelAsset("kartta2"); 
     39        ColorTileMap kentta = ColorTileMap.FromLevelAsset("Kartta3"); 
    4040        kentta.SetTileMethod(Color.Black, LisaaTaso); 
    4141        //kentta.SetTileMethod('*', LisaaTahti); 
     
    4343        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    4444        Level.CreateBorders(); 
    45         Level.BackgroundColor = Color.DarkRed; 
     45        Level.BackgroundColor = Color.Black; 
    4646 
    47         Level.AmbientLight = .0; 
     47        Level.AmbientLight = 1.0; 
    4848 
    4949        valo = new Light(); 
    5050        valo.Intensity = 2.0; 
    5151        valo.Distance = 510; 
    52         //valo.Position = pelaaja1.Position; 
     52        valo.Position = pelaaja1.Position; 
    5353 
    54         Add(valo); 
     54        //Add(valo); 
    5555    } 
    5656 
    5757    protected override void Update(Microsoft.Xna.Framework.GameTime gameTime) 
    5858    { 
    59         //valo.Position = pelaaja1.AbsolutePosition; 
     59        valo.Position = pelaaja1.AbsolutePosition; 
    6060        base.Update(gameTime); 
    6161    } 
  • 2013/26/JuusoM/amnesia2d/amnesia2d/amnesia2dContent/amnesia2dContent.contentproj

    r4212 r4223  
    9595    </Compile> 
    9696  </ItemGroup> 
     97  <ItemGroup> 
     98    <Compile Include="Kartta3.png"> 
     99      <Name>Kartta3</Name> 
     100      <Importer>TextureImporter</Importer> 
     101      <Processor>TextureProcessor</Processor> 
     102    </Compile> 
     103  </ItemGroup> 
    97104  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    98105  <!--  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.