文件名称:game-demo:基于skynet的游戏小demo
文件大小:10KB
文件格式:ZIP
更新时间:2024-07-07 08:48:11
Lua
game-demo 基于skynet的游戏小demo build 确保skynet框架能运行 git clone https://github.com/cloudwu/skynet.git cd skynet make 'PLATFORM' # PLATFORM can be linux, macosx, freebsd now ./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. 将本工程放到skynet目录下,确保mysql运行,导入game.
【文件预览】:
game-demo-master
----main.lua(483B)
----config(282B)
----logind.lua(2KB)
----proto.lua(946B)
----role.lua(1KB)
----protoloader.lua(343B)
----gated.lua(4KB)
----.gitignore(223B)
----client.lua(3KB)
----game.sql(1KB)
----agent.lua(3KB)
----README.md(848B)
----database.lua(2KB)
----client_login.lua(4KB)