screenshotlisted
Install: claude install-skill RandallLiuXin/GodotMaker
# Screenshot — Gameplay Capture via godot-e2e
$ARGUMENTS
Capture screenshots from a running Godot game using godot-e2e's internal
viewport capture. Works headless, multi-monitor safe, no external tools needed.
## Quick Capture (single screenshot)
Write and run a Python script:
```python
# capture_screenshot.py
import os, sys
from godot_e2e import GodotE2E
project_path = sys.argv[1] if len(sys.argv) > 1 else "."
save_path = sys.argv[2] if len(sys.argv) > 2 else "screenshot.png"
with GodotE2E.launch(project_path, timeout=15.0) as game:
game.wait_for_node("/root/Main", timeout=10.0)
game.wait_seconds(1.0) # let the game render a few frames
result = game.screenshot(save_path=save_path)
print(f"Screenshot saved: {result}")
```
Run: `python capture_screenshot.py <project_dir> <output_path>`
## Multi-Point Capture (E2E with screenshots)
For capturing multiple screenshots during a gameplay scenario:
```python
# capture_gameplay.py
import os, sys
from godot_e2e import GodotE2E
project_path = sys.argv[1] if len(sys.argv) > 1 else "."
output_dir = sys.argv[2] if len(sys.argv) > 2 else "screenshots"
os.makedirs(output_dir, exist_ok=True)
with GodotE2E.launch(project_path, timeout=15.0) as game:
game.wait_for_node("/root/Main", timeout=10.0)
# 1. Initial state
game.wait_seconds(0.5)
game.screenshot(save_path=os.path.join(output_dir, "01_initial.png"))
# 2. After some interaction (customize per game)
game.wait_seconds(2.0)
game.sc