Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions examples/pong/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
# Pong example

## Launching


## Data regeneration
Before playing, you will need to generate the data

```sh
cargo m run --bin runtime-srv --features=standalone -- --manifest=examples/pong/data/runtime/game.manifest --root-asset="(1d9ddd99aad89045,b3440a7c-ba07-5628-e7f8-bb89ed5de900)"
cargo m run --bin pong-rebuild-data
```

## Editing data
## Play pong

```sh
cargo m run --bin editor-srv -- --project-root=./target/data/workspaces/pong --repository-name=examples-pong --manifest=examples/pong/data/runtime/game.manifest --scene "/scene.ent" --build-output-database-address=./target/output_db
cargo m run --bin editor-client
cargo m run --bin runtime-srv --features=standalone -- --manifest=examples/pong/data/runtime/game.manifest --root-asset="(1d9ddd99aad89045,b3440a7c-ba07-5628-e7f8-bb89ed5de900)"
```

## Data regeneration
## Edit the pong sample in the editor

```sh
cargo m run --bin pong-rebuild-data
cargo m run --bin editor-srv -- --project-root=./target/data/workspaces/pong --repository-name=examples-pong --manifest=examples/pong/data/runtime/game.manifest --scene "/scene.ent" --build-output-database-address=./target/output_db
cargo m run --bin editor-client
```

## Data exploration
Expand Down