Remove infinite flag and setup Map classes on new levels. Fix missing spawn zone settings for some monsters on 2-8. Add new levels to stage configuration list. Release Build 9906.

mac-build
sigonasr2 5 months ago
parent 48484ca640
commit 77c908d52c
  1. 4
      Adventures in Lestoria/MonsterData.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. 5015
      Adventures in Lestoria/assets/Campaigns/2_6.tmx
  4. 6480
      Adventures in Lestoria/assets/Campaigns/2_7.tmx
  5. 5952
      Adventures in Lestoria/assets/Campaigns/2_8.tmx
  6. 18
      Adventures in Lestoria/assets/config/levels.txt
  7. BIN
      x64/Release/Adventures in Lestoria.exe

@ -129,12 +129,12 @@ void MonsterData::InitializeMonsterData(){
if(DATA["Monsters"][MonsterName]["4-Way Spritesheet"].GetBool()){
hasFourWaySpriteSheet=true;
for(int direction=0;direction<4;direction++){
CreateHorizontalAnimationSequence(*MonsterData::imgs[MonsterImgName],frameCount,frameSize,std::format("{}_{}_{}",MonsterImgName,animationName,direction),animationRow*4+direction,AnimationData{float(data.GetReal(1)),style});
CreateHorizontalAnimationSequence(*MonsterData::imgs[MonsterImgName],frameCount,frameSize,std::format("{}_{}_{}",MonsterName,animationName,direction),animationRow*4+direction,AnimationData{float(data.GetReal(1)),style});
animations.push_back(std::format("{}_{}",animationName,direction));
}
}else{
CreateHorizontalAnimationSequence(*MonsterData::imgs[MonsterImgName],frameCount,frameSize,std::format("{}_{}",MonsterImgName,animationName),animationRow,AnimationData{float(data.GetReal(1)),style});
CreateHorizontalAnimationSequence(*MonsterData::imgs[MonsterImgName],frameCount,frameSize,std::format("{}_{}",MonsterName,animationName),animationRow,AnimationData{float(data.GetReal(1)),style});
animations.push_back(animationName);
}

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_PATCH 3
#define VERSION_BUILD 9896
#define VERSION_BUILD 9906
#define stringify(a) stringify_(a)
#define stringify_(a) #a

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -146,6 +146,24 @@ Levels
# Specify item, min quantity, and max quantity of items. Optionally specify a % drop chance per item.
# Loot[0] = Berries, 1, 5, 100%
}
CAMPAIGN_2_6
{
Map File = 2_6.tmx
# Specify item, min quantity, and max quantity of items. Optionally specify a % drop chance per item.
# Loot[0] = Berries, 1, 5, 100%
}
CAMPAIGN_2_7
{
Map File = 2_7.tmx
# Specify item, min quantity, and max quantity of items. Optionally specify a % drop chance per item.
# Loot[0] = Berries, 1, 5, 100%
}
CAMPAIGN_2_8
{
Map File = 2_8.tmx
# Specify item, min quantity, and max quantity of items. Optionally specify a % drop chance per item.
# Loot[0] = Berries, 1, 5, 100%
}
BOSS_2_B
{
Map File = Boss_2_B.tmx

Loading…
Cancel
Save