Skip to content
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

Gigantic Refactor #137

Merged
merged 88 commits into from
Dec 15, 2022
Merged

Gigantic Refactor #137

merged 88 commits into from
Dec 15, 2022

Conversation

aevyrie
Copy link
Owner

@aevyrie aevyrie commented Jun 1, 2022

Fully decouples picking from both input and picking backend. Adds the ability to place event listeners on entities, and easy event-forwarding to entities on interaction.

@aevyrie aevyrie changed the base branch from main to beta December 15, 2022 09:25
@aevyrie aevyrie merged commit 78b05b7 into beta Dec 15, 2022
@aevyrie aevyrie deleted the refactor branch December 15, 2022 09:38
nicopap pushed a commit to devildahu/bevy_mod_picking that referenced this pull request Jan 19, 2023
* Simplify highlighting assets further

* WIP commit to capture refactor progress

* more wip

* wip

* wip

* Update LICENSE

* input refactor

* functioning cursor hits with raycast backend

* hovering working, selection buggy

* system ordering cleanup

* selection wip

* fixed inputs and hits

* fix click events

* event based picking

* explicitly track interaction state

* event based interaction rewrite

* Get multi window example working

* cleanup

* more cleanup

* working bubbling

* command callbacks

* impl event forwarding command

* gltf picking

* drag events

* remove unused module

* cleanup

* better backend names

* Split out highlight and selection as crates and make optional

* fix up examples

* clippy

* update licenses

* Fix ordering bug

* Update presentmode

* improve multi window example

* dragover and drop events

* doc comments

* Document evenrything

* refactor selection to match updated crates

* Improve selection docs

* doc polish

* improve docs

* remove unused vars from query

* add working rapier deps

* comment out reference code

* rapier backend

* Cleanup, bugfixing

* mark shader plugin as unimplemented

* Add some example comments

* Add more description for pointer ids and bundles

* Update crates/backends/bevy_picking_shader/NOTES.md

Co-authored-by: colepoirier <37318670+colepoirier@users.noreply.github.com>

* Apply suggestions from code review

Rename `EventFrom` to `ForwardedEvent`

Co-authored-by: colepoirier <37318670+colepoirier@users.noreply.github.com>

* Add more documentation

* use git instead of local dep

* fix dev deps for examples

* update crate releases

* review feedback, pointer bundle docs

* forwarding cont

* bevy ui picking backend

* working bevy ui impl

* Add drag and drop

* Fix tests and docs

* cleanup

* review feedback

* review feedback

* touch fixes

* fix touch input

* wip debugging touch raise events

* more notes

* more notes

* refactoring

* fix missing touch click/drop events

* cleanup

* improve drag and drop example

* update drag and drop example

* remove errant import

* remove dragover debug spam

* fix drag leave bug caused by drag over only using a single entity

* minor fixes

* fix multiselect

* Add debug text

* license and font

* bevy 0.9

* Impl sprite picking, add pointer debug reticle, tidy examples

* CI fixes

Co-authored-by: colepoirier <37318670+colepoirier@users.noreply.github.com>
aevyrie added a commit that referenced this pull request May 3, 2023
* Gigantic Refactor (#137)

---------

Co-authored-by: colepoirier <37318670+colepoirier@users.noreply.github.com>
Co-authored-by: Aceeri <conmcclusk@gmail.com>
Co-authored-by: Nicola Papale <26321040+nicopap@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants