this post was submitted on 21 Jan 2024
14 points (93.8% liked)

Bevy

236 readers
1 users here now

A community for discussion around the bevy game engine! https://bevyengine.org/

founded 11 months ago
MODERATORS
14
Love Bevy asset reloading feature! (files.mastodon.social)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

To implement object buttons reloading when changing metadata files, I simply added a system that respawns buttons when metadata changes. Complete separate preview system automatically updates the image. So convenient.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 10 months ago (1 children)

Are you using bevy_ui to produce and manage the buttons or a different UI framework?

[–] [email protected] 1 points 10 months ago

Yes, it's bevy_ui.

I used bevy_egui in early Bevy days, but then migrated to their official UI.

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)

Letting you know that the attached file seems to be broken. Doesnt show when visiting it

Edit: ok for some reason its working for me now, just doesn't have a preview

[–] [email protected] 2 points 10 months ago

My instance doesn't allow to load videos, so I posted it on my Mastodon and cross-posted it here :)