Changeset 1394


Ignore:
Timestamp:
2010-07-29 11:30:38 (9 years ago)
Author:
pesosant
Message:

Hasuka pelii

Location:
2010/30/pesosant
Files:
4 added
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • 2010/30/pesosant/War against the fat guy/Content/Content.contentproj

    r1393 r1394  
    4848  </ItemGroup> 
    4949  <ItemGroup> 
    50     <Compile Include="MyTemp.bmp"> 
     50    <Compile Include="MyTemp.png"> 
    5151      <Name>MyTemp</Name> 
     52      <Importer>TextureImporter</Importer> 
     53      <Processor>TextureProcessor</Processor> 
     54    </Compile> 
     55  </ItemGroup> 
     56  <ItemGroup> 
     57    <Compile Include="afdfg.png"> 
     58      <Name>afdfg</Name> 
    5259      <Importer>TextureImporter</Importer> 
    5360      <Processor>TextureProcessor</Processor> 
  • 2010/30/pesosant/War against the fat guy/Peli.cs

    r1393 r1394  
    1010    const int ruudunKorkeus = 50; 
    1111 
    12     const double nopeus = 200; 
     12    const double nopeus = 100; 
    1313    const double hyppyVoima = 3000; 
    1414 
     
    3030        TileMap ruudut = TileMap.FromFile("kentta.txt"); 
    3131        ruudut['-'] = LuoPalikka; 
    32         ruudut['v'] = LuoPahis; 
     32        ruudut['v'] = LuoAfdfg; 
    3333        ruudut.Insert(25, 50); 
    3434 
     
    4343        return palikka; 
    4444    } 
    45     PhysicsObject LuoPahis() 
     45     
     46 
     47     PhysicsObject LuoAfdfg() 
    4648    { 
    47         PhysicsObject pahis = PhysicsObject.CreateStaticObject(50.0, 20.0); 
    48         return pahis; 
    49  
     49        PhysicsObject vihollinen = new PhysicsObject(30, 30); 
     50        vihollinen.Image = LoadImage("afdfg"); 
     51        return vihollinen; 
    5052    } 
    5153 
  • 2010/30/pesosant/War against the fat guy/kentta.txt

    r1393 r1394  
    1313=                     * = 
    1414=       --     --    -- = 
    15 =                       = 
     15=     v      v          = 
    1616=    --  -   --         = 
    1717=                       = 
Note: See TracChangeset for help on using the changeset viewer.