Giter Site home page Giter Site logo

gameconfigtablemanager's Introduction

GameConfigTableManager

通过脚本将excel策划表一键部署至服务端mongodb,并生成json文件、类文件供客户端(如cocoscreator)使用

策划表管理痛点:

a.一张excel多个sheet

b.双端均需要管理配置表,且格式不同

c.git类不支持excel的版本控制

d.双端热更需求

解决方案:

a.基于pandas的excel全表全sheet读取

b.通过apply方法生成对应格式

c.通过excel配置version的sheet,来管理版本号及是否需要更新

d.后端存储至mongo,game内实现hot_refresh方法,用于配置表全局变量自mongo读取更新;前端讲生成的json等文件放置于cdn,客户端重启时对比更新

效果示意:

gameconfigtablemanager's People

Contributors

verarong avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

1151532515

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.