Changeset 9354


Ignore:
Timestamp:
2017-08-02 14:55:18 (2 years ago)
Author:
npo17_69
Message:
 
Location:
2017/31/TaavettiV/Trumpsimulator/Trumpsimulator
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2017/31/TaavettiV/Trumpsimulator/Trumpsimulator/Trumpsimulator/Trumpsimulator.cs

    r9345 r9354  
    109109    const int RUUDUN_KOKO = 40; 
    110110    const double flynopeus = 3000; 
    111     IntMeter pommilaskuri = new IntMeter(3, 0, 3); 
     111    IntMeter pommilaskuri = new IntMeter(1000, 0, 1000); 
    112112 
    113113    Image meksikolainen = LoadImage("meksikolainen"); 
     
    344344    void Heitaydinpommi(PlatformCharacter pelaaja) 
    345345    { 
    346         if (pelaaja.IsDestroyed) return; 
     346        if (pelaaja.IsDestroyed) 
    347347        if (pommilaskuri.Value > 0) 
    348348        { 
     
    351351            Grenade kranu = new Grenade(180.0); 
    352352            kranu.ExplosionRadius = 4000; 
    353             kranu.Image = LoadImage("Ydinbomb"); 
     353            kranu.Image = LoadImage("iluminadi"); 
    354354            pelaaja1.Throw(kranu, Angle.FromDegrees(50), 1000); 
    355355 
  • 2017/31/TaavettiV/Trumpsimulator/Trumpsimulator/TrumpsimulatorContent/TrumpsimulatorContent.contentproj

    r9345 r9354  
    254254    </Compile> 
    255255  </ItemGroup> 
     256  <ItemGroup> 
     257    <Compile Include="Ydinbomb.png"> 
     258      <Name>Ydinbomb</Name> 
     259      <Importer>TextureImporter</Importer> 
     260      <Processor>TextureProcessor</Processor> 
     261    </Compile> 
     262  </ItemGroup> 
     263  <ItemGroup> 
     264    <Compile Include="ppoopp.png"> 
     265      <Name>ppoopp</Name> 
     266      <Importer>TextureImporter</Importer> 
     267      <Processor>TextureProcessor</Processor> 
     268    </Compile> 
     269  </ItemGroup> 
    256270  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    257271  <!--  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.