fix: Improve corridor generation logic to ensure minimum segment length

This commit is contained in:
2026-03-16 16:46:21 +11:00
parent bb1c9f9284
commit 5ab233b00c
2 changed files with 62 additions and 4 deletions
+33
View File
@@ -0,0 +1,33 @@
# Shadow Pixel Run
Shadow Pixel Run is a 2D pixel art game built with Godot 4.6.
## Features
- Procedural dungeon generation with rooms and corridors
- Retro pixel art visuals (640×360 viewport, 4× window scale)
- Player movement and tile-based world
- Seamless auto-connected walls and floor tiles
## Project Structure
- **Main scene:** `scenes/world.tscn` (Node2D with `FloorLayer`, `MapLayer`,)
- **Player:** `CharacterBody2D` at `scenes/world.tscn > Player`, script: `scripts/actors/player.gd`
- **Scripts:** All under `scripts/` (organized by category)
- **Assets:** All under `assets/sprites/` (Godot auto-generates `.import` files; do not edit these manually)
- **Tilemaps:**
- `FloorLayer`: `office_floor.png` (single-tile floor atlas)
- `WallLayer`: `office_walls.png` (auto-connected terrain tileset)
## Controls
Left mouse button
## Art & Assets
- All sprites and tilesets are in `assets/sprites/` and `assets/tilesets/`
- Pixel art style, 32×32 tile atlases
## License
See LICENSE and THIRDPARTY.md for asset and code licensing details.