-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|