MyGit

cloudwu/skynet

Fork: 4134 Star: 13031 (更新于 2024-05-29 15:46:30)

license: MIT

Language: C .

A lightweight online game framework

最后发布版本: v1.7.0 ( 2023-11-13 15:14:52)

GitHub网址

skynet logo

Skynet is a multi-user Lua framework supporting the actor model, often used in games.

It is heavily used in the Chinese game industry, but is also now spreading to other industries, and to English-centric developers. To visit related sites, visit the Chinese pages using something like Google or Deepl translate.

The community is friendly and almost all contributors can speak English, so English speakers are welcome to ask questions in Discussion, or submit issues in English.

Build

For Linux, install autoconf first for jemalloc:

git clone https://github.com/cloudwu/skynet.git
cd skynet
make 'PLATFORM'  # PLATFORM can be linux, macosx, freebsd now

Or:

export PLAT=linux
make

For FreeBSD , use gmake instead of make.

Test

Run these in different consoles:

./skynet examples/config	# Launch first skynet node  (Gate server) and a skynet-master (see config for standalone option)
./3rd/lua/lua examples/client.lua 	# Launch a client, and try to input hello.

About Lua version

Skynet now uses a modified version of lua 5.4.6 ( https://github.com/ejoy/lua/tree/skynet54 ) for multiple lua states.

Official Lua versions can also be used as long as the Makefile is edited.

How To Use

最近版本更新:(数据更新于 2024-05-10 02:41:56)

2023-11-13 15:14:52 v1.7.0

2022-11-17 15:17:00 v1.6.0

2021-11-09 14:02:51 v1.5.0

2020-12-10 14:40:30 v1.4.0

2019-12-31 10:41:13 v1.3.0

2018-11-06 11:13:58 v1.2.0

2017-10-31 11:30:42 v1.1.0

2016-07-11 19:48:42 v1.0.0

2016-07-04 16:40:21 v1.0.0-rc5

2016-06-13 15:23:22 v1.0.0-rc4

cloudwu/skynet同语言 C最近更新仓库

2024-06-24 22:00:55 jart/cosmopolitan

2024-06-13 07:38:41 obsproject/obs-studio

2024-06-10 10:36:22 EdgeTX/edgetx

2024-06-08 17:50:27 ventoy/Ventoy

2024-06-08 11:28:32 lizongying/my-tv

2024-06-07 17:28:28 espressif/esp-idf