Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A simple networking plugin for bevy.

License

aggyomfg/bevy_slinet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bevy_slinet

A simple networking plugin for bevy.

docs.rs Crates.io Crates.io

Features

  • You can choose TCP or UDP protocol. Adding your own protocols is as easy as implementing a few traits.
  • Multiple clients/servers with different configs (specifies a protocol, packet types, serializer, etc.)
  • De/serialization. You choose a serialization format, packet type (you probably want it to be enum), and receive events with deserialized packets.

Note: Everything in bevy_slinet is feature-gated. Make sure to enable features you need (client, server, protocol_tcp, protocol_udp, serializer_bincode, serializer_bincode_serde).

Note: you should implement keep-alive and disconnection systems yourself, or look at lobby_and_battle_servers example

Compatibility table

Plugin Version Bevy Version
0.9 0.13
0.10 0.13
0.11 0.14
0.12 0.14
0.13 0.15
0.14 0.16
0.15 0.17
0.16 0.17
main 0.17

About

A simple networking plugin for bevy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages