- UID
- 1462
- 积分
- 667
- 帖子
- 77
- 主题
- 13
- 论坛币
- 1091
- 威望
- 2
- EP值
- 447
- MP值
- 0
- 阅读权限
- 50
- 注册时间
- 2013-9-6
- 在线时间
- 141 小时
- 最后登录
- 2024-5-25
|
本帖最后由 Alex 于 2014-4-26 10:23 编辑
Hi
This is my first topic here ^^, I made effect for FT OP 15
if you want to see the preview (Not a full song)
Here1 / 下载 : Download
Script:- from tcaxPy import *
- def tcaxPy_Init():
- global _FD
- global _Fs
- global _H
- global _Spacing
- global Font
- _FD = 1000 / GetVal(val_FXFPS)
- _H = GetVal(val_FontSize)
- _FontFileName = GetVal(val_FontFileName)
- _FaceID = GetVal(val_FaceID)
- _Fs = GetVal(val_FontSize)
- _Spacing = GetVal(val_Spacing)
- Font = InitFont(_FontFileName, _FaceID, _Fs, _Spacing, GetVal(val_SpaceScale), MakeRGB(0, 0, 0), 0, False)
- C1 = 'FFFFFF'
- C2 = '00FF00'
- def tcaxPy_Fin():
- FinFont(Font)
- time_gap = 1
- time_fac = 1
- def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
- ASS_BUF = []
- TCS_BUF = []
- rand_c =[ "15134D", "54554F"]
- RC1 =color1(rand_c[randint(0,1)])
- if _i ==0 or _i==2 or _i ==4 or _i==6 or _i==8 or _i==10:
- _x = getpos(_i,_j,7)[0]
- _y = getpos(_i,_j,7)[1]
-
- _X = _x
- _Y = _y
-
- _7X = _X - int(_A / 2 + 0.5)
- _7Y = _Y - int(_H / 2 + 0.5)
- else:
- _x = getpos(_i,_j,9)[0]
- _y = getpos(_i,_j,9)[1]
-
- _X = _x
- _Y = _y
-
- _7X = _X - int(_A / 2 + 0.5)
- _7Y = _Y - int(_H / 2 + 0.5)
- ts = _BT+ _SK
- te = _BT+ _SK + _KT
- lp = 55
- for i in range(lp):
- movx = i/lp
- siz = 50+25* movx # font size in TCC file = 50
- siz1 =50+35* movx # font size in TCC file = 50
- alfa = 210+i*(30/lp)
- alfa1 = 225+i*(30/lp)
- fd = 50+((i/lp)*lp*10)
- fd1 = 65+((i/lp)*lp*10)
- EFT = move(_x,_y,_x,_y)+fs(siz)+fad(fd1,fd1)+shad(0)+blur(0.5)+bord(0)+alpha1(alfa1)+alpha3(255)+color1("HF0E7DA")+color3("HF0E7DA") #TEXT
- ass_main(ASS_BUF, SubL(ts,te,7),EFT, _TXT)
- EFT = move(_x,_y,_x,_y)+fs(siz1)+fad(fd,fd)+shad(0)+blur(0.5)+bord(1)+alpha1(255)+alpha3(alfa)+color1("HF0E7DA")+color3("HF0E7DA") #Bord
- ass_main(ASS_BUF, SubL(ts,te,7),EFT, _TXT)
- duration = 10 * _FD
- ts = 10+_ET - (_n - _j - 1) * time_fac * _FD / 10 + time_gap * _FD / 10
- te = 10+_ET - (_n - _j - 1) * time_fac * _FD / 10 + time_gap * _FD / 10 + duration / 10
- ts1 = 10+_BT - (_n - _j - 1) * time_fac * _FD / 10 + time_gap * _FD / 10
- for i in range(0,_A,2):
- for j in range(0,_H,2):
- CLIP = clip(_7X+i,_7Y-25+j,_7X+i+2,_7Y-25+j+2)+t(0,400,clip(_7X+i,_7Y+j,_7X+i+2,_7Y+j+2))
- ass_main(ASS_BUF, SubL(ts1+int(j/_H*_j),ts-randint(-30,30),5),fad((_j)*10,0)+RC1+color3("ffffff")+bord(1)+move(_X,_Y-25,_X,_Y,0,400)+CLIP, _TXT)
- CLIP2 = clip(_7X+i,_7Y+30+j,_7X+i+2,_7Y+30+j+2)+t(0,400,clip(_7X+i,_7Y+j,_7X+i+2,_7Y+j+2))
- shape = "{\p1}m 0 0 b 0 3 0 7 0 10 b 3 10 7 10 10 10 b 10 7 10 3 10 0 b 7 0 3 0 0 0"
- ass_main(ASS_BUF, SubL(ts1+int(j/_H*_j),ts-randint(-30,30),0),fad((_j)*10,0)+an(5)+move(_X,_Y+30,_X,_Y,0,400)+CLIP2+fscx(_A*100/10)+fscy(450) +color1("361C14")+color3("ffffff")+bord(1), shape )
-
- for i in range(0,_A,2):
- for j in range(0,_H,2):
- X1 = -50+randint(-50,50)
- Y1 = -randint(30,45)
- Y2 = randint(30,50)
- CLIP = clip(_7X+i,_7Y+j,_7X+i+2,_7Y+j+2)+t(clip(_7X+i+X1,_7Y+j+Y1,_7X+i+2+X1,_7Y+j+2+Y1))
- ass_main(ASS_BUF, SubL(ts-randint(-30,30),te+randint(-20,30),0),fad(0,100)+an(5)+move(_x,_y,_x+X1,_y+Y1)+CLIP+fscx(_A*100/10)+fscy(450)+color1("361C14")+bord(0), shape )
-
- CLIP = clip(_7X+i,_7Y+j,_7X+i+2,_7Y+j+2)+t(clip(_7X+i+X1,_7Y+j+Y2,_7X+i+2+X1,_7Y+j+2+Y2))
- MOV_CLIP = RC1+color3("ffffff")+bord(1)+move(_x,_y,_x+X1,_y+Y2)+CLIP+fad(0,randint(80,150))
- ass_main(ASS_BUF,SubL(ts-randint(-20,30), te+randint(-20,30)), MOV_CLIP, _TXT)
-
- return (ASS_BUF, TCS_BUF)
复制代码 |
-
1
查看全部评分
-
|