You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used to have a Visible component, IIRC, that woud allow you to make a sprite invisible, but that doesn't exist anymore. Do we have a plan for a way to make sprites invisible yet?
I was thinking for now it would be simple enough to add a visible: bool field to the Sprite component if we didn't have any other plans yet. Or we could add a Visible component again.
I'm using the pipelined renderer the upcomming version of Bevy Retrograde, but I need a way to programatically hide sprites. As far as my needs, it doesn't need to be the final solution, but something that's good enough for right now that isn't too controversial.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We used to have a
Visible
component, IIRC, that woud allow you to make a sprite invisible, but that doesn't exist anymore. Do we have a plan for a way to make sprites invisible yet?I was thinking for now it would be simple enough to add a
visible: bool
field to theSprite
component if we didn't have any other plans yet. Or we could add aVisible
component again.I'm using the pipelined renderer the upcomming version of Bevy Retrograde, but I need a way to programatically hide sprites. As far as my needs, it doesn't need to be the final solution, but something that's good enough for right now that isn't too controversial.
Beta Was this translation helpful? Give feedback.
All reactions