mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-07 00:18:06 +00:00
Danny's Bevy exploration
- Rust 59.2%
- TypeScript 34.9%
- SCSS 4.1%
- JavaScript 1%
- HTML 0.3%
- Other 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
This PR restores the temporary "Video Style Preview" dialog that was lost with #119, now triggered by the "Stylize" CTA button in the main toolbar. Also removes some unused code from `AppElement`. |
||
| .cargo | ||
| .github/workflows | ||
| .vscode | ||
| framework | ||
| image-generator-demo | ||
| react-frontend | ||
| scripts | ||
| studio | ||
| studio-bvh | ||
| studio-frontend | ||
| studio-ui | ||
| studio-web | ||
| utility | ||
| vite-multiple-assets | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| Cargo.lock | ||
| Cargo.toml | ||
| ci-image-gen.sh | ||
| ci.sh | ||
| Dockerfile | ||
| editor.ron | ||
| netlify.toml | ||
| nx.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| test_headless_mode.sh | ||
| tsconfig.base.json | ||
Storyteller Studio
Installing dependencies
- Install Rust
- Install Node.js LTS
- Run
npm ci
Building / Running / Testing stuff
This repo is managed by Nx, a polyglot build system and monorepo framework written in TypeScript. After installing dependencies, dev tasks can be run through the Nx CLI:
npx nx <command> <project> [options]
# OR
npx nx run <project>:<command> [options]
For example, to compile the Bevy app to WebAssembly and serve it via the web frontend project, run:
npx nx serve studio-frontend
You'll need to install the wasm compiler for Rust:
rustup target add wasm32-unknown-unknown
Projects are located in directories at the workspace root. The list of commands
supported by a given project can be found under the target property of its
project.json file, which defines the Nx configuration for that project.
The full list of options for a given command can be discovered by passing the
--help flag:
npx nx <command> <project> --help