Skip to content

an unity mmo demo, include client and server, base on ecs(game play), xlua(ui) and skynet(server)

License

Notifications You must be signed in to change notification settings

GameUnity3D/UnityMMO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityMMO

很多东西不好在工作项目上尝试(比如ECS),所以就有了本项目,我打算利用业余时间从头制作一个3D-MMO游戏,大部分功能虽然都多少接触过,但我想换个做法,不然就不好玩了.前端的玩法系统用c#,界面用lua开发.后端用skynet.
详细的设计和进度见:Wiki

Usage

克隆本项目:git clone https://github.com/liuhaopen/UnityMMO.git --recurse
前端:
下载下来后整个目录就是Unity的项目目录,用Unity打开,运行main.unity场景即可进入游戏的登录界面
注:由于游戏资源过大且经常变更(每个版本的资源都会保存在.git文件夹里,clone就要好久了),所以放到另外的项目管理,可在UnityMMO-Resource下载里面的文件并把Assets/AssetBundleRes及其meta文件复制到本项目的Assets目录里(注:有些插件因为版权问题就没上传了,从其中的download-page见购买链接)
后端:
)安装虚拟机,我使用的是CentOS7,然后设置整个项目目录为虚拟机的共享目录,cd到Server目录,先编译skynet:skynet主页
)在虚拟机安装mysql并导入Server/data/里的两个数据库文件
)运行:./run.sh跑起服务端

Status & Prerequisites

Unity version: 2019.1.4f1
Platforms    : 
client for Windows and Android(should also support iOS, but I have not tried);  
server only for Linux;

Recent GIF

19.07.03:初步实现了自动寻路去找npc对话和打怪两种任务:
image
19.07.10:增加一个副本场景:
image

About

an unity mmo demo, include client and server, base on ecs(game play), xlua(ui) and skynet(server)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 64.3%
  • Lua 22.5%
  • C 8.4%
  • CMake 2.5%
  • ShaderLab 1.0%
  • HTML 0.9%
  • Other 0.4%