- Timestamp:
- 2015-06-26 12:22:47 (8 years ago)
- Location:
- 2015/26/MikkoL/JRPG
- Files:
-
- 4 added
- 1 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/26/MikkoL/JRPG/JRPG/JRPG/Battle/BattleView.cs
r6450 r6467 26 26 public bool IsTimerActive { get; set; } 27 27 public bool IsInMenu { get; set; } 28 public bool InBoss { get; set; } 28 29 29 30 private SpecialQueue<CharacterBase> _AllyQueue = new SpecialQueue<CharacterBase>(); … … 47 48 { } 48 49 50 public BattleView(bool boss) 51 : base(0, 0) 52 { 53 InBoss = boss; 54 } 55 49 56 public void LoadBattle(EnemyGroup _Enemies) 50 57 { … … 63 70 Background = new _Background(JRPG.Game.Content.Load<Texture2D>("BG//BG_Cave")); 64 71 } 72 else if (OverworldView.CurrentMapData.CurrentMapIndex == "03") 73 { 74 Background = new _Background(JRPG.Game.Content.Load<Texture2D>("BG//BG_Cave")); 75 } 76 65 77 JRPG.Game.Add(Background, 1); 66 78 … … 576 588 int Index = i; 577 589 590 if (Enemies[Index] != null) 591 { 578 592 ActionQueue.Enqueue(delegate 579 593 { … … 581 595 Enemies[Index].PickRandomAttack().OnUse(); 582 596 }); 597 } 583 598 } 584 599 } -
2015/26/MikkoL/JRPG/JRPG/JRPG/Battle/Characters/CharacterList.cs
r6450 r6467 13 13 Sonic.Name = "Sonic"; 14 14 Sonic.CurrentStats.HP = 82; 15 Sonic.CurrentStats.Str = 2 0;16 Sonic.CurrentStats.Def = 1 0;15 Sonic.CurrentStats.Str = 25; 16 Sonic.CurrentStats.Def = 15; 17 17 Sonic.CurrentStats.Luck = 20; 18 18 -
2015/26/MikkoL/JRPG/JRPG/JRPG/Battle/EnemyBase/EnemyList.cs
r6450 r6467 94 94 } 95 95 96 Tele.BaseWaitTimeInSeconds = 6;96 Tele.BaseWaitTimeInSeconds = 4; 97 97 98 98 Tele.Attacks.Add(AttackList.SpookyAttack()); -
2015/26/MikkoL/JRPG/JRPG/JRPG/JRPG.csproj
r6415 r6467 125 125 <Compile Include="SoundEffects.cs" /> 126 126 <Compile Include="SpecialQueue.cs" /> 127 <Compile Include=" HUD\TextMenu.cs" />127 <Compile Include="Overworld\TextMenu.cs" /> 128 128 <Compile Include="Images.cs" /> 129 129 <Compile Include="MainGame.cs" /> -
2015/26/MikkoL/JRPG/JRPG/JRPG/JRPG.csproj.Debug.cachefile
r6450 r6467 70 70 Content\Maps\03\03_Map.xnb 71 71 Content\Maps\03\03_CMap.xnb 72 Content\Music\Hunt.xnb 72 73 Content\Music\PresentingV.wma 73 74 Content\Music\Song12.wma … … 75 76 Content\Music\Sensual.wma 76 77 Content\Music\Mines.wma 78 Content\Music\Hunt.wma 77 79 Content\MainFont.xnb 78 80 Content\AsRifle.xnb -
2015/26/MikkoL/JRPG/JRPG/JRPG/MainGame.cs
r6450 r6467 260 260 261 261 262 Keyboard.Listen(Key.PageDown, ButtonState.Pressed, FadeOut, null);263 Keyboard.Listen(Key.PageUp, ButtonState.Pressed, FadeIn, null);262 Keyboard.Listen(Key.PageDown, ButtonState.Pressed, RandomEncounter.Boss, null); 263 Keyboard.Listen(Key.PageUp, ButtonState.Pressed, Ending, null); 264 264 } 265 265 public void LoadOWControlsXboxController() -
2015/26/MikkoL/JRPG/JRPG/JRPG/Overworld/RandomEncounter.cs
r6450 r6467 9 9 public static int StepsToAnEncounter = 5; 10 10 public static int StepsTaken { get; set; } 11 public static int Probability = 0;11 public static int Probability = 25; 12 12 13 13 public static List<EnemyGroup> CurrentEnemies = new List<EnemyGroup>(); … … 51 51 CurrentEnemyGroup = OverworldView.CurrentMapData.PickRandomWeightedGroup(CurrentEnemies, r); 52 52 53 Image Background;54 //Background = OverworldView.CurrentMapData.BackgroundImages()[r.Next(OverworldView.CurrentMapData.BackgroundImages().Count)];55 56 57 53 JRPG.Game.UseShaders = true; 58 54 … … 74 70 75 71 } 72 73 public static void Boss() 74 { 75 EnemyBase Tele1 = EnemyList.Tele(1); 76 EnemyBase Tele2 = EnemyList.Tele(2); 77 EnemyBase Tele3 = EnemyList.Tele(3); 78 EnemyBase Tele4 = EnemyList.Tele(4); 79 80 EnemyGroup Group = new EnemyGroup(); 81 Group.Add(Tele1); 82 Group.Add(Tele2); 83 Group.Add(Tele3); 84 Group.Add(Tele4); 85 86 CurrentEnemyGroup = Group; 87 88 JRPG.Game.UseShaders = true; 89 90 JRPG.Game.RandomEncounterAnimation( 91 delegate 92 { 93 JRPG.BattleView = new BattleView(true); 94 JRPG.BattleView.LoadBattle(CurrentEnemyGroup); 95 }, 96 delegate 97 { 98 JRPG.Game.MediaPlayer.Play("Music//Hunt"); 99 }); 100 } 76 101 } -
2015/26/MikkoL/JRPG/JRPG/JRPG/Values.cs
r6450 r6467 10 10 public const int SCREEN_HEIGHT = 719; 11 11 public const int TILE_SIZE = 40; 12 public static double MOVE_SPEED = 400;12 public static double MOVE_SPEED = 200; 13 13 } 14 14 -
2015/26/MikkoL/JRPG/JRPG/JRPG/obj/x86/Debug/ContentPipeline-{D60BC67C-D86B-426A-A33D-CA5138E0FDF3}.xml
r6450 r6467 645 645 <Output>C:\Users\user\Desktop\MikkoL\MikkoL\JRPG\JRPG\JRPG\bin\x86\Debug\Content\Maps\03\03_CMap.xnb</Output> 646 646 <Time>2015-06-26T11:03:56.40777+03:00</Time> 647 </Item> 648 <Item> 649 <Source>Music\Hunt.mp3</Source> 650 <Name>Music\Hunt</Name> 651 <Importer>Mp3Importer</Importer> 652 <Processor>SongProcessor</Processor> 653 <Options>None</Options> 654 <Output>C:\Users\user\Desktop\MikkoL\MikkoL\JRPG\JRPG\JRPG\bin\x86\Debug\Content\Music\Hunt.xnb</Output> 655 <Extra>C:\Users\user\Desktop\MikkoL\MikkoL\JRPG\JRPG\JRPG\bin\x86\Debug\Content\Music\Hunt.wma</Extra> 656 <Time>2015-06-26T12:08:08.6595107+03:00</Time> 647 657 </Item> 648 658 <BuildSuccessful>true</BuildSuccessful> -
2015/26/MikkoL/JRPG/JRPG/JRPG/obj/x86/Debug/JRPG.csproj.FileListAbsolute.txt
r6450 r6467 357 357 C:\Users\user\Desktop\MikkoL\MikkoL\JRPG\JRPG\JRPG\bin\x86\Debug\Content\Maps\03\03_Map.xnb 358 358 C:\Users\user\Desktop\MikkoL\MikkoL\JRPG\JRPG\JRPG\bin\x86\Debug\Content\Maps\03\03_CMap.xnb 359 C:\Users\user\Desktop\MikkoL\MikkoL\JRPG\JRPG\JRPG\bin\x86\Debug\Content\Music\Hunt.xnb 360 C:\Users\user\Desktop\MikkoL\MikkoL\JRPG\JRPG\JRPG\bin\x86\Debug\Content\Music\Hunt.wma -
2015/26/MikkoL/JRPG/JRPG/JRPG/obj/x86/Debug/cachefile-{D60BC67C-D86B-426A-A33D-CA5138E0FDF3}-targetpath.txt
r6450 r6467 75 75 Content\Maps\03\03_Map.xnb 76 76 Content\Maps\03\03_CMap.xnb 77 Content\Music\Hunt.xnb 78 Content\Music\Hunt.wma 77 79 Content\MainFont.xnb -
2015/26/MikkoL/JRPG/JRPG/JRPGContent/JRPGContent.contentproj
r6450 r6467 473 473 <Processor>TextureProcessor</Processor> 474 474 </Compile> 475 <Compile Include="Music\Hunt.mp3"> 476 <Name>Hunt</Name> 477 <Importer>Mp3Importer</Importer> 478 <Processor>SongProcessor</Processor> 479 </Compile> 475 480 </ItemGroup> 476 481 <ItemGroup />
Note: See TracChangeset
for help on using the changeset viewer.