Changeset 7828 for 2016/27


Ignore:
Timestamp:
2016-07-05 22:30:23 (3 years ago)
Author:
sieerinn
Message:

Luolakenttaan lisätty jonkinlainen tausta

Location:
2016/27/ohjaajat/VenienteFragore/VenienteFragore
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • 2016/27/ohjaajat/VenienteFragore/VenienteFragore/VenienteFragore/VenienteFragore.cs

    r7826 r7828  
    5656            Gravity = new Vector(0, -800); 
    5757 
    58             Level.Background.CreateGradient(Color.Beige, Color.OrangeRed); 
     58            // Tilapäisesti pois käytöstä. 
     59            //Level.Background.CreateGradient(Color.Beige, Color.OrangeRed); 
     60 
     61            // TODO: Tausta pitäisi tulla jotenkin kentän perusteella. 
     62            Level.Background.Image = LoadImage("cavebackground"); 
     63            Level.Background.TileToLevel(); 
     64            //var bg = new GameObject(Level.Width, Level.Height); 
     65            //bg.Image = LoadImage("cavebackground"); 
     66            //bg.TextureWrapSize = new Vector(8, 4); 
     67            //Add(bg, -3); 
     68            //Layers[-3].RelativeTransition = new Vector(0.0, 0.0); 
    5969 
    6070            CameraInitialization(); 
  • 2016/27/ohjaajat/VenienteFragore/VenienteFragore/VenienteFragore/VenienteFragore.csproj

    r7811 r7828  
    113113    <Compile Include="GoombaEnemy.cs" /> 
    114114    <Compile Include="InteractableObject.cs" /> 
     115    <Compile Include="LevelCreationMethods.cs" /> 
    115116    <Compile Include="MovingPlatform.cs" /> 
    116117    <Compile Include="Player.cs" /> 
  • 2016/27/ohjaajat/VenienteFragore/VenienteFragore/VenienteFragoreContent/VenienteFragoreContent.contentproj

    r7825 r7828  
    7979    </Compile> 
    8080  </ItemGroup> 
     81  <ItemGroup> 
     82    <Compile Include="cavebackground.png"> 
     83      <Name>cavebackground</Name> 
     84      <Importer>TextureImporter</Importer> 
     85      <Processor>TextureProcessor</Processor> 
     86    </Compile> 
     87  </ItemGroup> 
    8188  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    8289  <!--  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.