diff --git a/README.md b/README.md index 3bb870b..bc1d1f2 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ python main.py ## 方法 * 使用鼠标收集阳光,种植植物 -* 你可以通过更改`source/constants.py`中的`START_LEVEL_NUM`的数值来更改冒险模式的起始关卡,更改`START_LITTLE_GAME_NUM`的数值来更改小游戏的起始关卡: +* 你可以通过更改`source/constants.py`中的`START_LEVEL_NUM`的数值来更改冒险模式的起始关卡,更改`START_LITTLE_GAME_NUM`的数值来更改小游戏的起始关卡: * 冒险模式: * 1 和 2:白昼模式 * 3:夜晚模式 diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_1.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_1.png new file mode 100644 index 0000000..542b3f2 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_1.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_10.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_10.png new file mode 100644 index 0000000..713268c Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_10.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_11.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_11.png new file mode 100644 index 0000000..4b9b194 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_11.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_12.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_12.png new file mode 100644 index 0000000..4b9b194 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_12.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_13.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_13.png new file mode 100644 index 0000000..fabc0b9 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_13.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_14.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_14.png new file mode 100644 index 0000000..fabc0b9 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_14.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_15.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_15.png new file mode 100644 index 0000000..3f55877 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_15.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_16.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_16.png new file mode 100644 index 0000000..3f55877 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_16.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_17.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_17.png new file mode 100644 index 0000000..bd1f12c Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_17.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_18.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_18.png new file mode 100644 index 0000000..bd1f12c Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_18.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_19.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_19.png new file mode 100644 index 0000000..5d56e57 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_19.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_2.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_2.png new file mode 100644 index 0000000..542b3f2 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_2.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_20.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_20.png new file mode 100644 index 0000000..5d56e57 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_20.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_21.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_21.png new file mode 100644 index 0000000..d74a5f0 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_21.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_22.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_22.png new file mode 100644 index 0000000..d74a5f0 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_22.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_3.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_3.png new file mode 100644 index 0000000..6b14b11 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_3.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_4.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_4.png new file mode 100644 index 0000000..6b14b11 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_4.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_5.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_5.png new file mode 100644 index 0000000..f3712eb Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_5.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_6.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_6.png new file mode 100644 index 0000000..f3712eb Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_6.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_7.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_7.png new file mode 100644 index 0000000..411f2cb Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_7.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_8.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_8.png new file mode 100644 index 0000000..411f2cb Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_8.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_9.png b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_9.png new file mode 100644 index 0000000..713268c Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombie/FootballZombie_9.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_1.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_1.png new file mode 100644 index 0000000..71ec38d Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_1.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_10.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_10.png new file mode 100644 index 0000000..43f067c Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_10.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_11.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_11.png new file mode 100644 index 0000000..e362fb4 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_11.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_12.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_12.png new file mode 100644 index 0000000..e362fb4 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_12.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_13.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_13.png new file mode 100644 index 0000000..47be1bd Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_13.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_14.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_14.png new file mode 100644 index 0000000..47be1bd Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_14.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_15.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_15.png new file mode 100644 index 0000000..261926c Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_15.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_16.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_16.png new file mode 100644 index 0000000..261926c Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_16.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_17.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_17.png new file mode 100644 index 0000000..e1320e8 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_17.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_18.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_18.png new file mode 100644 index 0000000..e1320e8 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_18.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_19.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_19.png new file mode 100644 index 0000000..1d92780 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_19.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_2.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_2.png new file mode 100644 index 0000000..71ec38d Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_2.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_20.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_20.png new file mode 100644 index 0000000..1d92780 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_20.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_3.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_3.png new file mode 100644 index 0000000..57ea648 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_3.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_4.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_4.png new file mode 100644 index 0000000..57ea648 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_4.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_5.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_5.png new file mode 100644 index 0000000..f5f041b Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_5.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_6.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_6.png new file mode 100644 index 0000000..f5f041b Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_6.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_7.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_7.png new file mode 100644 index 0000000..e663ade Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_7.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_8.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_8.png new file mode 100644 index 0000000..e663ade Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_8.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_9.png b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_9.png new file mode 100644 index 0000000..43f067c Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieAttack/FootballZombieAttack_9.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_1.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_1.png new file mode 100644 index 0000000..8c3436b Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_1.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_10.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_10.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_10.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_11.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_11.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_11.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_12.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_12.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_12.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_13.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_13.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_13.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_14.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_14.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_14.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_15.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_15.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_15.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_16.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_16.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_16.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_2.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_2.png new file mode 100644 index 0000000..38c19a6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_2.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_3.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_3.png new file mode 100644 index 0000000..f9418e2 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_3.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_4.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_4.png new file mode 100644 index 0000000..92d16da Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_4.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_5.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_5.png new file mode 100644 index 0000000..ed82f5b Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_5.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_6.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_6.png new file mode 100644 index 0000000..ed82f5b Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_6.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_7.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_7.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_7.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_8.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_8.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_8.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_9.png b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_9.png new file mode 100644 index 0000000..eb224f6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieDie/FootballZombieDie_9.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_1.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_1.png new file mode 100644 index 0000000..5d7ee57 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_1.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_10.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_10.png new file mode 100644 index 0000000..7de745d Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_10.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_2.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_2.png new file mode 100644 index 0000000..2b92299 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_2.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_3.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_3.png new file mode 100644 index 0000000..feb311e Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_3.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_4.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_4.png new file mode 100644 index 0000000..5da73e5 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_4.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_5.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_5.png new file mode 100644 index 0000000..3468430 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_5.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_6.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_6.png new file mode 100644 index 0000000..f827793 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_6.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_7.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_7.png new file mode 100644 index 0000000..e61d094 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_7.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_8.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_8.png new file mode 100644 index 0000000..6f93807 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_8.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_9.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_9.png new file mode 100644 index 0000000..67ba101 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHead/FootballZombieLostHead_9.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_1.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_1.png new file mode 100644 index 0000000..2d78989 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_1.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_10.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_10.png new file mode 100644 index 0000000..a4787d1 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_10.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_2.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_2.png new file mode 100644 index 0000000..da9e4a1 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_2.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_3.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_3.png new file mode 100644 index 0000000..54b52d9 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_3.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_4.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_4.png new file mode 100644 index 0000000..970c805 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_4.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_5.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_5.png new file mode 100644 index 0000000..e921ac5 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_5.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_6.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_6.png new file mode 100644 index 0000000..ac5abe6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_6.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_7.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_7.png new file mode 100644 index 0000000..34fd6fe Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_7.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_8.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_8.png new file mode 100644 index 0000000..a8733e3 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_8.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_9.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_9.png new file mode 100644 index 0000000..8e8e8df Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHeadAttack/FootballZombieLostHeadAttack_9.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_1.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_1.png new file mode 100644 index 0000000..a84a3e6 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_1.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_10.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_10.png new file mode 100644 index 0000000..2e2eb55 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_10.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_11.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_11.png new file mode 100644 index 0000000..daee8e4 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_11.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_12.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_12.png new file mode 100644 index 0000000..daee8e4 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_12.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_13.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_13.png new file mode 100644 index 0000000..54fc1eb Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_13.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_14.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_14.png new file mode 100644 index 0000000..54fc1eb Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_14.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_15.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_15.png new file mode 100644 index 0000000..156e8e0 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_15.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_16.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_16.png new file mode 100644 index 0000000..156e8e0 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_16.png differ diff --git a/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_17.png b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_17.png new file mode 100644 index 0000000..8cbbef2 Binary files /dev/null and b/resources/graphics/Zombies/FootballZombie/FootballZombieLostHelmet/FootballZombieLostHelmet_17.png differ diff --git a/source/component/menubar.py b/source/component/menubar.py index 4cb2e32..1cee829 100755 --- a/source/component/menubar.py +++ b/source/component/menubar.py @@ -175,8 +175,7 @@ class Card(): self.frozen_timer = current_time def createShowImage(self, sun_value, current_time): - '''create a card image to show cool down status - or disable status when have not enough sun value''' + # 有关是否满足冷却与阳光条件的图片形式 time = current_time - self.frozen_timer if time < self.frozen_time: #cool down status image = pg.Surface([self.rect.w, self.rect.h]) @@ -434,7 +433,7 @@ class MoveCard(): return False def createShowImage(self): - '''create a part card image when card appears from left''' + # 新增卡片时显示图片 if self.rect.w < self.orig_rect.w: #create a part card image image = pg.Surface([self.rect.w, self.rect.h]) image.blit(self.orig_image, (0, 0), (0, 0, self.rect.w, self.rect.h)) diff --git a/source/component/plant.py b/source/component/plant.py index 68636f3..322b598 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -190,7 +190,7 @@ class StarBullet(Bullet): # 这里用的是坚果保龄球的代码改一下,实现子弹换行 def handleMapYPosition(self): _, map_y1 = self.level.map.getMapIndex(self.rect.x, self.rect.centery +20) - _, map_y2 = self.level.map.getMapIndex(self.rect.x, self.rect.bottom +20) + # _, map_y2 = self.level.map.getMapIndex(self.rect.x, self.rect.bottom +20) if (self.map_y != map_y1) and (0 <= map_y1 <= self.level.map_y_len-1): # 换行 self.level.bullet_groups[self.map_y].remove(self) self.level.bullet_groups[map_y1].add(self)