MyGit

cloudwu/skynet

Fork: 4205 Star: 13348 (更新于 2024-11-26 15:30:45)

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-09-17 12:40:38)

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-12-21 10:48:05 EdgeTX/edgetx

2024-12-15 21:46:59 arendst/Tasmota

2024-12-13 20:23:33 XITRIX/Moonlight-Switch

2024-12-11 15:17:04 curl/curl

2024-12-07 10:42:25 libsdl-org/SDL

2024-12-05 06:52:52 openwrt/openwrt