Changeset 6443
- Timestamp:
- 2015-06-26 11:05:42 (8 years ago)
- 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 46 46 const double VIHOLLISEN_TORMAYSDMG = 4.0; 47 47 48 int kenttaNro = 18;48 int kenttaNro = 8; 49 49 50 50 /// <summary> … … 268 268 jounibossArrive = LoadAnimation("jouniboss_anim"); 269 269 asemiesLiikkuu = LoadAnimation("asemiesliikkuu"); 270 tuliAnimaatio = LoadAnimation("tulianimaatio"); 270 271 } 271 272 … … 623 624 Keyboard.Listen(Key.LeftShift, ButtonState.Released, delegate { walkBackwards = false; }, null); 624 625 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); 625 631 } 626 632 -
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to Agora/Attack_to_Agora_mitja.cs
r6440 r6443 21 21 Image ajHBarEmpty = LoadImage("ajheathbarempty"); 22 22 Image ajHBarFull = LoadImage("ajheathbarfull"); 23 23 Animation tuliAnimaatio; 24 24 25 25 Elava currentBoss; … … 253 253 254 254 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 255 272 } 256 273 -
2014/30/MitjaK/Attack to Agora/Attack to Agora/Attack to Agora/Attack to AgoraContent/Attack to AgoraContent.contentproj
r6440 r6443 484 484 </Compile> 485 485 </ItemGroup> 486 <ItemGroup> 487 <Compile Include="tulianimaatio.anim"> 488 <Name>tulianimaatio</Name> 489 <Importer>AnimationImporter</Importer> 490 <Processor>AnimationContentProcessor</Processor> 491 </Compile> 492 </ItemGroup> 486 493 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 487 494 <!-- 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.