r/bevy • • May 21 '26

Bevy Game Engine Explained Visually

Bevy Game Engine Explained Visually
A visual tour of how Bevy helps you compose complex, emergent games from small independent systems and a data-driven architecture.

261 Upvotes

10 comments sorted by

7

u/cark May 21 '26

In this video, you model an actor states using bevy states, but i was under the impression the bevy state facilities are a global thing. I'd say they're not for per entity states. I'd love to be wrong on this, am I ?

6

u/febinjohnjames May 21 '26

You are not wrong, I messed up.

3

u/cark May 21 '26

Ah, i'm not going senile yet ! Thanks !

2

u/febinjohnjames May 21 '26

I have corrected it.

2

u/Tend2UrConfig May 24 '26

New to Bevy and game dev in general and have not gotten into Bevy States yet, but I'm guessing that declaring an enum as a resource (rather than State) with implementations or other systems to define the state machine would be the way to go?

2

u/cark May 24 '26

Resources are global too. The enum you mention would be a component of the entity. But then you have to do the state management part yourself. Transitions, events, not to mention the hierarchical stuff that's implemented in bevy states. That's the core of my lament, i'd rather be lazy and use the bevy states, but these can only be global.

1

u/thekwoka Jun 10 '26

if you wants states/state machine on an entity, make it a component/set of components.

15

u/TheLexoPlexx May 21 '26

Are those videos?

Missed opportunity to compile to wasm.

But still kinda cool.

5

u/0xMnlith May 21 '26

They are canvas, my guess is it's made so everyone can easily render them

4

u/Comraw May 21 '26

Looks really interesting! Will watch later!