下载地址
https://github.com/sniper00/MoonDemo
redis安装
Redis-x64-3.0.504.msi
服务器配置文件
D:\gitee\moon_server_demo\serverconf.lua
貌似不修改也可以的,redis不要设置密码
windows编译
安装VS2022 Community
下载premake5.exe放MoonDemo\server\moon
双击start_server.bat会自动编译(MoonDemo\server)
前端代码是unity
MoonDemo\BallAction
下载一个unity2022,我下的Unity 2022.3.57f1c2
打开如果有报错不用管,直接contine
至此demo就跑起来了