A community for discussion around the bevy game engine! https://bevyengine.org/
🌉 bridged from !bevy@programming.dev by Tidepool
A community for discussion around the bevy game engine! https://bevyengine.org/
🌉 bridged from !bevy@programming.dev by Tidepool
Reverse Engineered Skate 3 Bevy Port playable on browsers
Playable clean room asset version here https://andrewnakas.github.io/skate3-cleanroom/
🧬 Bevy Replicon 0.39.0 is out!
It’s a crate for server-authoritative networking. We use it for Simgine, but it's general-purpose. The main highlight is improved visibility filters. They now allow you to express much more complex visibility patterns. The release also includes various ergonomic improvements and renames. I need the Cart's bsn branch for my game, so I'll open a draft PR targeting it for all my crates soon. I just wanted to draft a new release with all the accumulated breaking changes first. See the changelog for the full list of changes. 📜Full changelog 📦bevy_replicon
Implemented time control
cross-posted from: https://lemmy.ml/post/40885978
Last week, I updated all my crates to Bevy 0.18 RC and finally started working on the game! As I mentioned earlier, I'm starting from scratch since I want to change too many things. But the old code helps me as a reference. Finished implementing game speed controls today. Had to make a few changes to BEI to make it play nicely with it.
🎮 Bevy Enhanced Input 0.24.0 is out!
An input manager for Bevy, inspired by Unreal Engine's Enhanced Input.
We use it for Simgine, but it's general-purpose.
Highlights
• Toggle input condition.
• Reflection is now feature-gated.
• Generic wrapper types are now automatically registered by the crate for use in the inspector/editor.
The crate is planned for upstreaming in Bevy, so please try it out and share your feedback.
📜Full changelog
📦bevy_enhanced_input
🎮 Bevy Enhanced Input 0.23.0 is out!
An input manager for Bevy, inspired by Unreal Engine's Enhanced Input. We use it for Simgine, but it's general-purpose. Highlights • Command-based API for mocking:
rust
commands
.entity(context)
.mock_once::<Player, Jump>(ActionState::Fired, true);• ActionSettings::consume_input now defaults to false. This should make the input less footgunny.
The crate is planned for upstreaming, so please try it out and share your feedback.
📜Full changelog
📦bevy_enhanced_input
🧬 Bevy Replicon 0.35.0 is out!
It’s a crate for server-authoritative networking. We use it for Simgine, but it's general-purpose.
Highlights
• Priority system inspired by Unreal Engine's Iris. This lets you control how often mutations are sent.
• Replication filters. When registering component(s) for replication, you can now attach Query filters using *_filtered functions:
rust
app.replicate_filtered::<Transform, Or<(With<Player>, With<Enemy>)>>()
We had to add *_filtered because functions can't have default generic parameters like structs (which is how it works with Query).
• Replication as another struct. This lets you define a struct, implement conversions via From, add serde derives, and register it like this:
rust
app.replicate_as::<Transform, TransformWithoutScale>();
Using replicate_with with custom ser/de functions is still possible and useful, but for simple cases replicate_as is nicer.
• Ergonomic mapping for entities spawned on the client. When an entity is spawned on the server, clients automatically spawn a new entity and map IDs.
But sometimes you may need to predict spawning on the client or load a level independently on both client and server.
This is where the newly added Signature component comes in. It calculates a hash for the entity to uniquely identify it based on component(s) and/or a seed.
This way, when the server replicates a new entity to a client and its hash matches an already existing entity, they will be mapped.
rust
commands.spawn(Cell { x, y }, Signature::of::<Cell>());• Migration to Bevy states from custom run conditions. This feels more natural and allows the use of things like StateScoped(ClientState::Connected).
We also revamped the examples!
I already showcased a boids example (https://lemmy.ml/post/35170308)
for deterministic replication, but later realized that a silly mistake in the code left the boids half-blind 😅
So here's a new video where they can properly see each other.
This release targets Bevy 0.16. I'm starting work on the 0.17 RC now.
📜Full changelog
📦bevy_replicon
Updated bevy_replicon and bevy_enhanced_input to Bevy 0.18
cross-posted from: https://lemmy.ml/post/41662086
There are no breaking changes. However,
bevy_enhanced_inputalso received a 0.22 release with a few minor breakages. It's recommended to upgrade to 0.21 first during the Bevy migration, and then proceed with 0.22.
🎮 Bevy Enhanced Input 0.19.1 is out!
An input manager for Bevy, inspired by Unreal Engine's Enhanced Input.
We use it for Simgine, but it's general-purpose.
I usually don't write about patches, but this one worth mentioning.
Highlights
• Combo input condition to bind a sequence of actions. You can use it for things like double-clicks or Vim-like shortcuts.
• Pulse::with_initial_delay and Pulse::initial_delay to add a special delay before the first repeat. This can be used to implement key repeat.
• Reworked quick start guide - check it out if you're new to the library. Huge thanks to Alice for it 🙂
The crate is planned for upstreaming, so please try it out and share your feedback.
📜Full changelog
📦bevy_enhanced_input
🧬 Bevy Replicon 0.37.0 is out!
It’s a crate for server-authoritative networking. We use it for Simgine, but it's general-purpose. This release features a new visibility system. It's component-driven, so you don't have to maintain visibility separately from your gameplay logic. And it now supports both component and entity visibility. It took quite some time to refactor the codebase to support this, but I'm very happy with the result 🙂 See the changelog for the full list of changes. 📜Full changelog 📦bevy_replicon
Implemented Boids example for bevy_replicon
While waiting for Bevy 0.17, I'm having fun working on examples for bevy_replicon. It’s a crate for server-authoritative networking. We use it for Simgine, but it's general-purpose. Implemented Boids as an example to showcase deterministic replication. https://github.com/simgine/bevy_replicon/pull/554
Bevy on PSX
From @bushRAT's post in Discord:
One patch to LLVM, a compilation of
rustcfor a custom toolchain, and a lot of help frompsx-sdk-rs, and I now have Bevy on the PlayStation One! Gamepad input fully integrated withbevy_input, double-buffered rendering, and logging piped to emulator debug logs. Might try and get 3D rendering going next!
🎮 Bevy Enhanced Input 0.18.0 is out!
An input manager for Bevy, inspired by Unreal Engine's Enhanced Input.
We use it for Simgine, but it's general-purpose.
Another small release with QoL improvements.
Highlights
• Binding::AnyKey to assign any button.
• Cooldown input condition.
• Mocking can be used even without InputPlugin.
📜Full changelog
📦bevy_enhanced_input
I've Built a Quest System - Maiu Online - Ep: 13
Not mine, but the author posted the link in Discord and I decided to share it here.
🎮 Bevy Enhanced Input 0.12.0 is out!
It's an input manager for Bevy, inspired by Unreal Engine Enhanced Input.
We use it for Project Harmonia, but it's general-purpose.
A relatively small release with several ergonomic improvements, such as using BevyError instead of panic-based APIs, along with some bug fixes.
📜Full changelog
📦bevy_enhanced_input
There is a bevy game in the steam next fest atm
Some automationgame in the spirit of factorio or satisfactory completly made in bevy by a small team. Right now you can play a demo and wishlist but it says to release this year still. https://store.steampowered.com/app/3615720/Exofactory/
🎮 Bevy Enhanced Input 0.15.0 is out!
An input manager for Bevy, inspired by Unreal Engine's Enhanced Input. We use it for Project Harmonia, but it's general-purpose. This update features a big rewrite into a component-based API. The core concepts remain the same, but are now expressed through ECS. It's recommended to revisit the quick start guide. Showcase:
rust
// Spawn a camera with an input context.
commands.spawn((
Camera3d::default(),
Transform::from_xyz(-2.5, 4.5, 9.0).looking_at(Vec3::ZERO, Vec3::Y),
FlyCam,
// Similar to `related!`, but you only specify the context type.
// Actions are related to specific context since a single entity can have multiple contexts.
actions!(FlyCam[
(
Action::<Move>::new(),
// Conditions and modifiers as components.
DeadZone::default(), // Apply non-uniform normalization that works for both digital and analog inputs, otherwise diagonal movement will be faster.
SmoothNudge::default(), // Make movement smooth and independent of the framerate. To only make it framerate-independent, use `DeltaScale`.
Scale::splat(0.3), // Additionally multiply by a constant to achieve the desired speed.
// Bindings are entities related to actions.
// An action can have multiple bindings and will respond to any of them.
Bindings::spawn((
// Bindings like WASD or sticks are very common,
// so we provide built-in `SpawnableList`s to assign all keys/axes at once.
Cardinal::wasd_keys(),
Axial::left_stick()
)),
),
(
Action::<Rotate>::new(),
Bindings::spawn((
// You can attach modifiers to individual bindings as well.
Spawn((Binding::mouse_motion(), Scale::splat(0.1), Negate::all())),
Axial::right_stick().with((Scale::splat(2.0), Negate::x())),
)),
),
// For bindings we also have a macro similar to `children!`.
(Action::<CaptureCursor>::new(), bindings![MouseButton::Left]),
(Action::<ReleaseCursor>::new(), bindings![KeyCode::Escape]),
]),
));Advantages of the new API:
• You can use Bevy scenes to describe bindings. When BSN lands, we'll get hot-reloadable actions for free. In UE, this is also expressed via Blueprints.
• Everything is inspectable.
• Modifiers and conditions are now accessible in systems, allowing you to adjust or read their data if needed.
• Actions can be queried - especially convenient when using Single.
• Things that didn't benefit from being static, such as prioritization and action settings, are now dynamic.
• Things that were "inspired by Bevy," such as how bindings were defined, modifiers and presets, now actually utilize the Bevy API - meaning new users don't have to learn additional concepts.
• The crate logic is much simpler.
Huge thanks to Alice for reviewing this monstrous +6,127 −5,738 PR!
📜Full changelog
📦bevy_enhanced_input