intouch自建動畫物件

intouch的腳本寫法不熟,網上找不到資料,有人有的麻煩給我一份謝謝 gyhongyu@gmail.com

本頁主要記錄了intouch如何自建動畫的過程;

intouch 自建動畫備忘.mp4
intouch自建動畫運行結果.mp4

代碼:

//InTouch:HD_SHINE 是我定義在intouch裡的一個內部離散點,主要用來閃爍切換

//group1,2,3分別是三組水滴在元件裡的元素代號,後邊就是透明屬性

if InTouch:HD_SHINE==true then

Group1.Transparency=0;

Group2.Transparency=0;

Group3.Transparency=0;

endif;

if InTouch:HD_SHINE==false then

Group1.Transparency=70;

Group2.Transparency=70;

Group3.Transparency=70;

endif;

if gettaq<1 then

Group1.Visible=false;

Group2.Visible=false;

Group3.Visible=false;

endif;

if gettaq<33 and gettaq>1 then

Group1.Visible=true;

Group2.Visible=false;

Group3.Visible=false;

endif;

if gettaq>32 and gettaq<66 then

Group1.Visible=true;

Group2.Visible=true;

Group3.Visible=false;

endif;

if gettaq>65 then

Group1.Visible=true;

Group2.Visible=true;

Group3.Visible=true;

endif;

If InTouch:HD_SHINE == True Then

InTouch:HD_SHINE= False;

Else

InTouch:HD_SHINE= true;

Endif;