Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 633 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 633 Bytes

Nuuro Game Template

This is the basic boilerplate for generating a nuuro project with targets on desktop and web (wasm32-unknown-unknown target).

Building

On desktop (Windows, Linux, MacOS) simply run:

cargo build --release

For web target, run:

cargo build --target=wasm32-unknown-unknown

Running

On desktop (Windows, Linux, MacOS) simply run:

cargo run --release

For web target, first build with the instructions above and serve the html folder with a static server. For example, if you have installed node, run:

npx serve html