From 9b086767a1bd2fa4741fb55d85e9000a5f02c8ab Mon Sep 17 00:00:00 2001 From: Dongua <597559675@qq.com> Date: Tue, 31 May 2022 15:25:14 +0800 Subject: [PATCH] =?UTF-8?q?[change]=E4=BF=AE=E6=94=B9reademe=20=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE=E6=94=B9=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E6=8C=87=E5=90=91=E6=96=B0=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en-us.md | 32 ++++++-------------------------- README.md | 43 ++++++++----------------------------------- 2 files changed, 14 insertions(+), 61 deletions(-) diff --git a/README.en-us.md b/README.en-us.md index c557373..f4fdf5c 100644 --- a/README.en-us.md +++ b/README.en-us.md @@ -36,16 +36,16 @@ Luban unifies the game configuration development workflow, greatly improving the - Perfect localization support. Static text value localization, dynamic text value localization, time localization, main-patch multi-region version - Powerful and flexible customization capabilities, support for custom code templates and data templates - **Generic generation and caching tool**. Can also be used to generate code like protocols, databases, or even as an object caching service -- **Good support for mainstream engines, all platforms, mainstream hot update solutions, mainstream front-end and back-end frameworks**. Support mainstream engines such as unity, unreal, cocos2x, and WeChat mini-games. The tool itself is cross-platform and can work well on Win, Linux, and Mac platforms. [See details](https://focus-creative-games.github.io/lubandoc/feature.html#%E6%94%AF%E6%8C%81%E4%B8%BB%E6%B5%81% E7%9A%84%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80) +- **Good support for mainstream engines, all platforms, mainstream hot update solutions, mainstream front-end and back-end frameworks**. Support mainstream engines such as unity, unreal, cocos2x, and WeChat mini-games. The tool itself is cross-platform and can work well on Win, Linux, and Mac platforms. -See [feature](https://focus-creative-games.github.io/lubandoc/feature.html) for full features +See [feature](https://focus-creative-games.github.io/luban/feature/) for full features ## Documentation -- [Quick Start](https://focus-creative-games.github.io/lubandoc/start_up.html) -- [Document](https://focus-creative-games.github.io/lubandoc), it is relatively complete, if you have any questions, please check this document first. +- [Quick Start](https://focus-creative-games.github.io/luban/start_up/) +- [Document](https://focus-creative-games.github.io/luban/), it is relatively complete, if you have any questions, please check this document first. - **Example Project** ([github](https://github.com/focus-creative-games/luban_examples)) ([gitee](https://gitee.com/focus-creative-games/luban_examples) ) -- [Version Changelog](https://focus-creative-games.github.io/lubandoc/changelog.html) +- [Version Changelog](https://focus-creative-games.github.io/luban/changelog/) - Support and Contact - QQ group: 692890842 (Luban development exchange group). If you have any questions about use, please add the QQ group to ask in time, and someone will help you at any time. @@ -91,7 +91,6 @@ For a complete example, please refer to [Excel Format Introduction](https://focu desc3 desc4 - 1 @@ -100,7 +99,6 @@ For a complete example, please refer to [Excel Format Introduction](https://focu xx|yy xxxzzz - 2 @@ -109,7 +107,6 @@ For a complete example, please refer to [Excel Format Introduction](https://focu aaaa|bbbb|cccc aaabbbccc - 3 @@ -118,7 +115,6 @@ For a complete example, please refer to [Excel Format Introduction](https://focu aaaa|bbbb|cccc aaabbbccc - ### substructure @@ -126,13 +122,11 @@ For a complete example, please refer to [Excel Format Introduction](https://focu Reward is a substructure containing the three fields of "int item_id; int count; string desc;". - -
##varidrewardreward2reward3
##typeintRewardRewardReward#sep=,
##varitem_idcountdesc
1100110item 11002< /td>11item 21002,1,item 3
2200110item 22002< /td>20item 42003,2,item 5
### Structure List 1 @@ -162,7 +156,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; 10011desc110022desc2 1001,1,desc11002,2,desc21003,3,desc3 - 2 @@ -175,7 +168,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; ### Structure List 2 - @@ -188,7 +180,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; - @@ -197,7 +188,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; - @@ -206,7 +196,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; ### Structure List 3
##var idstring list,Reward
##var 1 2
1task1100110desc1100212desc2100313desc3
2task1100330desc3100440desc4
3task1100550desc5
- @@ -219,7 +208,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; - @@ -236,7 +224,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; - @@ -245,7 +232,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; ### Multi-row table
##var idstring list,Reward
##var item_idnumdesc item_idnumdesc
1task1100110desc1100212desc2100313desc3
2task1100330desc3100440desc4
3task1100550desc5
- @@ -280,7 +266,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; - @@ -301,25 +286,21 @@ Reward is a substructure containing the three fields of "int item_id; int count; -
##var iddesc5 desc6
1
2stage2stage desc21,2,310021
### Multi-level subheadings of type map - -
##varidlans
##typeintmap,string,string
##varch-znenjpfr
1appleappleaaaaaa
2bananabananabbbbbb
### Type inheritance (suitable for skills, buff related configuration) - @@ -327,7 +308,6 @@ Reward is a substructure containing the three fields of "int item_id; int count; -
##varidshapeshape2
##typeintShapeShape
##var$typeradiuswidthheight
2Rectangle1020Rectangle1020
3Circle10Triangle151515
4Circle10Rectangle3020
### Multiple primary key table (joint index) @@ -391,7 +371,7 @@ Some configurations only have one copy globally, such as the opening level of th ## json, lua, xml, yaml format quick overview -Take the behavior tree as an example to show how to configure the behavior tree configuration in json format. For formats such as xml, lua, yaml, etc., please refer to [detailed documentation](https://focus-creative-games.github.io/lubandoc). +Take the behavior tree as an example to show how to configure the behavior tree configuration in json format. For formats such as xml, lua, yaml, etc., please refer to [detailed documentation](https://focus-creative-games.github.io/luban/data_source/). ````json diff --git a/README.md b/README.md index f048328..2194c71 100644 --- a/README.md +++ b/README.md @@ -37,24 +37,23 @@ luban统一了游戏配置开发工作流,极大提升了策划和程序的工 - 完善的本地化支持。静态文本值本地化、动态文本值本地化、时间本地化、main-patch多地区版本 - 强大灵活的自定义能力,支持自定义代码模板和数据模板 - **通用型生成和缓存工具**。也可以用于生成协议、数据库之类的代码,甚至可以用作对象缓存服务 -- **良好支持主流引擎、全平台、主流热更新方案、主流前后端框架**。支持unity、unreal、cocos2x、微信小游戏等主流引擎。工具自身跨平台,能在Win,Linux,Mac平台良好工作。[详见](https://focus-creative-games.github.io/lubandoc/feature.html#%E6%94%AF%E6%8C%81%E4%B8%BB%E6%B5%81%E7%9A%84%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80) +- **良好支持主流引擎、全平台、主流热更新方案、主流前后端框架**。支持unity、unreal、cocos2x、微信小游戏等主流引擎。工具自身跨平台,能在Win,Linux,Mac平台良好工作。 -完整特性请参见 [feature](https://focus-creative-games.github.io/lubandoc/feature.html) +完整特性请参见 [feature](https://focus-creative-games.github.io/luban/generate_code_data/) ## 文档 -- [快速上手](https://focus-creative-games.github.io/lubandoc/start_up.html) -- [Document](https://focus-creative-games.github.io/lubandoc) ,比较完善,有使用疑问,请先查看此文档。 +- [快速上手](https://focus-creative-games.github.io/luban/start_up/) +- [Document](https://focus-creative-games.github.io/luban/) ,比较完善,有使用疑问,请先查看此文档。 - **示例项目** ([github](https://github.com/focus-creative-games/luban_examples)) ([gitee](https://gitee.com/focus-creative-games/luban_examples)) -- [版本变更记录](https://focus-creative-games.github.io/lubandoc/changelog.html) - +- [版本变更记录](https://focus-creative-games.github.io/luban/changelog/) - 支持与联系 - QQ群: 692890842 (Luban开发交流群)。有使用方面的疑问请及时加QQ群询问,随时有人帮助解决。 - 邮箱: taojingjian#gmail.com ## excel格式速览 -完整示例请详见 [excel格式介绍](https://focus-creative-games.github.io/lubandoc/excel.html) +完整示例请详见 [excel格式介绍](https://focus-creative-games.github.io/luban/excel/) ### 普通表 @@ -93,7 +92,6 @@ luban统一了游戏配置开发工作流,极大提升了策划和程序的工 desc3 desc4 - 1 @@ -102,7 +100,6 @@ luban统一了游戏配置开发工作流,极大提升了策划和程序的工 xx|yy xxxzzz - 2 @@ -111,7 +108,6 @@ luban统一了游戏配置开发工作流,极大提升了策划和程序的工 aaaa|bbbb|cccc aaabbbccc - 3 @@ -120,7 +116,6 @@ luban统一了游戏配置开发工作流,极大提升了策划和程序的工 aaaa|bbbb|cccc aaabbbccc - ### 子结构 @@ -128,7 +123,6 @@ luban统一了游戏配置开发工作流,极大提升了策划和程序的工 Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结构。 - @@ -164,20 +158,17 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 - -
##varidrewardreward2reward3
##typeintRewardRewardReward#sep=,
##varitem_idcountdesc
10011desc110022desc2 1001,1,desc11002,2,desc21003,3,desc3
2 10011desc1 1001,1,desc11002,2,desc2
### 结构列表 2 - @@ -190,7 +181,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 - @@ -199,7 +189,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 - @@ -208,7 +197,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 ### 结构列表 3
##var idstring list,Reward
##var 1 2
1task1100110desc1100212desc2100313desc3
2task1100330desc3100440desc4
3task1100550desc5
- @@ -221,7 +209,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 - @@ -238,7 +225,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 - @@ -247,7 +233,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 ### 多行表
##var idstring list,Reward
##var item_idnumdesc item_idnumdesc
1task1100110desc1100212desc2100313desc3
2task1100330desc3100440desc4
3task1100550desc5
- @@ -282,7 +267,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 - @@ -303,7 +287,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 -
##var iddesc5 desc6
1
2stage2stage desc21,2,310021
### 多级多行表 @@ -311,7 +294,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 多行表的列表字段,每个列表元素还可以是多行。支持任意多级的多行嵌套。另外也允许有多个多行字段,每个字段的行数还可以不同。 - @@ -364,7 +346,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 - @@ -409,25 +390,21 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 -
##var iditem id count
1
2,2,210022
### map 类型的多级子标题 - -
##varidlans
##typeintmap,string,string
##varch-znenjpfr
1苹果appleaaaaaa
2香蕉bananabbbbbb
### 类型继承(适合技能、buff相关配置) - @@ -435,7 +412,6 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 -
##varidshapeshape2
##typeintShapeShape
##var$typeradiuswidthheight
2Rectangle1020矩形1020
310Triangle151515
4Circle10Rectangle3020
### 多主键表(联合索引) @@ -499,8 +475,7 @@ Reward为包含 "int item_id; int count; string desc; " 这三个字段的子结 ## json、lua、xml、yaml 格式速览 -以行为树为例,展示json格式下如何配置行为树配置。xml、lua、yaml等等格式请参见 [详细文档](https://focus-creative-games.github.io/lubandoc)。 - +以行为树为例,展示json格式下如何配置行为树配置。xml、lua、yaml等等格式请参见 [详细文档](https://focus-creative-games.github.io/luban/data_source/)。 ```json { @@ -592,7 +567,6 @@ if tables , err := cfg.NewTables(loader) ; err != nil { println(tables.TbGlobal.Name) // 访问普通的 key-value 表 println(tables.TbItem.Get(12).Name) - ``` ## 路线图 @@ -603,10 +577,9 @@ println(tables.TbItem.Get(12).Name) ## 友情链接 -- [Huatuo Unity插件](https://github.com/LiuOcean/Luban_Unity_GUI) 在Unity里完成生成命令的配置和生成操作 +- [Luban Unity插件](https://github.com/LiuOcean/Luban_Unity_GUI) 在Unity里完成生成命令的配置和生成操作 - [LubanTools](https://github.com/MOMOLAXI/LubanTools) Luban的Win GUI命令配置和生成工具 - ## License Luban is licensed under the [MIT](LICENSE.TXT) license.