fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#bevy

19 posts18 participants1 post today

I'm really confused by how Viewports & Windows are supposed to work in #bevy especially on #macOS (or at least on my Macbook Air.)

I request a 1920x1080 "physical size" window - I receive a 3840x2160. Okay, double scale factor, makes sense..

But the actual resolution of the full screen is 2940x1912. So I won't actually get a window that size.

It does update after a frame or two, but then bevy's Window reports a physical size of 2940x1840.

Yuck. How do I get real numbers out of this?

Hey folks! I'd love to know what kind of stuff you are missing in/around the game #OutFly! :)

Some context for the poll options:

"More places" would give you more things to explore, would make space feel a little less empty.

"Cool mechanics" refers to something like landing on a moons, death of NPCs, animated clothing, ability to grab/throw, etc.

"Polishing" could mean intuitive game menus, making a trailer video, performance optimizations, Quality of Life improvements overall.

Continued thread

Alright friendos, you're all welcome to try out my pixelflut server arche-noah 🌊
(link in post below ⬇️)

Some cool facts:

  • supports all kinds of protocols 📚
  • already pretty performant, 2 GiB/s throughput and I haven't even tried benchmarking 🏃
  • written with the help of #bevy #tokio #axum and other cool projects (thanks 💕)
  • some nice statistics ui 📈📉

Give it a ride! 🏄🏊🚣

2/? ✅
3/? ✅

Continued thread

And that concludes #bevy Lint Laundry Day! I ended up getting nerd-sniped by an inconsistent API change to Bevy's `Query::many()` method, so I spent the past few hours working on github.com/bevyengine/bevy/pul.

Either way, that was a solid day of productive work. I hope you enjoyed the behind-the-scenes tour! :)

Objective
There is a pretty glaring inconsistency between Query::single() and Query::get_many()'s naming. Although they both return a Result, the later was not renamed into many(). This inconsi...
GitHubRename `get_many()` to `many()`, making it consistent with `single()` by BD103 · Pull Request #18615 · bevyengine/bevyBy BD103

Added a component-style API for bevy_enhanced_input!

It's an input manager crate for Bevy, inspired by Unreal Engine Enhanced Input.

I love our trigger-based API, but the push-style API needed improvement. Previously, users had to read values from a resource - unergonomic and a bit confusing.

Now, contexts are components! This makes our push-style API similar to LWIM while keeping all the trigger-based ergonomics 🙂

See more details in the PR:
github.com/projectharmonia/bev

Issues with the current design

While the trigger-based (push-style) API is awesome, we have an unergonomic pull-style API. Users need to access the registry, then obtain the context, and only then...
GitHubComponent-based API by Shatur · Pull Request #60 · projectharmonia/bevy_enhanced_inputBy Shatur

Presenting myself: Comp Sci bachelor in 2018, then Scala dev. Then #rust dev. mostly on #bevy, both contrib and 3rd party contracting. Culminating with my presentation of compressed datastructures at #rustfest 2024 Zurich.

Today, honestly, I've no idea who I am or what I do. Trying to find a place in the world where I can have a positive impact.