last-signal-workflow
LAST SIGNAL game development workflow — AI-powered point-and-click adventure game creation with Pollinations.AI, Depth-Anything, MobileSAM, and real-time WebGL lighting. Use when working on the LAST SIGNAL project or adapting its engine for new games.
来源信息
- 仓库
- ampresent/last-signal
- 最近来源活动
- 2026年4月27日 09:40
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 1
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
37 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- last-signal-workflow
- description
- LAST SIGNAL game development workflow — AI-powered point-and-click adventure game creation with Pollinations.AI, Depth-Anything, MobileSAM, and real-time WebGL lighting. Use when working on the LAST SIGNAL project or adapting its engine for new games.
# LAST SIGNAL Workflow
Complete development workflow for the LAST SIGNAL cyberpunk point-and-click adventure game.
## Quick Reference
| Task | Command |
|------|---------|
| Generate base assets | `python3 scripts/gen_assets.py` |
| Generate depth + lighting | `python3 scripts/gen_depth_lighting.py` |
| Generate masks | `python3 scripts/gen_masks.py` |
| Generate character sprites | `python3 scripts/gen_character_views.py` |
| Fix sprite size across directions | `python3 scripts/fix_sprite_scale.py` |
| Build (PNG→WebP) | `python3 scripts/build.py` |
| Local test | `python3 -m http.server 8765` |
## Chapter Index
See `skill/workflow/` for detailed documentation split by topic:
**Core Systems:**
- `01-project-overview.md` — Project structure and tech stack
- `02-ai-image-generation.md` — Pollinations.AI text2img
- `03-depth-lighting.md` — Depth-Anything + programmatic lighting
- `04-vfx-engine.md` — Canvas particle system
- `05-lighting-engine.md` — WebGL real-time lighting
- `05b-lighting-editor.md` — Visual lighting parameter editor
**Gameplay:**
- `06-dialogue-system.md` — Dialogue API and expressions
- `07-character-system.md` — Character sprite workflow and movement
- `07b-sprite-sheet.md` — Full video-to-sprite-sheet pipeline (8 steps)
- `08-mask-system.md` — MobileSAM + Omni mask pipeline
- `15-spawn-system.md` — Character spawn point system
**Infrastructure:**
- `09-asset-pipeline.md` — Generation scripts and build
- `10-deployment.md` — GitHub Pages deployment
- `11-engine-architecture.md` — File structure, core modules, performance patterns
- `12-pitfalls.md` — Battle-tested solutions for common issues
- `13-reuse-guide.md` — How to build a new game with this engine
- `14-image-format.md` — WebP-only format rules
## Engine Reference
See `skill/reference/` for reusable component documentation:
- `engine-core.md` — Game object, scene system, rendering loop
- `asset-pipeline.md` — AI asset generation pipeline
- `lighting-system.md` — WebGL depth lighting engine
- `vfx-system.md` — Particle effects engine
- `gameplay.md` — Dialogue, inventory, spawn system
- `deployment.md` — Build and deploy
- `pitfalls.md` — Known issues and solutions
## Bundled Scripts
Essential scripts are bundled in `skill/scripts/` so the skill directory is self-contained:
| Script | Purpose |
|--------|---------|
| `scripts/gen_assets.py` | Scene image + portrait generation (Pollinations.AI) |
| `scripts/gen_depth_lighting.py` | Depth maps + programmatic lighting |
| `scripts/gen_masks.py` | MobileSAM + Omni mask pipeline |
| `scripts/gen_character_views.py` | Character perspective generation |
| `scripts/cutout_from_sheet.py` | Sprite sheet frame cutout |
| `scripts/greenscreen_cutout.py` | HSV green-screen removal + Omni verification |
| `scripts/fix_sprite_scale.py` | Normalize sprite content height across directions |
| `scripts/build.py` | PNG→WebP build |
| `scripts/setup.sh` | Environment setup |
> **Note:** Scripts must be run from the project root. See `skill/scripts/README.md`.
## Environment Setup
See **[`SETUP.md`](./SETUP.md)** for full setup instructions (一键初始化、依赖安装、HuggingFace 镜像、已知问题)。
Quick start:
```bash
cd /root/.openclaw/workspace/last-signal
bash setup.sh
```
## Key Configuration Files
| File | Purpose |
|------|---------|
| `lighting-config.json` | Per-scene light source definitions |
| `scripts/gen_assets.py` SCENE_PROMPTS | Scene image generation prompts |
| `scripts/gen_depth_lighting.py` SCENE_LIGHTS | Lighting frame parameters |
| `scripts/gen_masks.py` SCENES | Object bboxes + walkable/water zones |
| `index.html` SCENES | Game scene definitions + hotspots |
| `index.html` VFX.SCENE_CONFIG | Per-scene particle effects |
在 GitHub 查看