universeodon.com is part of the decentralized social network powered by Mastodon.
Be one with the #fediverse. Join millions of humans building, creating, and collaborating on Mastodon Social Network. Supports 1000 character posts.

Administered by:

Server stats:

3.5K
active users

Learn more

#bevy

18 posts17 participants1 post today

🎆 Bevy Hanabi v0.15.0 is out!

Following the usual release pattern, v0.15.0 is a major release with amazing new features:

➡️ New "hierarchical" effect feature allowing with GPU spawn event, to allow an effect to trigger particle spawning into another effect
➡️ A rewrite of the ribbons/trails implementation with explicit particle sorting. This replaces the confusing "group" API.

github.com/djeedai/bevy_hanabi

📦crates.io/crates/bevy_hanabi/0
🦀github.com/djeedai/bevy_hanabi

Okay, so - a solution that works well for us in #bevy with Orthographic cameras, since we generally design for 1080p and scale + letter/pillarbox as required: pastebin.com/S51zTP3C

Basically force `scaling_mode` to `Fixed {width: 1920, height: 1080}` and `scale` to `1.0`

above solution is incomplete, will not play nice on ratios wider than 16:9 or resolutions smaller than 1080p, but works okay on various systems/displays my coworkers and I tested on.

...left as an exercise for the reader 🙃

Pastebina way to scale a bevy ortho cam - Pastebin.comPastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

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.

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

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.