mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-23 08:16:05 +00:00
Studio Headless Mode (#36)
This PR adds the capaibility to run Stroyteller studio from the command line, rendering the result to images. This is the basic functionality, and there are somethings that I am saving for later when we make this a more fully fledged feature. Limitations: - Right now, you cannot do image output resolutions that aren't 2^n. This is a bug I plan on tackling later. If you have questions on how the command line works, use the --help argument. Let me know what you think! --------- Co-authored-by: Danny McGee <dannymcgee@gmail.com>
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
"release": false
|
||||
},
|
||||
"configurations": {
|
||||
"headless" : {
|
||||
"release" : true,
|
||||
"bin": "studio-headless"
|
||||
},
|
||||
"production": {
|
||||
"release": true
|
||||
}
|
||||
@@ -34,6 +38,12 @@
|
||||
"bin": "studio-standalone"
|
||||
}
|
||||
},
|
||||
"headless": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"command": "cargo run -p studio --bin studio-headless -- {args}",
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"executor": "@nxrs/cargo:test",
|
||||
"options": {}
|
||||
|
||||
Reference in New Issue
Block a user