Changeset 2847


Ignore:
Timestamp:
2012-06-07 17:12:51 (11 years ago)
Author:
hasamati
Message:
 
Location:
2012/23/HannesM/The Game of Rooms/The Game of Rooms
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 2012/23/HannesM/The Game of Rooms/The Game of Rooms/The Game of Rooms/The_Game_of_Rooms.cs

    r2842 r2847  
    4444        ruudut.SetTileMethod('>', luoseina9); 
    4545        ruudut.SetTileMethod('&', luoseina10); 
     46        ruudut.SetTileMethod('O', luoseina11); 
     47        ruudut.SetTileMethod('Y', luoseina12); 
     48        ruudut.SetTileMethod('8', luoseina13); 
    4649        ruudut.Execute(); 
    4750 
     
    187190    } 
    188191 
     192    void luoseina11(Vector paikka, double leveys, double korkeus) 
     193    { 
     194        PhysicsObject seina11 = PhysicsObject.CreateStaticObject(leveys, korkeus); 
     195        seina11.Position = paikka; 
     196        seina11.Shape = Shape.Rectangle; 
     197        seina11.Image = LoadImage("seinaO"); 
     198        Add(seina11); 
     199    } 
     200 
     201    void luoseina12(Vector paikka, double leveys, double korkeus) 
     202    { 
     203        PhysicsObject seina12 = PhysicsObject.CreateStaticObject(leveys, korkeus); 
     204        seina12.Position = paikka; 
     205        seina12.Shape = Shape.Rectangle; 
     206        seina12.Image = LoadImage("seinaY"); 
     207        Add(seina12); 
     208    } 
     209 
     210    void luoseina13(Vector paikka, double leveys, double korkeus) 
     211    { 
     212        PhysicsObject seina13 = PhysicsObject.CreateStaticObject(leveys, korkeus); 
     213        seina13.Position = paikka; 
     214        seina13.Shape = Shape.Rectangle; 
     215        seina13.Image = LoadImage("seina8"); 
     216        Add(seina13); 
     217    } 
     218 
    189219    void luotikkaat(Vector paikka, double leveys, double korkeus) 
    190220    { 
  • 2012/23/HannesM/The Game of Rooms/The Game of Rooms/The Game of RoomsContent/The Game Of Rooms (map1).txt

    r2842 r2847  
    11?==============B=================================< 
    2 R              R                                 R 
     2R              O                                 R 
    33R              D                          LL     R 
    44R         V    D    V   V     V    V      LL     R 
    5 *==StttE====B====================================R 
    6 R   ttt     R                                    R 
     5*==StttE====B====================================Y 
     6R   ttt     O                                    R 
    77R   ttt     D                                    R 
    88R   ttt  V  D            V     V      V          R 
     
    1111Rttt         R                   R            tttR 
    1212Rttt   H   A R                   R            tttR 
    13 *============R                   R            E==R 
    14 R            R                   R         E=====R 
    15 R            D                   D      E========R 
    16 R H A   P    D       V  V  V     D   E===========R 
     13*============Y                   R            E==R 
     14R            O                   O         E===88R 
     15R            D                   D      E===88888R 
     16R H A   P    D       V  V  V     D   E===88888888R 
    1717>================================================& 
  • 2012/23/HannesM/The Game of Rooms/The Game of Rooms/The Game of RoomsContent/The Game of RoomsContent.contentproj

    r2842 r2847  
    171171    </Compile> 
    172172  </ItemGroup> 
     173  <ItemGroup> 
     174    <Compile Include="seinaO.png"> 
     175      <Name>seinaO</Name> 
     176      <Importer>TextureImporter</Importer> 
     177      <Processor>TextureProcessor</Processor> 
     178    </Compile> 
     179  </ItemGroup> 
     180  <ItemGroup> 
     181    <Compile Include="seinaY.png"> 
     182      <Name>seinaY</Name> 
     183      <Importer>TextureImporter</Importer> 
     184      <Processor>TextureProcessor</Processor> 
     185    </Compile> 
     186  </ItemGroup> 
     187  <ItemGroup> 
     188    <Compile Include="seina8.png"> 
     189      <Name>seina8</Name> 
     190      <Importer>TextureImporter</Importer> 
     191      <Processor>TextureProcessor</Processor> 
     192    </Compile> 
     193  </ItemGroup> 
    173194  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    174195  <!--  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.