Changeset 2493 for 2011/31/EsaN/DevOid


Ignore:
Timestamp:
2011-08-02 13:08:29 (8 years ago)
Author:
eskuniem
Message:

Talletus.

Location:
2011/31/EsaN/DevOid/DevOid
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2011/31/EsaN/DevOid/DevOid/DevOid/Peli.cs

    r2489 r2493  
    1111    public override void Begin() 
    1212    { 
     13        LuoSaari(1000, 1750, 480, -400, 0); 
     14 
     15    } 
     16 
     17    void LuoSaari (double leveys, double korkeus, double x, double y, double rotation) 
     18    { 
     19        Image Saari1k = LoadImage("Saari1k"); 
     20 
     21        PhysicsObject saari1 = new PhysicsObject(leveys, korkeus); 
     22        saari1.X = x; 
     23        saari1.Y = y; 
     24        saari1.Angle = Angle.FromDegrees(rotation); 
     25        saari1.Image = Saari1k; 
     26        Add (saari1); 
     27 
    1328 
    1429    } 
  • 2011/31/EsaN/DevOid/DevOid/DevOidContent/DevOidContent.contentproj

    r2489 r2493  
    4444    <Reference Include="TextFileContentExtension" /> 
    4545  </ItemGroup> 
     46  <ItemGroup> 
     47    <Compile Include="meri.jpg"> 
     48      <Name>meri</Name> 
     49      <Importer>TextureImporter</Importer> 
     50      <Processor>TextureProcessor</Processor> 
     51    </Compile> 
     52    <Compile Include="Saari1k.bmp"> 
     53      <Name>Saari1k</Name> 
     54      <Importer>TextureImporter</Importer> 
     55      <Processor>TextureProcessor</Processor> 
     56    </Compile> 
     57    <Compile Include="Saari2k.bmp"> 
     58      <Name>Saari2k</Name> 
     59      <Importer>TextureImporter</Importer> 
     60      <Processor>TextureProcessor</Processor> 
     61    </Compile> 
     62    <Compile Include="Saari3k.bmp"> 
     63      <Name>Saari3k</Name> 
     64      <Importer>TextureImporter</Importer> 
     65      <Processor>TextureProcessor</Processor> 
     66    </Compile> 
     67  </ItemGroup> 
    4668  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    4769  <!--  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.