Git Product home page Git Product logo

takaaptech / arkgameframe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openarkstudio/ark

0.0 2.0 0.0 11.19 MB

A fast, scalable, distributed game server framework for 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.51% Java 9.04% Protocol Buffer 3.05% C++ 56.47% Makefile 3.69% M4 0.31% Vim Script 0.02% Emacs Lisp 0.05% Python 5.16% CMake 0.07% Objective-C 0.02% C 13.22% C# 2.26% XSLT 0.54% HTML 0.94% SAS 0.01% CLIPS 0.03% Pascal 0.46%

arkgameframe's Introduction

Server Architecture

❗ New game frame with some new ideas, this project is based on NFrame

#####QQ Group:341159815

What is it?

NF is a lightweight, fast, scalable, distributed plugin framework.Greatly inspired by OGRE and Bigworld.

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

Supported Compilers

  • GCC >= 4.8 (Tested in Ubuntu 15.04)
  • MSVC >= VS2015 (Tested in Win7/10)

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

❗ Fixing some problem

CMake

  1. Git pull all source
  2. Install cmake[>= 2.8] please choose options for installing: Add CMake to the system PATH for all users and restart your computer
  3. Install VS2015 or gcc[>= 4.8]
  4. Run install.bat or install.sh to build NF
  5. Run the binary file by _Out/Server/Debug/run.bat or _Out/Server/Debug/rund_cmake.sh
  6. (Optional)For Release Version, after above, run BuildNF.VS2015.Release.X64.bat or BuildNF.CMake.Release.sh, then run the binary file by _Out/Server/Release/run.bat or _Out/Server/Release/run_cmake.sh

Documents

English

Mandarin

Samples

Please see Frame/Samples.

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.

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.