mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
4b19c76272
Just adding the mannequin from Scott into the main branch so that it can be used. - added the mannequin.gltf - also now requiring the file extention when selecting file to load. This is to add flexability with file selection. Let me know if this is a bad idea.
20 lines
536 B
Rust
20 lines
536 B
Rust
use bevy::{app::Update, window::close_on_esc};
|
|
use studio::{StudioMode, ViewportSize};
|
|
|
|
fn main() {
|
|
// Edit the arguments here to change the default startup scene or skybox
|
|
let mut app = studio::start_internal(
|
|
"Mannequin.gltf",
|
|
"gum_trees_4k",
|
|
"", // ignored for non-WASM
|
|
"Storyteller Studio",
|
|
ViewportSize::default(),
|
|
StudioMode::Editor,
|
|
);
|
|
|
|
// Add any additional systems, resources, etc. for local debugging
|
|
app.add_systems(Update, close_on_esc);
|
|
|
|
app.run();
|
|
}
|