Comments (6)
So it's basically pause replication after specific tick? Make sense to me.
I think it should be done globally and once we will have rooms - per room.
from bevy_replicon.
No longer relevant after #16.
from bevy_replicon.
This is still relevant, #116 still scans the entire world every tick even if there is nothing to replicate.
from bevy_replicon.
But there is not such thing as last changed tick. I feel like it's something that should be solved on Bevy side. They considering adding change detection on archetype and entity levels.
from bevy_replicon.
Right, that's why I said "it is [sometimes] feasible to manually track the last tick where something in the world was modified".
from bevy_replicon.
Instead of global last-change tick, we could do TickPolicy::Manual
and add a system that can be manually scheduled which resends the last-buffered component updates that haven't been acked (EDIT: acks are tracked per-update message so this works out well).
Since renet uses Bytes, we can just store a copy per client. Very cheap, no need to allocate again.
from bevy_replicon.
Related Issues (20)
- Client reconnect cleanup HOT 19
- Removals in `PostUpdate` HOT 1
- Use `trace!` or `debug!` for errors on server that can be caused by clients
- Place despawns before component removals
- Serialize into a single continuous buffer HOT 2
- Update message acks cleanup
- 2 questions HOT 2
- Fixed-list clients
- Value-diff compression
- Allow out-of-order event registration HOT 3
- Replication priority HOT 2
- Bevy v0.13 HOT 3
- Init message header
- Minor documentation error HOT 1
- Why drain mapped client events? HOT 1
- Document protocol
- Use `bevy` subcrates, ie `bevy_ecs` HOT 2
- Implement `With` and `Without` filters for replication groups
- Use a single system for events HOT 2
- Use `u16` for ticks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy_replicon.