Bevy

FizzyOrange , in Bevy's Fifth Birthday

Loved the music of the boomerang game. Reasonably fun too.

bipedalsheep , in Bevy's Fifth Birthday

Happy birthday :)

jerkface , in Undo/redo functionality

unintentional cross-sbs stereogram

xoggy , in Bevy on PSX
@xoggy@programming.dev avatar

Keeping an eye on this repo. Thanks for sharing.

LuciferMorningWood , in How/why are some components created implicitly/automatically?

It's a feature called required components. Basically, you can use (components list here) attribute to say that when a component is inserted, also insert required components. I don't know if there's a documentation for it, or specifically what component requires what, personally when I'm looking for required components I'm looking at component's source and they'll be listed there (Sprite, for example https://docs.rs/bevy_sprite/0.16.0/src/bevy_sprite/sprite.rs.html#20)

Note that required components work recursively: when component requires a component that has it's own requirements, they'll also be inserted

TehPers ,

The required components are documented in the component impl block. Scroll down in docs.rs until you find impl Component and they'll show up there.

Apparently there were issues getting required components to show up at the top of the page (from my understanding anyway), so for now they live there.

PotatoesFall OP , (edited )
@PotatoesFall@discuss.tchncs.de avatar

Ah, that's it! Thank you so much.

I was digging through the systems functions, totally forgot to just look at the attributes. Not that experienced with rust yet :P

codexarcanum , in How/why are some components created implicitly/automatically?

I'm not a bevy user but I'm writing a game in Rust so maybe I can help...

Looking at the docs for Screenshots in particular, it definitely looks like that system uses a few "marker" components to track state while making the screen capture.

Digging deeper into the source for the Screenshot component struct we can see what method it uses to attach these markers, and a little further into the function it uses the markers to find the screenshot entity and remove it.

I'm not sure about Sprite but probably something in the rendering system looks for and maybe applies a Transform when components are nested or added to world space? I also don't know if Bevy has a formal component hierarchy but something like that may be in play here with Sprite being a child or implementor of Transform, but that's just speculation on my part.

Hope that helps, maybe seeing how Screenshot does it will help you search in the source for Sprite to see where the Transforms are injected?

PotatoesFall OP ,
@PotatoesFall@discuss.tchncs.de avatar

Thanks so much!

I just managed to find the place where the Capturing component gets added, it's part of the extract_screenshots system in the ScreenshotPlugin.

For Sprite, another user found where this originates from, it's the require attribute.

codexarcanum ,

Nice! Glad you worked it out!

I got so excited to see a Bevy post (in the Bevy community even!) I really want to see the gamedev community here pick up and exceed reddit, SO, and other company-owned gaming forums.

PotatoesFall OP ,
@PotatoesFall@discuss.tchncs.de avatar

Ha, that's the reason I posted here. Full on expected to receive no reply for days so I was stoked to get an answer so fast!!

Chocrates , in 🎮 Bevy Enhanced Input 0.9.0 is out!

Badass, I feel like you announced 0.8.0 yesterday

shanecelis , in 🎮 Bevy Enhanced Input 0.9.0 is out!
@shanecelis@mastodon.gamedev.place avatar

@Shatur@lemmy.ml avatar Shatur Exciting! But one toot is enough. You got three dupes of this one.

Shatur OP , (edited )
@Shatur@lemmy.ml avatar

I made only a single toot on Mastodon :) You're replying to a post on Lemmy. I usually post to both Lemmy and Mastodon. They're federated, this is why you might see both. It's my Lemmy-specific profile, I use a different profile for Mastodon.

DScratch , in Konstruo - The beginnings of a scenario based town building game

This is a very cool idea. I’ll be checking it out for sure. And if I see something I can help with, I have some game dev chops I could shake the rust off of.

CodeBlooded , in 🎮 Bevy Enhanced Input 0.8.0 is out!
@CodeBlooded@programming.dev avatar

I was just getting into creating this very thing for my project. I might have to pivot and check this out!