Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Gigantic Refactor#137

Merged
aevyrie merged 88 commits intobetafrom
refactor
Dec 15, 2022
Merged

Gigantic Refactor#137
aevyrie merged 88 commits intobetafrom
refactor

Conversation

@aevyrie
Copy link
Copy Markdown
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 <[email protected]>

* Apply suggestions from code review

Rename `EventFrom` to `ForwardedEvent`

Co-authored-by: colepoirier <[email protected]>

* 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 <[email protected]>
aevyrie added a commit that referenced this pull request May 3, 2023
* Gigantic Refactor (#137)

---------

Co-authored-by: colepoirier <[email protected]>
Co-authored-by: Aceeri <[email protected]>
Co-authored-by: Nicola Papale <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants