diff --git a/README.md b/README.md index f4e8a01..ba09c6b 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,7 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir * 目前的设想与原版不同,在完成两轮冒险模式(初始冒险模式 + 戴夫选关的冒险模式)后可以自主选关~~(当然现在只是画饼)~~ * 更改僵尸生成方式 * 使僵尸生成更随机化,由JSON记录改为随机数生成 + * 已完成大体框架 * 使用原版设定,每面旗帜出10波僵尸,9个小波,1个大波 * 采用手机版设定,无尽模式没有红眼计数和变速设定,每波红眼权重为1000,平均分布 * 增加僵尸死亡后有概率掉落奖励的机制 diff --git a/resources/data/map/littleGame_1.json b/resources/data/map/littleGame_1.json index c7bd901..ea47f92 100644 --- a/resources/data/map/littleGame_1.json +++ b/resources/data/map/littleGame_1.json @@ -3,7 +3,7 @@ "choosebar_type":1, "shovel":1, "spawn_zombies":"auto", - "num_flags":4, + "num_flags":3, "included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie"], "inevitable_zombie_list":{"20":["BucketheadZombie"]}, "card_pool":[ diff --git a/resources/graphics/Screen/Approching.png b/resources/graphics/Screen/Approching.png new file mode 100644 index 0000000..b7f0e45 Binary files /dev/null and b/resources/graphics/Screen/Approching.png differ diff --git a/source/constants.py b/source/constants.py index 67a07a6..2e2991e 100755 --- a/source/constants.py +++ b/source/constants.py @@ -164,10 +164,12 @@ FROZEN_INDEX = 3 MOVEBAR_CARD_FRESH_TIME = 6000 CARD_MOVE_TIME = 60 -# 植物相关信息 -PLANT_IMAGE_RECT = 'plant_image_rect' +# 其他显示物 CAR = 'car' SUN = 'Sun' +HUGE_WAVE_APPROCHING = 'Approching' +# 植物相关信息 +PLANT_IMAGE_RECT = 'plant_image_rect' # 植物名称 SUNFLOWER = 'SunFlower' PEASHOOTER = 'Peashooter' diff --git a/source/state/level.py b/source/state/level.py index d15be0e..e08571b 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -123,6 +123,10 @@ class Level(tool.State): volume = int(int((wave + survivalRounds*20)*0.8)/2) + 1 zombieList = [] + # 传送带模式应当增大僵尸容量 + if (self.bar_type != c.CHOOSEBAR_STATIC): + volume = min(max(int(volume*1.5), volume + 2), volume + 20) + # 大波僵尸情况 if wave % 10 == 0: # 容量增大至2.5倍