新增结束动画

This commit is contained in:
ZouJin 2023-03-07 19:13:14 +11:00
parent cf79bd2f8c
commit 317f3cf057
30 changed files with 11 additions and 4 deletions

View File

@ -14,6 +14,7 @@ using System.Windows.Media;
using System.Windows.Media.Imaging; using System.Windows.Media.Imaging;
using System.Windows.Navigation; using System.Windows.Navigation;
using System.Windows.Shapes; using System.Windows.Shapes;
using static VPet_Simulator.Core.GraphCore;
namespace VPet_Simulator.Core namespace VPet_Simulator.Core
{ {
@ -249,14 +250,16 @@ namespace VPet_Simulator.Core
if (active) if (active)
{ {
if (wavetimes++ > 3) if (wavetimes++ > 4)
if (wavetop == true) if (wavetop == true)
{ {
if (wavetimes >= 10 || DisplayType == GraphCore.GraphType.Default || DisplayType == GraphType.Touch_Head_B_Loop || DisplayType == GraphType.Touch_Head_C_End)
DisplayTouchHead(); DisplayTouchHead();
//Console.WriteLine(wavetimes); //Console.WriteLine(wavetimes);
} }
else else
{ {
if (wavetimes >= 10 || DisplayType == GraphCore.GraphType.Default || DisplayType == GraphType.Touch_Body_B_Loop || DisplayType == GraphType.Touch_Body_C_End)
DisplayTouchBody(); DisplayTouchBody();
} }
} }

View File

@ -246,6 +246,10 @@ namespace VPet_Simulator.Core
/// 开机 /// 开机
/// </summary> /// </summary>
StartUP, StartUP,
/// <summary>
/// 关机
/// </summary>
Shutdown,
} }
///// <summary> loop 应该被取缔 ///// <summary> loop 应该被取缔
///// 动画类型默认设置 前文本|是否循环|是否常用 ///// 动画类型默认设置 前文本|是否循环|是否常用

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -1,6 +1,6 @@
pet#文字宠物:|intor#来试试这个文字版的单帧宠物吧:|path#font:| pet#文字宠物:|intor#来试试这个文字版的单帧宠物吧:|path#font:|
touchhead:|px#0:|py#0:|sw#500:|sh#200:| touchhead:|px#0:|py#0:|sw#500:|sh#200:|
touchraised:|px#0:|py#0:|sw#500:|sh#200:| touchraised:|px#0:|py#0:|sw#500:|sh#200:|
raisepoint:|x#250:|y#125:| raisepoint:|happy_x#250:|happy_y#250:|nomal_x#250:|nomal_y#250:|poorcondition_x#250:|poorcondition_y#250:|ill_x#250:|ill_y#250:|
speed:|walk#20:|climb#10:|climbtop#8:|crawl#8:|fallx#14:|fally#10:|crawl#10:| speed:|walk#20:|climb#10:|climbtop#8:|crawl#8:|fallx#14:|fally#10:|crawl#10:|
locate:|climbleft#100:|climbright#100:|climbtop#100:| locate:|climbleft#100:|climbright#100:|climbtop#100:|

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB