Initial Fyrox project

This commit is contained in:
Alexey 2025-07-08 17:43:03 +03:00
commit 27d327933e
23 changed files with 5633 additions and 0 deletions

14
executor-wasm/README.md Normal file
View file

@ -0,0 +1,14 @@
## Build instructions
1. Make sure you have `wasm32-unknown-unknown` target installed in rustup (if not, do: `rustup target add wasm32-unknown-unknown`)
2. Make sure you have `wasm-pack` installed (if not, do: `cargo install wasm-pack`)
3. To build the executor, do: `wasm-pack build --target web --release`
## How to run the game on localhost
1. Make sure you have `basic-http-server` installed (if not, do: `cargo install basic-http-server`).
2. Clone assets to the `executor-wasm` directory. Alternatively, clone everything except `Cargo.toml` and `src` directory
to the root of your project (`../`).
3. Execute `basic-http-server` in `executor-wasm` directory (or in root folder if you you've used alternative path).
If everything has succeeded, open a web browser at http://localhost:4000/, click "Start" button and your game shoud load.