Crates.io | tunm |
lib.rs | tunm |
version | 0.2.1 |
source | src |
created_at | 2022-05-15 11:38:26.296105 |
updated_at | 2022-05-15 11:53:38.25801 |
description | game server for Rust |
homepage | |
repository | https://github.com/tickbh/tunm |
max_upload_size | |
id | 587097 |
size | 951,215 |
a game server for rust + lua
git clone https://github.com/tickbh/tunm.git
cd tunm
cargo build
##dependence
and then modify config/Gate_GlobalConfig.conf and config/Client_GlobalConfig.conf to config your mysql db info, and redis db info
Run these in different console
cargo run --example server # Launch first tunm node (Gate server) (default as the standalone option)
cargo run --example client # Launch a client to connect server
An open source server engine, the clients and server communications can through the td_ptotocol. Now only has the console client.
Engine framework written using Rust, game logic layer using Lua(Support the hotfix), developers do not need to re-implement some common server-side technology, allows developers to concentrate on the game logic development, quickly create a variety of games.
(tunm is designed to be multi-process distributed dynamic load balancing scheme, in theory only need to expand hardware can increase load-limit, the single machine load-limit depends on complexity of logic of the game itself.)he game itself.)
Read Wiki https://github.com/tickbh/tunm/wiki
QQ交流群:432216192