Repository navigation
Play: Game view beside the Scene view, both live - #56
Merged
Merged
Conversation
While the game runs the viewport splits into Scene and Game instead of switching between them, so the scene stays editable with the game on screen. The split picks side by side or stacked by whichever gives the 4:3 game more room, and the bar between them drags. A click in either view gives it the keyboard; keyboard pad input goes to the game only while the Game view has focus, a gamepad always does.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While the game runs, the viewport splits into a Scene view and a Game view, both drawn every frame, so the scene stays editable with the game on screen. Side by side or stacked, whichever gives the 4:3 picture more room; the bar between them drags.
A click in either view gives it the keyboard. The keyboard drives pad 1 only while the Game view has focus, a gamepad always does. Checked by reading the pad word redux sees in the shared block with Z held: game focused 0xbfff, scene focused 0xffff, and 0xbfff again with the focus check removed.
First step of live editing during Play; edits reaching the running game come next.