Skip to content

Commit

Permalink
Doc Update
Browse files Browse the repository at this point in the history
  • Loading branch information
isHarryh committed Nov 5, 2023
1 parent b72421a commit 86b8f56
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 38 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
***目前最新可用版本:***
[<img alt="GitHub latest release" src="https://img.shields.io/github/v/release/isHarryh/Ark-Pets?display_name=tag&label=Version&sort=semver&include_prereleases">](https://github.com/isHarryh/Ark-Pets/releases)

## v2.3
| **新增** | |
|:------------|:-----------------------------------------|
| [`a31afcf`] | 新增了右键桌宠本体即可弹出菜单的功能。 |
| [`17d3fde`] | 新增了可以在菜单中切换桌宠形态的功能,现在可以切换拥有多个形态的敌方领袖的形态。 |

| **修复** | |
|:-----------------------|:-------------------------------------------------|
| [`#39`]<br>[`87c2263`] | 进一步修复了有概率出现桌宠本体程序在任务栏中无法隐藏的问题。 |
| [`17d3fde`] | 进一步修复了个别敌方角色的部分动作的选择逻辑异常的问题。<br>重构了动画名识别和行为控制系统。 |
| [`#48`]<br>[`b72421a`] | 修复了桌宠在保持坐下动作时拖动会导致异常浮动的问题。<br>重构了缓动控制系统。 |

| **优化** | |
|:------------|:-----------------------------------------|
| [`0fb103c`] | 优化了 Windows 安装程序的语言本地化(修订了简体中文,新增了繁体中文)。 |
| [`a31afcf`] | 优化了托盘菜单的外观表现。 |
| [`e046e1c`] | 优化了动画队列的代码逻辑。 |

## v2.2
| **新增** | |
|:------------|:----------------------------------------|
Expand Down Expand Up @@ -191,6 +209,7 @@
[`#12`]: https://github.com/isHarryh/Ark-Pets/issues/12
[`#34`]: https://github.com/isHarryh/Ark-Pets/issues/34
[`#39`]: https://github.com/isHarryh/Ark-Pets/issues/39
[`#48`]: https://github.com/isHarryh/Ark-Pets/issues/48
[`2bc0079`]: https://github.com/isHarryh/Ark-Pets/commit/2bc0079b922684b1d4850f9211225dcf803e555c
[`48ef339`]: https://github.com/isHarryh/Ark-Pets/commit/48ef339dd78711e208ded8c5148569d8b89690b1
[`95e6a1a`]: https://github.com/isHarryh/Ark-Pets/commit/95e6a1ace8d047ac51314e7d5572ce4169fa9f84
Expand Down Expand Up @@ -237,3 +256,9 @@
[`2d76421`]: https://github.com/isHarryh/Ark-Pets/commit/2d76421016d7e4629afcb9699793a24c626c274c
[`9c0edf9`]: https://github.com/isHarryh/Ark-Pets/commit/9c0edf93dbc193b9e10f7c8caa7306d95fef873e
[`6fbcac2`]: https://github.com/isHarryh/Ark-Pets/commit/6fbcac231fd9964c5bd61089e6307d350c825f8d
[`0fb103c`]: https://github.com/isHarryh/Ark-Pets/commit/0fb103c0f9aa6e5181242a11bf616fc8e439e42e
[`87c2263`]: https://github.com/isHarryh/Ark-Pets/commit/87c226315f4fe84c300d3403258f5e68bed67f92
[`a31afcf`]: https://github.com/isHarryh/Ark-Pets/commit/a31afcfd38e5cbc8a7e1bcde6c3e3dd72e281ad3
[`17d3fde`]: https://github.com/isHarryh/Ark-Pets/commit/17d3fded56a6b92b4dabe62945897b8b7df1514b
[`e046e1c`]: https://github.com/isHarryh/Ark-Pets/commit/e046e1c67ccbd61cde7e50927eccf9c20c7ee736
[`b72421a`]: https://github.com/isHarryh/Ark-Pets/commit/b72421a90b9263c6f25fe76053f139ffa445a981
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img alt="ArkPets icon" width="64" src="https://raw.githubusercontent.com/isHarryh/Ark-Pets/v2.x/assets/icons/icon.png"/>
<p>
Arknights Desktop Pets | 明日方舟桌宠 <br>
<code><b> v2.2 </b></code> <br>
<code><b> v2.3 </b></code> <br>
<sub>
<i> This project only supports Chinese docs. If you are an English user, feel free to contact us. </i>
</sub>
Expand All @@ -32,10 +32,12 @@
4. 桌宠会在其他桌宠靠近时被排斥推动
5. 桌宠活动范围的[下边界距离](#额外说明)可以调整
6. 桌宠可以被拖拽到扩展显示屏上
- 实现了任务栏托盘图标 <details><summary>查看详情</summary>
1. 托盘菜单可以选择是否保持当前动作
2. 托盘菜单可以选择是否启用[透明模式](#额外说明)
3. 托盘菜单可以用于退出桌宠
- 实现了托盘和右键菜单 <details><summary>查看详情</summary>
1. 右键系统托盘或桌宠本体均可以弹出菜单
2. 菜单可以选择是否保持当前动作
3. 菜单可以选择是否启用[透明模式](#额外说明)
4. 菜单可以切换多形态角色的形态
5. 菜单可以用于退出桌宠
- 支持[开机自启动](#额外说明)

### 效果预览图
Expand All @@ -51,8 +53,6 @@
以下内容可能在接下来的数个版本内得到实现:
- 支持收藏夹功能
- 支持将动态立绘作为桌宠启动
- 支持右键桌宠本体直接弹出菜单
- 支持部分敌方首领的阶段形态切换
- 支持一键关闭所有已被启动的桌宠

### 相关文档
Expand All @@ -68,7 +68,7 @@
1.[**前往此页面**](https://github.com/isHarryh/Ark-Pets/releases)下载最新的 **ArkPets-Setup.exe** 安装包。
2. 下载完成后,请运行所下载的安装包以进行软件的安装。
3. 安装完成后,请通过桌面快捷方式等途径,打开 ArkPets 启动器。
4. 打开启动器后,首次使用需要 **下载模型文件** 。请进入启动器“选项”页面,在“模型下载”处点击“全部下载”。(下载过程可能持续1~2分钟,下载总大小约为120MB
4. 打开启动器后,首次使用需要 **下载模型文件** 。请进入启动器“选项”页面,在“模型下载”处点击“全部下载”。(下载过程可能持续1~2分钟,下载总大小约为140MB
5. 最后,进入启动器“模型”页面即可检索并选中想要作为桌宠启动的角色,然后点击左下角“启动”按钮即可。

> 提示:
Expand Down Expand Up @@ -100,6 +100,5 @@
本项目基于**GPL3协议**。任何人都可以自由地使用和修改项目内的源代码,前提是要在源代码或版权声明中保留作者说明和原有协议,且使用相同的许可证进行开源。

### 参与贡献
您可以通过提交 Issues 等各种方式参与本项目的贡献。
- 另见 [提交 Issues 必看指引](docs/Issues.md)
- 另见 [开发者 Wiki](https://github.com/isHarryh/Ark-Pets/wiki)
您可以通过提交 [Issues](https://github.com/isHarryh/Ark-Pets/issues) 等各种方式参与本项目的贡献。提交 Issues 前,请确认您的议题与已有的议题不重复。提交 Issues 时,请您完整地填写议题模板。
- 另见 ~~很久没更新的~~ [开发者 Wiki](https://github.com/isHarryh/Ark-Pets/wiki)
16 changes: 8 additions & 8 deletions core/src/cn/harryh/arkpets/utils/Plane.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,20 +169,20 @@ public boolean getDropping() {
*/
public String getDebugMsg() {
// Primary debug messages:
String msg = this + "\n";
msg += "Position:\t" + Math.round(position.x) + "\t" + Math.round(position.y) + (getDropping() ? "\t(dropping)" : "") + "\n";
msg += "Velocity:\t" + Math.round(speed.x) + "\t" + Math.round(speed.y) + "\n";
msg += "Borders:\t^" + Math.round(borderTop()) + "\t>" + Math.round(borderRight()) + "\tv" + Math.round(borderBottom()) + "\t<" + Math.round(borderLeft()) + "\n";
msg += "Areas:\t" + world.size() + "\n";
String msg = this.toString();
msg += "\nPosition:\t" + Math.round(position.x) + "\t" + Math.round(position.y) + (getDropping() ? "\t(dropping)" : "");
msg += "\nVelocity:\t" + Math.round(speed.x) + "\t" + Math.round(speed.y);
msg += "\nBorders:\t^" + Math.round(borderTop()) + "\t>" + Math.round(borderRight()) + "\tv" + Math.round(borderBottom()) + "\t<" + Math.round(borderLeft());
msg += "\nAreas:\t" + world.size();
// Additional debug messages:
StringBuilder msgBuilder1 = new StringBuilder(msg);
for (RectArea i : world)
msgBuilder1.append("- ").append(i.toString()).append("\n");
msgBuilder1.append("\n- ").append(i.toString());
msg = msgBuilder1.toString();
msg += "Barriers:\t" + barriers.size() + "\n";
msg += "\nBarriers:\t" + barriers.size();
StringBuilder msgBuilder2 = new StringBuilder(msg);
for (Vector3 i : barriers)
msgBuilder2.append("- Y = ").append(i.y).append(", X range = (").append(i.x).append(",").append(i.x + i.z).append(")\n");
msgBuilder2.append("\n- Y = ").append(i.y).append(", X range = (").append(i.x).append(",").append(i.x + i.z).append(")");
msg = msgBuilder2.toString();
return msg;
}
Expand Down
2 changes: 1 addition & 1 deletion core/src/cn/harryh/arkpets/utils/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package cn.harryh.arkpets.utils;


/** The class representing a semantic version.
/** The class represents a semantic version.
* <hr>
* Given a version number {@code MAJOR.MINOR.PATCH}, increment the:
* <ul>
Expand Down
18 changes: 0 additions & 18 deletions docs/Issues.md

This file was deleted.

0 comments on commit 86b8f56

Please sign in to comment.