TeaSkittles
05/22/2023, 5:49 PMZicklag
05/23/2023, 5:08 PMZicklag
05/23/2023, 5:10 PMZicklag
05/23/2023, 5:12 PMsession.rs
. Sounds that are sent from bones are actually played here: https://github.com/fishfolk/jumpy/blob/aad4856c3385f0979fbb4d3159a7c26bff5894ff/src/session.rs#L314Zicklag
05/23/2023, 5:12 PMZicklag
05/23/2023, 5:13 PMbones_bevy_renderer
is because rollback network sessions might have different needs for audio handling and, for example, only play audio events if the inputs for that frame have been confirmed, or something like that.Zicklag
05/23/2023, 5:14 PMlenscas
05/23/2023, 6:38 PMgawlk
05/25/2023, 2:22 PMbones
, from what I gathered it's a wrapper around bevy that makes determinism and rollback super easy (which is absolutely awesome !).
So if I understand correctly I can use any network type that I want ? I saw that you guys use ggrs
for Jumpy
but isn't at all ideal for me, I need something more like renet
(suitable for 32+ players)
And lastly, much less of a dealbreaker but still good to know, would I still be able to use bevy-ecs-ldtk
easily with bones
?Pit
05/25/2023, 2:30 PMPit
05/25/2023, 2:31 PMgawlk
05/25/2023, 2:33 PMZicklag
05/25/2023, 2:35 PMerlend
05/25/2023, 2:35 PMZicklag
05/25/2023, 2:36 PMrenet
or anything else, while bones was heavily motivated by the needs of determinism and snapshotting ( and hopefully modding eventually ), nothing forces you to use it.Zicklag
05/25/2023, 2:36 PMZicklag
05/25/2023, 2:37 PMbevy-ecs-ldtk
you may or may not be able to use it, directly, but I'll explain that more.Zicklag
05/25/2023, 2:39 PMZicklag
05/25/2023, 2:39 PMSprite
component in the bones world, for example, and then the BonesBevyRenderer
plugin for Bevy will find the sprite and render it.Zicklag
05/25/2023, 2:40 PMLDtkMap
component, and then make a BonesLdtkRenderer
plugin, that uses bevy-ecs-ldtk
to render it, but you wouldn't get that two-way communication where it will create bones entities corresponding with the LDtk entities, etc. You'd lose a lot of the advantages of bevy-ecs-ldtk
.erlend
05/25/2023, 2:41 PMPit
05/25/2023, 2:43 PMPit
05/25/2023, 2:43 PMZicklag
05/25/2023, 2:44 PMbevy-simple-tilemap
](https://github.com/forbjok/bevy_simple_tilemap).Zicklag
05/25/2023, 2:44 PMZicklag
05/25/2023, 2:45 PMbevy-simpl-tilemap
, but that's hidden from the Bones world.Zicklag
05/25/2023, 2:45 PMZicklag
05/25/2023, 2:46 PMZicklag
05/25/2023, 2:47 PM