Changeset 6443 for 2014/30


Ignore:
Timestamp:
2015-06-26 11:05:42 (4 years ago)
Author:
anlakane
Message:
 
Location:
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack_to_Agora.cs

    r6440 r6443  
    4646    const double VIHOLLISEN_TORMAYSDMG = 4.0; 
    4747 
    48     int kenttaNro = 18; 
     48    int kenttaNro = 8; 
    4949 
    5050    /// <summary> 
     
    268268        jounibossArrive = LoadAnimation("jouniboss_anim"); 
    269269        asemiesLiikkuu = LoadAnimation("asemiesliikkuu"); 
     270        tuliAnimaatio = LoadAnimation("tulianimaatio"); 
    270271    } 
    271272 
     
    623624        Keyboard.Listen(Key.LeftShift, ButtonState.Released, delegate { walkBackwards = false; }, null); 
    624625 
     626 
     627        // haxnapit 
     628 
     629        Keyboard.Listen(Key.N, ButtonState.Pressed, delegate { taistelija.IgnoresCollisionResponse = true; }, null); 
     630        Keyboard.Listen(Key.N, ButtonState.Released, delegate { taistelija.IgnoresCollisionResponse = false; }, null); 
    625631    } 
    626632 
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack_to_Agora_mitja.cs

    r6440 r6443  
    2121    Image ajHBarEmpty = LoadImage("ajheathbarempty"); 
    2222    Image ajHBarFull = LoadImage("ajheathbarfull"); 
    23  
     23    Animation tuliAnimaatio; 
    2424 
    2525    Elava currentBoss; 
     
    253253 
    254254 
     255        PhysicsObject tuli = new PhysicsObject(170, 70); 
     256        tuli.Tag = "tuli"; 
     257        tuli.Color = Color.Red; 
     258 
     259        Timer fireT = new Timer(); 
     260        fireT.Interval = 1.0 / 60.0; 
     261        fireT.Timeout += delegate 
     262        { 
     263 
     264        }; 
     265        fireT.Start(); 
     266 
     267        anttiJussi.Kuoli += delegate { 
     268            tuli.Destroy(); 
     269            fireT.Stop();  
     270        }; 
     271         
    255272    } 
    256273 
  • 2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to AgoraContent/Attack to AgoraContent.contentproj

    r6440 r6443  
    484484    </Compile> 
    485485  </ItemGroup> 
     486  <ItemGroup> 
     487    <Compile Include="tulianimaatio.anim"> 
     488      <Name>tulianimaatio</Name> 
     489      <Importer>AnimationImporter</Importer> 
     490      <Processor>AnimationContentProcessor</Processor> 
     491    </Compile> 
     492  </ItemGroup> 
    486493  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    487494  <!--  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.