diff --git a/_sidebar.md b/_sidebar.md
index 0608f98..5ea62f6 100644
--- a/_sidebar.md
+++ b/_sidebar.md
@@ -41,7 +41,7 @@
- [![]()
视觉干扰
](/pages/vfxpro.md) - [摄像机视效
](/pages/camerafx.md) - [镜厅
](/pages/hallofmirror.md) - - [窗口移动
](/pages/windowmove.md) + - [窗口相关的动画
](/pages/WindowDance.md) - [手
](/pages/hand.md) - [自制角色与精灵资源
](/pages/spritesheet.md) - [使用精灵
](/pages/decoration.md) diff --git a/images/Window_Content.png b/images/Window_Content.png new file mode 100644 index 0000000..3f9434b Binary files /dev/null and b/images/Window_Content.png differ diff --git a/images/Window_Dance_169ratio.png b/images/Window_Dance_169ratio.png new file mode 100644 index 0000000..9b55b75 Binary files /dev/null and b/images/Window_Dance_169ratio.png differ diff --git a/images/Window_Dance_169ratio_pivot.png b/images/Window_Dance_169ratio_pivot.png new file mode 100644 index 0000000..bcad01a Binary files /dev/null and b/images/Window_Dance_169ratio_pivot.png differ diff --git a/images/Window_Dance_229ratio.png b/images/Window_Dance_229ratio.png new file mode 100644 index 0000000..83b03a9 Binary files /dev/null and b/images/Window_Dance_229ratio.png differ diff --git a/images/Window_Dance_229ratio_pivot.png b/images/Window_Dance_229ratio_pivot.png new file mode 100644 index 0000000..53865da Binary files /dev/null and b/images/Window_Dance_229ratio_pivot.png differ diff --git a/images/Window_Dance_All_or_One.png b/images/Window_Dance_All_or_One.png new file mode 100644 index 0000000..d7d6270 Binary files /dev/null and b/images/Window_Dance_All_or_One.png differ diff --git a/images/Window_Dance_Always_Active.png b/images/Window_Dance_Always_Active.png new file mode 100644 index 0000000..ab353d6 Binary files /dev/null and b/images/Window_Dance_Always_Active.png differ diff --git a/images/Window_Dance_Coordinate_of_All_Room.png b/images/Window_Dance_Coordinate_of_All_Room.png new file mode 100644 index 0000000..4db5c47 Binary files /dev/null and b/images/Window_Dance_Coordinate_of_All_Room.png differ diff --git a/images/Window_Dance_Window_Hidden.png b/images/Window_Dance_Window_Hidden.png new file mode 100644 index 0000000..9eafae7 Binary files /dev/null and b/images/Window_Dance_Window_Hidden.png differ diff --git a/images/Window_Dance_Window_Resize.gif b/images/Window_Dance_Window_Resize.gif new file mode 100644 index 0000000..4e3d7b3 Binary files /dev/null and b/images/Window_Dance_Window_Resize.gif differ diff --git a/images/Window_Dance_fill.gif b/images/Window_Dance_fill.gif new file mode 100644 index 0000000..3af6da0 Binary files /dev/null and b/images/Window_Dance_fill.gif differ diff --git a/images/Window_Dance_fit.gif b/images/Window_Dance_fit.gif new file mode 100644 index 0000000..37e687b Binary files /dev/null and b/images/Window_Dance_fit.gif differ diff --git a/images/Window_Dance_none.gif b/images/Window_Dance_none.gif new file mode 100644 index 0000000..f484d4f Binary files /dev/null and b/images/Window_Dance_none.gif differ diff --git a/pages/WindowDance.md b/pages/WindowDance.md new file mode 100644 index 0000000..addb1cc --- /dev/null +++ b/pages/WindowDance.md @@ -0,0 +1,92 @@ +# 窗口相关的动画 + +在1.0正式版更新后,窗口被单独提取成了一个独立的板块:**窗口板块**。为了避免剧透,这个板块默认是隐藏的,要让这个板块显示出来,我们需要在动作板块先放一个窗口动效事件,或者在编辑器设置中的显示窗口标签栏设置为**总是报告**,这个板块才会显示出来。 + + + +我们可以看到,窗口事件比以前多了很多。而且4个窗口都像房间板块一样每个窗口都占了一行。所有事件都只会对其所在行对应的窗口生效。接下来将会介绍这些事件的作用和使用方法。 + +## 隐藏窗口 + +窗口的显示和隐藏都在这个事件中,窗口默认只有窗口1是显示,其他窗口默认都是隐藏的,所以如果你需要操作其他窗口,需要把窗口显示出来再进行操作。 + +窗口板块中隐藏状态的窗口会显示灰色,可以通过这个判断你的窗口有没有忘记显示出来。 + + +## 窗口动效 + +(谁会,来补充一下,我只用过移动2333) + +## 窗口大小重置 + +想要让窗口大小发生变化,或调整窗口的轴点,都需要借助**窗口大小重置**事件。这个事件的设置项目是这样的: + + +**大小:** 窗口的目标大小,最大可以设置为`200%, 200%`,如果`x`和`y`同时被设置为了0,则窗口会立刻被重置为初始的大小(即`100%, 100%`)。 + +**缩放模式:** 窗口大小发生变化时内容的缩放模式,具体如下: +