Add events for ui element visibility
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
## What problem does this solve or what need does it fill?
Currently when updating ui elements you need to do it whenever something related to it changes.
However this isn't always ideal, especially with more computationally expensive formulas.
## What solution would you like?
Add an `EnteredView`, and `ExitedView` events for ui elements
It may also be useful to add a `InView` component so that ui elements will only update when they are in view.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by locating the existing UI element update and event/component mechanisms, then clarify the semantics of EnteredView, ExitedView, and the optional InView component; done should include agreed behavior and coverage for visibility transitions and update suppression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100