-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows as Entities
#4947
Closed
Closed
Windows as Entities
#4947
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3e5ff59
Replacing `Window_id` with `Entity`
Weibye 07da9f5
Adding `WindowCommandsExtensions` for `Commands`
Weibye 0c11956
Exploding `Window` into multiple coponents
Weibye ee35b2a
Adding `WindowCommands` to replace methods previously existing on `Wi…
Weibye f9a4529
Adding new `ExitCondition`
Weibye 0e0c43c
Updating bevy_window to follow new pattern more
Weibye 9325098
Deleting `Windows` as this should now be replaced by a query
Weibye b1f57bb
Split `change_window` system into multiple system that handle `Window…
Weibye 29453d7
Start reworking `winit_runner()`
Weibye b64d741
Add initial sketch of example
Weibye 1e1599b
Adding notes
Weibye 00cee99
Fully implement spawning of created window
Weibye 7c4b815
Start updating `bevy_render` to new patterns
Weibye 317fef3
More cleanup of winit main loop
Weibye 28944d5
minor fix
Weibye 1d95cdb
And more tweaks
Weibye 8df34dc
continuing refactor of winit-loop
Weibye 537e4b0
Finish setting up components for new windows
Weibye c97365a
cleanup
Weibye 0e05569
Start attempting to get rendering to compile again
Weibye d852a55
Updating `bevy_text`
Weibye dc6875c
Fixing up `bevy_ui`
Weibye 0696336
Cleanup
Weibye aca8773
Fixing up `bevy_ui`
Weibye f6f793a
fixing examples
Weibye c2b99cd
Fixing up more examples
Weibye 98da3ce
Every finally compiles!
Weibye 60e81be
Fixing runtime bugs
Weibye 5099960
Wrangling with timing issues in render
Weibye 6182f9f
Window setup operations need to happen during build-time
Weibye c409ceb
Further attempts at spawning components in build-time
Weibye 542660a
Using system-state apply
Weibye File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed to be able to not grant
WindowCommands
on an entity that does not exist, see: https://github.com/bevyengine/bevy/pull/4947/files#diff-9e0af223dcea6a0265d880b70764a4362c0c84438fb28f5f558a369cda91021cR27