From b4315962cbe722769530e441dfb8fb95ec3f271d Mon Sep 17 00:00:00 2001 From: ScriptSorcerer Date: Sun, 12 Jul 2026 11:13:38 +0200 Subject: [PATCH] README.md aktualisiert --- README.md | 80 +++++++++++++++++++++++++++---------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index bc91445..e0c9cb5 100644 --- a/README.md +++ b/README.md @@ -2,47 +2,47 @@ ## Strcuture -pixel_tower_defense/ +pixel_tower_defense/ | -|-- main.py Entry point. Instantiates Game and calls run(). -| Editor is commented out but importable. -| -|-- editor.py Standalone map editor (separate from the game loop). -| Run by swapping the commented lines in main.py. -| -|-- requirements.txt Python dependencies (pygame, pygame_gui). -| -|-- assets/ -| |-- images/ -| | |-- tiles/ -| | | |-- test/ Base/test tile set -| | | |-- jungle/ Jungle tile set -| | | `-- desert/ Desert tile set (currently active in gameplay) -| | `-- entities/ -| | |-- enemies/ -| | | `-- enemy.png Single enemy sprite -| | `-- towers/ -| | `-- cannon/ -| | |-- shoot/ Animation frames (0.png, 1.png, ...) for the shoot action -| | `-- red_cannon.png Red tint variant shown when placement is blocked -| |-- maps/ -| | `-- desert.json Serialised tilemap for the desert level, -| | contains: tilemap dict, tile_size, waypoints list -| `-- theme/ -| `-- theme.json pygame_gui UI theme configuration -| -`-- game/ - |-- game.py Core Game class (window, clock, asset loading, screen routing) - |-- camera.py Camera class (pan + zoom, world<->screen coordinate conversion) - |-- tilemap.py Tilemap class (load/save JSON maps, tile rendering, placement rules) - |-- enemy.py Enemy, EnemyGroup, HealthBar classes - |-- tower.py Tower, TowerGroup classes - |-- util.py Image loaders, coordinate converters, Animation class - `-- screens/ - |-- base_screen.py Abstract base class for all screens - |-- main_menu.py Main menu screen (Play / Quit buttons) - `-- game_play.py Gameplay screen (tilemap, enemies, towers, camera, UI) - +|-- main.py Entry point. Instantiates Game and calls run(). +| Editor is commented out but importable. +| +|-- editor.py Standalone map editor (separate from the game loop). +| Run by swapping the commented lines in main.py. +| +|-- requirements.txt Python dependencies (pygame, pygame_gui). +| +|-- assets/ +| |-- images/ +| | |-- tiles/ +| | | |-- test/ Base/test tile set +| | | |-- jungle/ Jungle tile set +| | | `-- desert/ Desert tile set (currently active in gameplay) +| | `-- entities/ +| | |-- enemies/ +| | | `-- enemy.png Single enemy sprite +| | `-- towers/ +| | `-- cannon/ +| | |-- shoot/ Animation frames (0.png, 1.png, ...) for the shoot action +| | `-- red_cannon.png Red tint variant shown when placement is blocked +| |-- maps/ +| | `-- desert.json Serialised tilemap for the desert level, +| | contains: tilemap dict, tile_size, waypoints list +| `-- theme/ +| `-- theme.json pygame_gui UI theme configuration +| +`-- game/ + |-- game.py Core Game class (window, clock, asset loading, screen routing) + |-- camera.py Camera class (pan + zoom, world<->screen coordinate conversion) + |-- tilemap.py Tilemap class (load/save JSON maps, tile rendering, placement rules) + |-- enemy.py Enemy, EnemyGroup, HealthBar classes + |-- tower.py Tower, TowerGroup classes + |-- util.py Image loaders, coordinate converters, Animation class + `-- screens/ + |-- base_screen.py Abstract base class for all screens + |-- main_menu.py Main menu screen (Play / Quit buttons) + `-- game_play.py Gameplay screen (tilemap, enemies, towers, camera, UI) + ## Start the Game python main.py