Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

uloop-replay-input

/uloop-replay-input

Odtwarza nagrane wejście z klawiatury i myszy w PlayMode, do dokładnego odtworzenia rozgrywki i testów E2E.

Repozytorium
uLoopMCP ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Odtwarza nagrane wejście z klawiatury i myszy w PlayMode, do dokładnego odtworzenia rozgrywki i testów E2E.

Oryginalny opis (EN)

Replay recorded PlayMode keyboard and mouse input. Use for exact gameplay reproduction, E2E runs, or consistent demos from JSON recordings.

Jak działa

  1. Usage
  2. Parameters
  3. Deterministic Replay
  4. Prerequisites
  5. Output
Sekcje z nagłówków SKILL.md, w oryginale · 57 linii, 320 słów
Podgląd SKILL.md
---
name: uloop-replay-input
toolName: replay-input
description: "Replay recorded PlayMode keyboard and mouse input. Use for exact gameplay reproduction, E2E runs, or consistent demos from JSON recordings."
---

# uloop replay-input

Replay recorded keyboard and mouse input during PlayMode. Loads a JSON recording and injects input frame-by-frame via Input System with zero CLI overhead. Supports looping and progress monitoring.

Create recording JSON files in the Unity Editor from **Window > Unity CLI Loop > Recordings** with **Start Recording** and **Stop Recording**. There is no CLI command for recording input.

## Usage

```bash
# Start replay (auto-detect latest recording)
uloop replay-input --action start

# Start replay with specific file
uloop replay-input --action start --input-path scripts/my-play.json

# Start replay with looping
uloop replay-input --action start --loop

# Check replay progress
uloop replay-input --action status

# Stop replay
uloop replay-input --action stop
```

## Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `--action` | enum | `start` | `start` - begin replaying, `stop` - stop mid-way, `status` - check progress |
| `--input-path` | string | auto | Path to the recording JSON. When empty, auto-detects the latest recording in `.uloop/outputs/InputRecordings/` |
| `--no-show-overlay` | flag | - | Hide replay progress overlay |
| `--loop` | flag | - | Loop continuously |

## Deterministic Replay

Replay injects the exact same input frame-by-frame, but the game must also be deterministic to produce identical results. If replay output must be compared across runs, read [references/deterministic-replay.md](references/deterministic-replay.md) before interpreting failures.

## Prerequisites

- Unity must be in **PlayMode**
- **Input System package** (`com.unity.inputsystem`) must be installed; this tool only works with the New Input System.

## Output

Returns JSON with:

- `Success`: Whether the operation succeeded
- `Message`: Status message
- `Action`: Echoes which action was executed (`start`, `stop`, or `status`)
- `InputPath`: Path to recording file (nullable string; populated on `start` only)
- `CurrentFrame`: Current replay frame index (nullable int)
- `TotalFrames`: Total frames in the recording (nullable int)
- `Progress`: Replay progress (nullable float in 0.0 – 1.0)
- `IsReplaying`: Whether replay is currently active (nullable bool)
Pliki w paczce (2)
  • SKILL.md 2 KB
  • references/deterministic-replay.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie uloop-replay-input.

Identyczna treść występuje jeszcze w 2 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 24096ac9c3ae (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100uloop-simulate-mouse-input
    Symuluje kliknięcia, długie przytrzymanie, ruch i przewijanie myszy w PlayMode na potrzeby sterowania w grze.
  • 100uloop-simulate-keyboard
    Symuluje naciśnięcia klawiszy w PlayMode przez Unity Input System, np. WASD i spację, także z przytrzymaniem.
  • 100input-system
    Obsługuje wejście gracza w Godot na klawiaturze, myszy, gamepadzie i dotyku: akcje wejścia, wirtualne joysticki, tryby myszy i system zmiany przypisań.
  • 100gameplay-recording-replay
    Buduje deterministyczny artefakt testowy nagrywania i odtwarzania rozgrywki dla Unity, Unreal i Godot: nagranie sesji, zapis na dysk, odtworzenie co do bitu i porównanie stanu gry z oryginałem.
  • 100input-keyboard-mouse-touch
    Obsługuje wejście użytkownika w Phaser 4: klawisze, kliknięcia i ruch myszy, dotyk, wskaźniki, przeciąganie, obszary trafień, obiekty interaktywne i gamepady.
  • 100unity-ui
    Prowadzi testy UI w Unity: odczytuje strukturę uitree, generuje testy E2E w pytest i przenosi je do PlayMode.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.