-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Editor] Finish first pass at editor GUI
Fixes #419
- Loading branch information
1 parent
4219b67
commit 901a0c9
Showing
7 changed files
with
81 additions
and
72 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
This file was deleted.
Oops, something went wrong.
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
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,22 @@ | ||
# Hotham Editor | ||
> 🚧 **UNDER CONSTRUCTION** 🚧 | ||
> | ||
> **WARNING**: Even more so than the rest of Hotham, this crate is under *heavy* construction. While it is technically usable in its current state its design may change: at any time. You have been warned! | ||
## Future plans | ||
The ideal state for the Hotham editor is that it will make it easier to build VR games. That's a pretty ambitious goal, but that is, after all, the whole *point* of Hotham. | ||
|
||
Game Editors are notoriously tricky pieces of technology to define, but here are a couple of things we'd like to be able to do: | ||
|
||
1. Define the *initial state* for some part of a game (eg. a "scene" or a "level") | ||
1. Inspect the *current state* of the game to debug it | ||
|
||
That shouldn't be too hard, right? | ||
|
||
It's also worth noting that the editor will *completely replace* Hotham simulator. | ||
|
||
## Current state | ||
Currently, it's possible to do the following: | ||
|
||
- Run `simple-scene-example` with the `editor` feature | ||
- Manipulate the transform of an entity |
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
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
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 |
---|---|---|
@@ -1,6 +1,11 @@ | ||
Write-Output "All your OpenXR are belong to crab" | ||
${Env:RUST_BACKTRACE} = 1 | ||
|
||
Write-Output "Starting editor.." | ||
Start-Job -ScriptBlock { cargo run --bin hotham-editor } | ||
Start-Sleep -Seconds 1 | ||
|
||
Write-Output "Sleeping.." | ||
Start-Sleep -Seconds 5 | ||
|
||
Write-Output "Starting game.." | ||
cargo run --release --bin hotham_simple_scene_example --features editor |