zombie-escape 1.10.0__py3-none-any.whl → 1.12.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zombie_escape/__about__.py +1 -1
- zombie_escape/colors.py +14 -12
- zombie_escape/entities.py +13 -0
- zombie_escape/entities_constants.py +9 -3
- zombie_escape/gameplay/__init__.py +2 -0
- zombie_escape/gameplay/interactions.py +19 -0
- zombie_escape/gameplay/layout.py +22 -1
- zombie_escape/gameplay/movement.py +15 -1
- zombie_escape/gameplay/spawn.py +95 -4
- zombie_escape/gameplay/state.py +2 -0
- zombie_escape/gameplay_constants.py +8 -0
- zombie_escape/level_blueprints.py +54 -22
- zombie_escape/locales/ui.en.json +9 -1
- zombie_escape/locales/ui.ja.json +8 -0
- zombie_escape/models.py +6 -1
- zombie_escape/render.py +420 -69
- zombie_escape/render_assets.py +104 -52
- zombie_escape/render_constants.py +28 -12
- zombie_escape/screens/game_over.py +1 -1
- zombie_escape/screens/gameplay.py +27 -1
- zombie_escape/stage_constants.py +31 -14
- {zombie_escape-1.10.0.dist-info → zombie_escape-1.12.0.dist-info}/METADATA +5 -2
- zombie_escape-1.12.0.dist-info/RECORD +47 -0
- zombie_escape-1.10.0.dist-info/RECORD +0 -47
- {zombie_escape-1.10.0.dist-info → zombie_escape-1.12.0.dist-info}/WHEEL +0 -0
- {zombie_escape-1.10.0.dist-info → zombie_escape-1.12.0.dist-info}/entry_points.txt +0 -0
- {zombie_escape-1.10.0.dist-info → zombie_escape-1.12.0.dist-info}/licenses/LICENSE.txt +0 -0
zombie_escape/locales/ui.ja.json
CHANGED
|
@@ -119,6 +119,14 @@
|
|
|
119
119
|
"stage13": {
|
|
120
120
|
"name": "#13 相棒を救え 3",
|
|
121
121
|
"description": "はぐれた相棒を救え。ゾンビの落下あり。"
|
|
122
|
+
},
|
|
123
|
+
"stage14": {
|
|
124
|
+
"name": "#14 崩落工場",
|
|
125
|
+
"description": "上階の床が崩れた工場。破壊しながら進め。"
|
|
126
|
+
},
|
|
127
|
+
"stage15": {
|
|
128
|
+
"name": "#15 分断ライン",
|
|
129
|
+
"description": "建物中央を分断する危険地帯。横断には注意。"
|
|
122
130
|
}
|
|
123
131
|
},
|
|
124
132
|
"status": {
|
zombie_escape/models.py
CHANGED
|
@@ -11,6 +11,7 @@ from pygame import sprite, surface
|
|
|
11
11
|
from .entities_constants import ZOMBIE_AGING_DURATION_FRAMES
|
|
12
12
|
from .gameplay_constants import (
|
|
13
13
|
DEFAULT_FLASHLIGHT_SPAWN_COUNT,
|
|
14
|
+
DEFAULT_SHOES_SPAWN_COUNT,
|
|
14
15
|
SURVIVOR_SPAWN_RATE,
|
|
15
16
|
ZOMBIE_SPAWN_DELAY_MS,
|
|
16
17
|
)
|
|
@@ -18,7 +19,7 @@ from .level_constants import DEFAULT_GRID_COLS, DEFAULT_GRID_ROWS
|
|
|
18
19
|
from .localization import translate as tr
|
|
19
20
|
|
|
20
21
|
if TYPE_CHECKING: # pragma: no cover - typing-only imports
|
|
21
|
-
from .entities import Camera, Car, Flashlight, FuelCan, Player
|
|
22
|
+
from .entities import Camera, Car, Flashlight, FuelCan, Player, Shoes
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
@dataclass
|
|
@@ -82,6 +83,7 @@ class ProgressState:
|
|
|
82
83
|
elapsed_play_ms: int
|
|
83
84
|
has_fuel: bool
|
|
84
85
|
flashlight_count: int
|
|
86
|
+
shoes_count: int
|
|
85
87
|
ambient_palette_key: str
|
|
86
88
|
hint_expires_at: int
|
|
87
89
|
hint_target_type: str | None
|
|
@@ -131,6 +133,7 @@ class GameData:
|
|
|
131
133
|
level_height: int
|
|
132
134
|
fuel: FuelCan | None = None
|
|
133
135
|
flashlights: list[Flashlight] | None = None
|
|
136
|
+
shoes: list[Shoes] | None = None
|
|
134
137
|
player: Player | None = None
|
|
135
138
|
car: Car | None = None
|
|
136
139
|
waiting_cars: list[Car] = field(default_factory=list)
|
|
@@ -153,6 +156,7 @@ class Stage:
|
|
|
153
156
|
endurance_goal_ms: int = 0
|
|
154
157
|
fuel_spawn_count: int = 1
|
|
155
158
|
initial_flashlight_count: int = DEFAULT_FLASHLIGHT_SPAWN_COUNT
|
|
159
|
+
initial_shoes_count: int = DEFAULT_SHOES_SPAWN_COUNT
|
|
156
160
|
survivor_spawn_rate: float = SURVIVOR_SPAWN_RATE
|
|
157
161
|
spawn_interval_ms: int = ZOMBIE_SPAWN_DELAY_MS
|
|
158
162
|
initial_interior_spawn_rate: float = 0.015
|
|
@@ -160,6 +164,7 @@ class Stage:
|
|
|
160
164
|
interior_spawn_weight: float = 0.0
|
|
161
165
|
interior_fall_spawn_weight: float = 0.0
|
|
162
166
|
fall_spawn_zones: list[tuple[int, int, int, int]] = field(default_factory=list)
|
|
167
|
+
fall_spawn_floor_ratio: float = 0.0
|
|
163
168
|
zombie_tracker_ratio: float = 0.0
|
|
164
169
|
zombie_wall_follower_ratio: float = 0.0
|
|
165
170
|
zombie_normal_ratio: float = 1.0
|