Changeset 1797 for 2011/23/iltakuop


Ignore:
Timestamp:
2011-06-09 10:25:16 (8 years ago)
Author:
iltakuop
Message:
 
Location:
2011/23/iltakuop/Blocks/Blocks
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 2011/23/iltakuop/Blocks/Blocks/Blocks/Blocks.csproj

    r1791 r1797  
    116116  </ItemGroup> 
    117117  <ItemGroup> 
     118    <Content Include="kentta4.txt"> 
     119      <CopyToOutputDirectory>Always</CopyToOutputDirectory> 
     120    </Content> 
     121    <Content Include="kentta5.txt"> 
     122      <CopyToOutputDirectory>Always</CopyToOutputDirectory> 
     123    </Content> 
    118124    <Content Include="kenttarandom.txt"> 
    119125      <CopyToOutputDirectory>Always</CopyToOutputDirectory> 
  • 2011/23/iltakuop/Blocks/Blocks/Blocks/Peli.cs

    r1796 r1797  
    3838    PhysicsObject alaReuna; 
    3939    int kenttäNro = 1; 
    40     int kenttäMäärä = 3; 
     40    int kenttäMäärä = 5; 
    4141 
    4242    int palloolemassa; 
    4343    const int RUUDUN_KOKO = 5; 
    4444 
     45    Image palloKuva = LoadImage("Pallo"); 
    4546    Image tntKuva = LoadImage("TNT"); 
    4647    Image tasoKuva = LoadImage("Palikka"); 
     
    293294    { 
    294295        PhysicsObject pallo1 = new PhysicsObject(18.0, 18.0); 
     296        pallo1.Image = palloKuva; 
    295297        pallo1.Shape = Shape.Circle; 
    296298        pallo1.Color = Color.LightGreen; 
     
    299301        pallo1.X = 0; 
    300302        pallo1.Y = -168; 
     303        pallo1.CanRotate = false; 
    301304        palloolemassa = 1; 
    302305        return pallo1; 
  • 2011/23/iltakuop/Blocks/Blocks/Blocks/kentta5.txt

    r1795 r1797  
    77  T T                   T T 
    88  ! ! ! ! !   P   ! ! ! ! ! 
    9   ! ! ! ! !       ! ! ! ! ! 
    10        P      !      P 
     9  # # # # #       # # # # # 
     10       P             P 
    1111-  # #                 # #  - 
    1212   # # P             P # # 
  • 2011/23/iltakuop/Blocks/Blocks/BlocksContent/BlocksContent.contentproj

    r1785 r1797  
    134134    </Compile> 
    135135  </ItemGroup> 
     136  <ItemGroup> 
     137    <Compile Include="Pallo.png"> 
     138      <Name>Pallo</Name> 
     139      <Importer>TextureImporter</Importer> 
     140      <Processor>TextureProcessor</Processor> 
     141    </Compile> 
     142  </ItemGroup> 
    136143  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    137144  <!--  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.