- UID
- 3
- 积分
- 8169
- 帖子
- 259
- 主题
- 68
- 论坛币
- 5016
- 威望
- 54
- EP值
- 2533
- MP值
- 20
- 阅读权限
- 200
- 注册时间
- 2011-8-3
- 在线时间
- 1097 小时
- 最后登录
- 2022-10-8
|
預覽:http://pan.baidu.com/s/1hqqY9CC#dir/path=%2FSaiyakuFX_Preview- from tcaxPy import *
- def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _7X, _7Y, _X, _Y, _A, _W, _H, _TXT, _J, _N):
- ASS_BUF = [] # 用于保存ASS特效
- BLUR =blur(1)
- ass_main(ASS_BUF, SubL(_BT-30, _BT-10), mov(_X+400+randint(-50,50),_Y,_X, _Y)+be(10)+BLUR, _TXT)
- ass_main(ASS_BUF, SubL(_BT-25, _BT-5), mov(_X+400+randint(-50,50),_Y,_X, _Y)+be(10)+BLUR, _TXT)
- ass_main(ASS_BUF, SubL(_BT-20, _BT), mov(_X+400+randint(-50,50),_Y,_X, _Y)+be(10)+BLUR, _TXT)
- ass_main(ASS_BUF, SubL(_BT-35+randint(-8,8), _BT-5), mov(_X+400+randint(-50,50),_Y,_X-200, _Y)+be(10)+BLUR, _TXT)
- ass_main(ASS_BUF, SubL(_BT-20+randint(-8,8), _BT), mov(_X+400+randint(-50,50),_Y,_X-150, _Y)+be(10)+BLUR, _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK, _BT+_SK+_KT-10),mov(_X+70,_Y-30,_X+90,_Y-60)+be(1)+color1("FF80FF")+bord(0)+shad(0), "{\p1}m -67 16 l -67 16 b -67 16 -68 16 -68 17 b -68 16 -69 16 -69 14 b -68 14 -68 14 -68 14 b -67 14 -66 14 -65 14 b -64 14 -64 16 -64 17 b -64 18 -65 19 -66 20 b -68 20 -70 20 -71 18 b -72 18 -73 16 -73 15 b -73 14 -72 12 -71 11 b -69 9 -67 9 -64 10 b -62 11 -61 13 -60 16 b -60 18 -61 20 -62 21 b -63 22 -64 23 -66 23 b -67 23 -68 23 -71 22 b -73 21 -74 21 -75 18 b -76 14 -76 13 -74 10 b -73 7 -68 6 -65 6 b -63 7 -61 8 -60 9 b -58 11 -57 13 -57 14 b -56 14 -56 14 -55 14 b -56 9 -59 7 -61 6 b -65 4 -68 4 -71 5 b -73 6 -75 8 -76 9 b -79 13 -78 14 -78 17 b -77 20 -76 21 -74 23 b -72 24 -70 25 -68 25 b -65 25 -63 24 -61 23 b -59 21 -58 18 -58 16 b -58 13 -60 11 -61 10 b -63 9 -64 8 -66 8 b -68 8 -71 8 -73 11 b -75 13 -75 14 -74 17 b -73 19 -71 21 -70 21 b -68 22 -66 22 -64 21 b -62 20 -62 18 -62 16 b -62 14 -63 12 -65 11 b -66 10 -69 11 -70 12 b -71 13 -72 15 -71 16 b -70 18 -68 19 -67 19 b -66 18 -65 18 -65 17 b -65 17 -65 16 -67 16 {\p0}")
- ass_main(ASS_BUF, SubL(_BT+_SK-10, _BT+_SK),mov(_X+50,_Y-60,_X+70,_Y-30)+be(1)+color1("FF80FF")+bord(0)+shad(0), "{\p1}m -67 16 l -67 16 b -67 16 -68 16 -68 17 b -68 16 -69 16 -69 14 b -68 14 -68 14 -68 14 b -67 14 -66 14 -65 14 b -64 14 -64 16 -64 17 b -64 18 -65 19 -66 20 b -68 20 -70 20 -71 18 b -72 18 -73 16 -73 15 b -73 14 -72 12 -71 11 b -69 9 -67 9 -64 10 b -62 11 -61 13 -60 16 b -60 18 -61 20 -62 21 b -63 22 -64 23 -66 23 b -67 23 -68 23 -71 22 b -73 21 -74 21 -75 18 b -76 14 -76 13 -74 10 b -73 7 -68 6 -65 6 b -63 7 -61 8 -60 9 b -58 11 -57 13 -57 14 b -56 14 -56 14 -55 14 b -56 9 -59 7 -61 6 b -65 4 -68 4 -71 5 b -73 6 -75 8 -76 9 b -79 13 -78 14 -78 17 b -77 20 -76 21 -74 23 b -72 24 -70 25 -68 25 b -65 25 -63 24 -61 23 b -59 21 -58 18 -58 16 b -58 13 -60 11 -61 10 b -63 9 -64 8 -66 8 b -68 8 -71 8 -73 11 b -75 13 -75 14 -74 17 b -73 19 -71 21 -70 21 b -68 22 -66 22 -64 21 b -62 20 -62 18 -62 16 b -62 14 -63 12 -65 11 b -66 10 -69 11 -70 12 b -71 13 -72 15 -71 16 b -70 18 -68 19 -67 19 b -66 18 -65 18 -65 17 b -65 17 -65 16 -67 16 {\p0}")
- PIX = TextPix(_FontFileName, _FaceID, _Fs, _TXT, DecRGB('0000FF'), _Bd, True)
- PIX = Pix_Blur(PIX, _Br)
- InitPosX = _X - int(_A / 2 + 0.5) + PIX[0][0] # 第一个像素的X轴坐标
- InitPosY = _Y - int(_Fs / 2 + 0.5) + PIX[0][1] # 第一个像素的Y轴坐标
- for h in range(PIX[1][1]): # 开始纵向扫描
- PosY = InitPosY + h
- # 当前像素Y轴坐标
- for w in range(PIX[1][0]): # 开始横向扫描
- PosX = InitPosX + w
- X = PosX-randint(-15,15)
- Y = PosY-randint(-15,15) # 当前像素X轴坐标
- idx = 4 * (h * PIX[1][0] + w) # 脚标
- PixR = PIX[2][idx + 0] # 当前像素的红色分量
- PixG = PIX[2][idx + 1] # 当前像素的绿色分量
- PixB = PIX[2][idx + 2] # 当前像素的蓝色分量
- PixA = PIX[2][idx + 3] # 当前像素的透明度
- if PixA != 0: # 如果当前像素不为透明则进行如下操作
- M = mov(PosX,PosY,X,Y)
- #tcs_user(TCS_BUF, 10 * _BT + randint(-300, 300), 10 * _ET + randint(-300, 300), PosX, PosY, MakeRGB(PixR, PixG, PixB), PixA, 0)
- #PIX_pt = PixFlatRGBA(PIX_pt, MakeRGB(PixR, PixG, PixB), PixA)
- #tcs_main(TCS_BUF, PIX_pt, _BT , _BT +_SK , PosX, PosY,0)
- #tcs_move(TCS_BUF, PIX_pt, _BT+_SK, _BT+_SK+_KT, 2000, PosX, PosY, X,Y, 0)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+30+randint(-20,20)),M+bord(0)+fad(0,300),PixPt())
-
- ass_main(ASS_BUF, SubL(_BT, _BT+_SK), pos(_X, _Y), _TXT)
-
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+19),an(5)+be(1)+pos(_X,_Y)+alpha1(255)+t1(0,60,fscx(140)+fscy(50))+t1(60,120,fscx(70)+fscy(120))+t1(120,190,fscx(100)+fscy(100)), _TXT)
- ass_main(ASS_BUF, SubL(_BT+_SK+19,_ET), pos(_X, _Y)+alpha1(255), _TXT)
- return (ASS_BUF, None)
复制代码 |
-
1
查看全部评分
-
|