Skip to content

Commit

Permalink
更新readme
Browse files Browse the repository at this point in the history
  • Loading branch information
m969041 committed Aug 18, 2024
1 parent e2b4f32 commit cf7439c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ crashlytics-build.properties

# /ProjectSettings/ProjectVersion.txt
/.idea
.vsconfig
6 changes: 0 additions & 6 deletions .vsconfig

This file was deleted.

2 changes: 1 addition & 1 deletion Assets/EGamePlay/ConfigObject/AbilityConfigObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace EGamePlay.Combat
{
[CreateAssetMenu(fileName = "技能配置", menuName = "技能|状态/技能配置")]
[CreateAssetMenu(fileName = "能力配置", menuName = "能力/能力配置")]
[LabelText("技能配置")]
public class AbilityConfigObject
#if !NOT_UNITY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace EGamePlay.Combat
{
[CreateAssetMenu(fileName = "Execution", menuName = "技能|状态/Execution")]
[CreateAssetMenu(fileName = "Execution", menuName = "能力/Execution")]
public class ExecutionObject
#if UNITY
: ScriptableObject
Expand Down
Binary file removed Excel/EquipmentConfig.xlsx
Binary file not shown.
21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<img src="Readme/EGamePaly_logo.png" width="60%">

---
[![Unity Version: 2021.3.1f1](https://img.shields.io/badge/Unity-2021.3.1f1-333333.svg?logo=unity)](https://unity3d.com/get-unity/download/archive) [![Status: Work-in-progress](https://img.shields.io/badge/status-work--in--progress-orange)](https://github.com/m969/EGamePlay/projects/1)
[![Unity Version: 2023.2.20f1](https://img.shields.io/badge/Unity-2023.2.20f1-333333.svg?logo=unity)](https://unity3d.com/get-unity/download/archive) [![Status: Work-in-progress](https://img.shields.io/badge/status-work--in--progress-orange)](https://github.com/m969/EGamePlay/projects/1)


## Stargazers over time
Expand Down Expand Up @@ -39,9 +39,9 @@

---
## 如何制作一个简单的技能
- 首先在SkillConfig表里添加一个技能,给定技能id,配置参数
- 然后右键选择 ```技能|状态/技能配置``` 创建对应id的技能配置,配置效果
- 然后右键选择 ```技能|状态/Execution``` 创建对应id的技能执行体,配置片段表现
- 首先在AbilityConfig.xlsx表里添加一个技能,给定技能id,配置参数
- 然后右键选择 ```能力/能力配置``` 创建对应id的技能配置,配置效果
- 然后右键选择 ```能力/Execution``` 创建对应id的技能执行体,配置片段表现
- 最后就是运行时将技能挂载到CombatEntity上,再通过施法组件SpellComponent释放技能即可

---
Expand Down Expand Up @@ -130,19 +130,10 @@ ExecutionLink
---
## 基于Odin和ScriptableObject实现的灵活的技能、buff配置工具

![SkillConfigImage.png](Readme/ConfigImage.png)

---
## 技能ScriptableObject配置和Excel配置流程切换命令
之前的命令新版unity用不了了,需要手动到PlayerSettings面板添加 EGAMEPLAY_EXCEL 条件编译
<img src="Readme/Define_Excel.png" width="">
<img src="Readme/AbilityObjectConfig.png" width="80%">

### 技能Excel配置
![SkillConfigImage.png](Readme/SkillExcel.png)
### 状态Excel配置
![SkillConfigImage.png](Readme/StatusExcel.png)
### 技能效果Excel配置
![SkillConfigImage.png](Readme/SkillEffectsExcel.png)
![AbilityConfigExcel.png](Readme/AbilityConfigExcel.png)

---
## EGamePlay战斗框架技术讨论交流qq群:763696367
Expand Down
Binary file added Readme/AbilityConfigExcel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Readme/AbilityObjectConfig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf7439c

Please sign in to comment.