web-sys
.node.js
with npm
tools installed (https://nodejs.org/)wasm-pack
toolset installed (https://rustwasm.github.io/wasm-pack/installer/)oxygengine-ignite
application installed (from project repository releases)Create Oxygen Engine project with oxygengine-ignite
:
bash
cd /path/to/parent/
oxygengine-ignite new <project-name>
Which will create default web game project using web-composite-game
preset.
Then you have to go to your project directory and run npm install
to install all nodejs dependencies.
You can create projects with different presets:
- desktop-headless-game - typical server-like project without graphics.
using:
bash
cd /path/to/parent/
oxygengine-ignite new <project-name> -p desktop-headless-game
You can also tell it where to create project:
bash
oxygengine-ignite new <project-name> -d /path/to/parent/
bash
npm start
/dist
folder):
bash
npm run build
bash
cargo build --all