Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tong committed Dec 16, 2022
1 parent 41bc622 commit 0549429
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# armory_electron_runtime

Electron based player and html5 debug runtime for armory.


## Build + Install

Make sure `$ARMSDK` variable is set and run:
```sh
npm install
npm run build
npm run pack:linux # linux|darwin|windows
npm run install:linux # linux|darwin|windows
```
Player is now installed at `$ARMSDK/Player/electron`


## Usage

Set the command to use for launching the html5 player:
```sh
export ARMORY_PLAY_HTML5='$ARMSDK/Player/electron/armory_html5_player $ARMSDK/Player/electron/ --window ${width}x${height} $dir/debug/html5/index.html'
```

Start your project in blender and hit `Play` using the `Browser` player.

0 comments on commit 0549429

Please sign in to comment.