Ignore:
Timestamp:
2013-07-23 13:34:50 (10 years ago)
Author:
viosfilp
Message:

Talletus.

Location:
2013/30/VilleF/Lentokone/Lentokone
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2013/30/VilleF/Lentokone/Lentokone/Lentokone/Lentokone.cs

    r4560 r4567  
    2525    { 
    2626 
     27        Level.Width = 1024; 
     28        Level.Height = 800; 
     29        SetWindowSize(1024, 800, false); 
     30 
     31 
    2732 
    2833 
     
    3035        Level.Height = 600; 
    3136        SetWindowSize(800, 600, false); 
     37 
    3238        LuoKentta(); 
    3339        LuoPelaaja(); 
    3440        LiikutaPelaajaa(); 
    3541        Camera.ZoomToLevel(); 
     42        //TiputaPommi(); 
    3643        PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 
    3744 
     
    5158          KaannaPelaajaa, null, 0.0); 
    5259    } 
    53  
    54     void KaannaPelaajaa(double kaannos) 
     60       void KaannaPelaajaa(double kaannos) 
    5561    { 
    5662        pelaaja.AngularVelocity = kaannos; 
    57  
     63         
    5864    } 
    59  
    60  
     65    void PelaajaTormasi(PhysicsObject tormaaja, PhysicsObject kohde) 
     66    { 
     67         
     68    } 
    6169    void LiikutaPelaajaa(int suunta) 
    6270    { 
     
    8391        pelaaja.MirrorImage(); 
    8492        Add(pelaaja); 
    85  
     93        AddCollisionHandler(pelaaja, CollisionHandler.ExplodeBoth(200, true)); 
    8694    } 
    8795    void LiikutaPelaajaa() 
     
    93101 
    94102    } 
     103     
    95104} 
  • 2013/30/VilleF/Lentokone/Lentokone/LentokoneContent/LentokoneContent.contentproj

    r4545 r4567  
    6666    </Compile> 
    6767  </ItemGroup> 
     68  <ItemGroup> 
     69    <Compile Include="havusaurus\havusaurus01.png"> 
     70      <Name>havusaurus01</Name> 
     71      <Importer>TextureImporter</Importer> 
     72      <Processor>TextureProcessor</Processor> 
     73    </Compile> 
     74    <Compile Include="havusaurus\Havusaurus02.png"> 
     75      <Name>Havusaurus02</Name> 
     76      <Importer>TextureImporter</Importer> 
     77      <Processor>TextureProcessor</Processor> 
     78    </Compile> 
     79  </ItemGroup> 
    6880  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    6981  <!--  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.