GithubHelp home page GithubHelp logo

zzy-hacker / gameconfig Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gh-kl/gameconfig

0.0 0.0 0.0 674 KB

在游戏开发中,游戏配置是屡见不鲜的东西了,一个好的配置生成工具能让你在开发中事半功倍。通常来说,配置都是由策划来产出并维护的,绝大多数策划岗都不了解开发,他们最喜欢的就是Excel表格(Excel的确是个好东西)。本工具的主要功能就是把Excel表格导出为程序可用的数据。

C# 20.10% TypeScript 79.88% Batchfile 0.01%

gameconfig's Introduction

游戏配置生成工具

在游戏开发中,配置是屡见不鲜的东西了。一个好的配置生成工具能让你在开发中事半功倍。

通常来说,配置都是由策划来产出,绝大多数策划岗都不了解开发,他们最喜欢的就是Excel表格Excel的确是个好东西)。

本工具的主要功能就是把Excel表格导出成程序可用的数据。

特性

  • 支持横表、纵表、枚举表、枚举表。
  • 支持自定义语言配置脚本导出。(目前内置支持TS、C#,可自定义其它语言)
  • 表继承。(没错,就是那个面向对象中的继承
  • 多主键。
  • 表连接。
  • 增量发布。
  • ...在路上!

快速开始

  1. 拉取本仓库到本地。

  2. 安装依赖:

    安装 Node.js LTS版(最后测试基于20.11.0)。

    打开命令行,将目录定位到 Config/Generator 目录。

    命令行中执行命令: npm i,可能会有警告,但没关系,忽略即可。

  3. 根据你的喜好打开Example中的UnityProject(Unity示例项目)CCCProject(Cocos Creator示例项目)

  4. 运行示例场景。

完成上述步骤,你就看到配置被输出在屏幕上,下一步就需要了解如何配表并导出,请查看详细文档中文链接)。

已知问题

  1. 未测试过多主键继承,可能会报错。

Author: kL

E-mail: [email protected]


gameconfig's People

Contributors

gh-kl 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.