- UID
- 9
- 积分
- 4251
- 帖子
- 293
- 主题
- 40
- 论坛币
- 8462
- 威望
- 29
- EP值
- 1646
- MP值
- 8
- 阅读权限
- 100
- 注册时间
- 2011-8-3
- 在线时间
- 151 小时
- 最后登录
- 2022-8-8
|
本帖最后由 七海の游风 于 2012-2-24 09:41 编辑
- from tcaxPy import *
-
- from collections import deque
- def tcaxPy_Init():
- global _FontFileName
- global _FaceID
- global _Fs
- global _TextWidth
- global _TextHeight
- global _TextLength
- global _TextAdvDiff
- global _ResolutionX
- global _OffsetX
- global _FD
- global Font
- global FontOut
- _FontFileName = GetVal(val_FontFileName)
- _FaceID = GetVal(val_FaceID)
- _Fs = GetVal(val_FontSize)
- _TextHeight = GetVal(val_TextHeight)
- _TextWidth = GetVal(val_TextWidth)
- _TextLength = GetVal(val_TextLength)
- _TextAdvDiff = GetVal(val_TextAdvanceDiff)
- _ResolutionX = GetVal(val_ResolutionX)
- _OffsetX = GetVal(val_OffsetX)
- _FD = 1000 / GetVal(val_FXFPS)
- Font = InitFont(_FontFileName, _FaceID, _Fs, GetVal(val_Spacing), GetVal(val_SpaceScale), 0xFFFFFF, 0, 0)
- FontOut = InitFont(_FontFileName, _FaceID, _Fs, GetVal(val_Spacing), GetVal(val_SpaceScale), 0xFFFFFF, 4, 1)
- def tcaxPy_Fin():
- FinFont(Font)
- FinFont(FontOut)
- def tcaxPy_Main(_i, _j, _n, _BT, _ET, _SK, _KT, _X, _Y, _A, _TXT):
- ASS_BUF = []
- ######开始结束效果######
- ass_main(ASS_BUF, SubL(_BT-6+_j*3,_BT+_j*5+35,60),an(5)+pos(_X, _Y)+fscx(_A*100/10)+fscy(450)+fad(0,500)+color1("421B45")+bord(0), "{\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 {\p0}")
-
- ass_main(ASS_BUF, SubL(_BT-8+_j*5,_BT+(_j+1)*5),an(5)+pos(_X, _Y)+fad(500,0)+bord(3), _TXT)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK),an(5)+pos(_X, _Y)+bord(3), _TXT)
- ass_main(ASS_BUF, SubL(_ET,_ET+50),an(5)+pos(_X, _Y)+bord(3)+fad(0,300), _TXT)
- ######存在效果######
- ass_main(ASS_BUF, SubL(_BT+_SK,_ET),an(5)+pos(_X, _Y)+bord(3), _TXT)
- ######K表现效果######
- ass_main(ASS_BUF, SubL(_BT+_SK, _BT+_SK+_KT+10),an(5)+pos(_X, _Y) + color3('5948F2') +blur(9) + bord(4) + fad(0,300), _TXT)
- EFT = alpha1(0) + color1('000000') + fscy(50) + fscx(50) + alpha1(50) +bord(0) + animation1(0, 3 * _KT, fscy(100) + fscx(100) + alpha1(150))
- ass_main(ASS_BUF, SubL(_BT+_SK, _BT+_SK+_KT),an(5)+pos(_X, _Y) + EFT, _TXT)
- EFT = alpha1(0) + color1('000000') + fscy(50) + fscx(50) + alpha1(50) +bord(0) + animation1(3 * _KT, 6 * _KT, fscy(100) + fscx(100) + alpha1(150))
- ass_main(ASS_BUF, SubL(_BT+_SK, _BT+_SK+_KT),an(5)+pos(_X, _Y) + EFT, _TXT)
- EFT = alpha1(0) + color1('000000') + fscy(50) + fscx(50) + alpha1(50) +bord(0) + animation1(6 * _KT, 9 * _KT, fscy(100) + fscx(100) + alpha1(150))
- ass_main(ASS_BUF, SubL(_BT+_SK, _BT+_SK+_KT),an(5)+pos(_X, _Y) + EFT, _TXT)
-
- return (ASS_BUF, None)
复制代码 01的下载补上 以前发过群里的嗯- -
115下载预览:http://115.com/file/c24qcrlt |
-
1
查看全部评分
-
|