Giter Club home page Giter Club logo

lazyplanet / arkgameframe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openarkstudio/ark

0.0 1.0 0.0 161.41 MB

A fast, scalable, distributed game server framework written by C++, include actor library, network library,can be used as a real time multiplayer game engine ( MMO RPG ), which support Lua script and Unity3d client. Plan to support UE4, Cocos2dx client.

License: Apache License 2.0

Lua 0.08% Batchfile 0.07% Shell 4.50% C++ 56.51% Makefile 3.58% M4 0.31% Vim Script 0.02% Emacs Lisp 0.05% Java 8.71% Python 5.14% Protocol Buffer 2.97% CMake 0.07% C 13.12% C# 2.36% XSLT 0.54% SAS 0.01% CLIPS 0.03% Pascal 0.46% Ada 0.58% Assembly 0.90%

arkgameframe's Introduction

Server Architecture

Github: https://github.com/ArkGame/ArkGameFrame
Gitee(码云): https://gitee.com/ArkGame/ArkGameFrame

ArkGameFrame

ArkGameFrame is a lightweight, fast, scalable, distributed plugin framework written in C++,make it easier to create game server. Greatly inspired by OGRE and Bigworld. It is a fork of the NFrame project.

Wanna get the newest features? Please switch to the develop branch.

If you wanna commit PR or report issue, please refer to Contribution Guide

contact

Features

  • General abstract data system
  • Interface-oriented programming (IOP)
  • Event-driven and data-driven
  • Extensible apps, plugins, and modules
  • High concurrency and performance by using actor model (Theron)
  • Based on the event-driven and attribute-driven can make business more clear and easy to maintenance
  • Based on C++ standard, easy to handle and learn
  • Cross platform (Include Windows and Linux)
  • Distributed server architecture
  • Use Excel as configuration files, easier for users
  • With existed Unity3D client for rapid development

FAQ

Please create a new issue to ask a question.

Unity3D client

Unity3D Client

Architecture

App Architecture:

App Architecture

Server Architecture

Server Architecture

Get the Sources:

git clone https://github.com/ArkGame/ArkGameFrame.git

or

svn checkout https://github.com/ArkGame/ArkGameFrame

Dependencies

  • libevent 2.0.22
  • easylogging++ 9.80
  • mysql++ 3.2.2
  • google protobuf 2.5.0
  • pybind11 1.2
  • redis-cpp-client
  • Theron 6.00.01
  • curl 7.37.1
  • evpp 0.7.0

Supported Compilers

  • GCC >= 4.8 (Recommend Tested in Ubuntu 15.04)
  • MSVC >= VS2015 (Recommend Tested in Win7/10)
  • MSVC >= VS2012+ & GCC >= 4.4+ (By using boost, define macro HAVE_BOOST, then you need to add boost include files and libraries yourself, just to replace boost::variant and boost::lexical_cast)

Build and Install

MSVC >= 2015

  1. Git pull all source
  2. Run Dep/build_dep.bat
  3. Open the solution: Frame/Ark.sln
  4. Build the solutionArk.sln
  5. Run GenerateConfigXML.bat to generate configuration files
  6. Run the binary file by Bin/Server/Debug/Run.bat

CodeBlocks >= 13.1(Only in linux)

  1. Git pull all source
  2. Run Dep/build_dep.sh
  3. Open the solution with CodeBlocks: Frame/Ark.workspace
  4. Check C++11 option in CodeBlocks compiler setting
  5. Build Ark.workspace
  6. Run bash ./GenerateConfigXML.sh to generate configuration files
  7. Run the binary file by Bin/Server/Debug/rund.sh

Documents

English

Mandarin

Examples

Please see Frame/Examples.

License

The ArkGameFrame project is currently available under the Apache License.


C# Project

Still working on it, maybe use Akka.net or Orleans


Our team has always specialized in the agile development and try to help different teams to develop game project quickly and easily. After years of development, we create this frame which is a fast, scalable, distributed game server framework written by C++, include the actor library, network library, can be used as a real-time multiplayer game engine. We are still improving it.


Plan

  • 1.优化数据管理性能
  • 2.优化网络性能
  • 3.优化heartbeat(Timer)性能,降低精度为秒(现在是毫秒)
  • 4.增加Utility插件(放置一些常用功能)
  • 5.增加其他中间件(coroutine, mongoDB)
  • 6.增加通用的proxy-server(参考tconnd, tbus)
  • 7.完整的带业务功能的demo
  • 8.优化数据同步的流量,减小属性同步的体积(去掉PropertyNameRecordName类似的string同步)
  • 9.拓展record的组成,例如道具包含了宝石(带经验,附魔等)、武器(带随机属性)等东西,record现有的结构是特定的,不方便做扩展

arkgameframe's People

Contributors

flyicegood avatar nickyang4github avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.