- UID
- 9
- 积分
- 4251
- 帖子
- 293
- 主题
- 40
- 论坛币
- 8462
- 威望
- 29
- EP值
- 1646
- MP值
- 8
- 阅读权限
- 100
- 注册时间
- 2011-8-3
- 在线时间
- 151 小时
- 最后登录
- 2022-8-8
|
- from tcaxPy import *
- from pixLibs.ImageStone.pixStone import *
- from s import *
- from gdiFont import * #加入GDIfont模块
- def tcaxPy_Init():
- global _Fs
- global Font
- _Fs = GetVal(val_FontSize)
- Font = InitFont(GetVal(val_FontFileName), GetVal(val_FaceID), _Fs, GetVal(val_Spacing), GetVal(val_SpaceScale), 0xFFFFFF, 0, 0)
-
-
- global GdiFont #GDIfont
-
- GdiFont = gfInitFont(GetVal(val_FontFaceName), _Fs, GetVal(val_Spacing), GetVal(val_SpaceScale), 0, False) #GDIfont
-
- def fsc(x):
- X = randint(0,x)
- return fscx(X)+fscy(X)
- def tcaxPy_Fin():
- FinFont(Font)
- gfFinFont(GdiFont) #GDIfont
- def tcaxPy_User():
- # 创建ASS文件
- file_name = GetVal(val_OutFile) + '.ass'
- ass_header = GetVal(val_AssHeader)
- ASS_FILE = CreateAssFile(file_name, ass_header)
- # 创建TCAS文件
- file_name = GetVal(val_OutFile) + '.tcas'
- fx_width = GetVal(val_ResolutionX)
- fx_height = GetVal(val_ResolutionY)
- fx_fps = GetVal(val_FXFPS)
- TCAS_FILE = CreateTcasFile(file_name, fx_width, fx_height, fx_fps)
- # 基本数据, 如果需要查看含义, 请取消下面两行代码的注释
- #GetHelp()
- #Pause()
- fontSize = GetVal(val_FontSize)
- marginX = GetVal(val_OffsetX)
- marginY = GetVal(val_OffsetY)
- spacing = GetVal(val_Spacing)
- lineNum = GetVal(val_nLines)
- textNum = GetVal(val_nTexts)
- start = GetVal(val_BegTime)
- end = GetVal(val_EndTime)
- kar = GetVal(val_KarTime)
- elapKar = GetVal(val_KarTimeDiff)
- text = GetVal(val_Text)
- textLength = GetVal(val_TextLength)
- advance = GetVal(val_TextAdvance)
- advDiff = GetVal(val_TextAdvanceDiff)
- # 主循环
- for i in range(lineNum):#lineNum
- #initPosX = marginX # an 7, 4, 1
- initPosX = (fx_width - textLength[i]) / 2 + marginX # an 8, 5, 2
- #initPosX = fx_width - textLength[i] - marginX # an 9, 6, 3
- initPosY = marginY # an 7, 8, 9
- #initPosY = fx_height / 2 - marginY # an 4, 5, 6
- #initPosY = fx_height - fontSize - marginY # an 1, 2, 3
- for j in range(textNum[i]):
- posX = initPosX + advDiff[i][j] + advance[i][j] / 2
- posY = initPosY + fontSize / 2
- # Fake1 一直有效
- if text[i][j] == ' ': #text[i][j] == '' text[i][j] == ' '
- continue
- ASS_BUF, TCAS_BUF = tcaxPy_Main_Fake1(i, j, textNum[i], start[i], end[i], elapKar[i][j], kar[i][j], posX, posY, advance[i][j], text[i][j])
- if len(ASS_BUF) > 0:
- WriteAssFile(ASS_FILE, ASS_BUF)
- if len(TCAS_BUF) > 0:
- WriteTcasFile(TCAS_FILE, TCAS_BUF)
- Progress(i, j) # 显示进度
- FinAssFile(ASS_FILE)
- FinTcasFile(TCAS_FILE)
-
- def tcaxPy_Main_Fake1(_i, _j, _n, _BT, _ET, _SK, _KT, _x, _y, _a, _txt):
- elapk = GetVal(val_KarTimeDiff)[_i]
- ASS_BUF = []
- TCS_BUF = []
-
-
- dx = _x - int(_a / 2 + 0.5)
- dy = _y - int(_Fs / 2 + 0.5)
-
- if _i > -1 and _i < 6:
- for i in range(_Fs):
- ass_main(ASS_BUF, SubL(_BT-30+_j*5,_BT+(_j+1)*5,1),pos(_x,_y+_Fs-2)+bord(0)+shad(0)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8))+fad(200,0), _txt)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK,1),pos(_x,_y+_Fs-2)+bord(0)+shad(0)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8)), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y+_Fs-2)+bord(0)+shad(0)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8)), _txt)
-
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x+1,_y+_Fs-2)+bord(0)+shad(0)+blur(1)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8))+fad(100,100), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x-1,_y+_Fs-2)+bord(0)+shad(0)+blur(1)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8))+fad(100,100), _txt)
-
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET-8+_j*5,1),pos(_x,_y+_Fs-2)+bord(0)+shad(0)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8))+fad(0,200), _txt)
-
-
- if _i > 5:
- for i in range(_Fs):
- ass_main(ASS_BUF, SubL(_BT-30+_j*5,_BT+(_j+1)*5,1),pos(_x,_y+_Fs-2)+bord(0)+shad(0)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8))+fad(200,0), _txt)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK,1),pos(_x,_y+_Fs-2)+bord(0)+shad(0)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8)), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y+_Fs-2)+bord(0)+shad(0)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8)), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET-8+_j*5,1),pos(_x,_y+_Fs-2)+bord(0)+shad(0)+frx(180)+clip(dx,dy+_Fs+i,dx+_a,dy+_Fs+i+1)+color1('BBBBBB')+alpha1(110+(i*8))+fad(0,200), _txt)
-
-
-
- if _i > 9:
- if _j%2 ==0:
- ts1 = _BT + _SK
- EFT1 = alpha1(0) + \
- bord(0) + blur(1.5)+fs(5) +t(fs(1)) + fad(0, 200)
- num = 60
- points1 = Bezier3(num, dx, dy, dx+_a, dy+_Fs, dx+10, dy-5,dx+_a-10, dy+_Fs+5)
- for i in range(num):
- POS = pos(points1[i][0], points1[i][1]) # 获取曲线上点坐标
- EFT3 = POS + EFT1 + color1('FFB870')
- ass_main(ASS_BUF, SubL(ts1 +int(i/num*_KT), ts1 +int(i/num*_KT)+40, 1), EFT3, "●")
-
- RAN =randint(0,500)
- EFT2 = alpha1(0) + \
- bord(0) + blur(0) + t(0+RAN,225+RAN,alpha1(255)) + t(255+RAN,450+RAN,alpha1(0)) + t(450+RAN,675+RAN,alpha1(255)) + t(675+RAN,900+RAN,alpha1(0)) + t(900+RAN,1125+RAN,alpha1(255)) + t(1125+RAN,1350+RAN,alpha1(0)) + fad(0, 200)
-
- MOV = mov(points1[i][0], points1[i][1],points1[i][0]-40+randint(-20,30), points1[i][1]+randint(-30,30)) # 获取曲线上点坐标
- EFT4 = MOV + EFT2 +color1('FFFFFF') +an(5) +p(4) +fad(0,100)
- ass_main(ASS_BUF, SubL(ts1 +int(i/num*_KT), ts1 +int(i/num*_KT)+150, 1), EFT4, "m 0 19 l 20 19 l 26 0 l 33 19 l 52 19 l 36 31 l 42 49 l 26 38 l 10 49 l 16 31 l 0 19")
-
-
-
- else :
- ts2 = _BT + _SK
- EFT1 = alpha1(0) + \
- bord(0) + blur(1.5)+fs(5) +t(fs(1)) + fad(0, 200)
- num = 60
- points2 = Bezier3(num, dx, dy+_Fs, dx+_a, dy, dx+10, dy+_Fs+5, dx+_a-10, dy-5)
- for i in range(num):
- POS = pos(points2[i][0], points2[i][1]) # 获取曲线上点坐标
- EFT3 = POS + EFT1 + color1('FFB870')
- ass_main(ASS_BUF, SubL(ts2 +int(i/num*_KT), ts2 +int(i/num*_KT)+40,2), EFT3, "●")
-
- RAN =randint(0,500)
- EFT2 = alpha1(0) + \
- bord(0) + blur(0) + t(0+RAN,225+RAN,alpha1(255)) + t(255+RAN,450+RAN,alpha1(0)) + t(450+RAN,675+RAN,alpha1(255)) + t(675+RAN,900+RAN,alpha1(0)) + t(900+RAN,1125+RAN,alpha1(255)) + t(1125+RAN,1350+RAN,alpha1(0)) + fad(0, 200)
-
- MOV = mov(points2[i][0], points2[i][1],points2[i][0]-40+randint(-20,30), points2[i][1]+randint(-30,30)) # 获取曲线上点坐标
- EFT4 = MOV + EFT2 +color1('FFFFFF') +an(5) +p(4) +fad(0,100)
- ass_main(ASS_BUF, SubL(ts2 +int(i/num*_KT), ts2 +int(i/num*_KT)+150,2), EFT4, "m 0 19 l 20 19 l 26 0 l 33 19 l 52 19 l 36 31 l 42 49 l 26 38 l 10 49 l 16 31 l 0 19")
-
-
-
-
- COLOR1 = vc1('FFFFFF','FFFFFF','BBBBBB','BBBBBB')
- if _i > -1 and _i < 6:
- ass_main(ASS_BUF, SubL(_BT-30+_j*5,_BT+(_j+1)*5,1),pos(_x,_y)+fad(200,0)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1+t(alpha1(255)), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1+K(_KT), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET-8+_j*5,1),pos(_x,_y)+fad(0,200)+bord(0)+shad(1.3)+COLOR1, _txt)
-
- elif _i > 5 and _i < 8:
- ass_main(ASS_BUF, SubL(_BT-30+_j*5,_BT+(_j+1)*5,1),pos(_x,_y)+fad(200,0)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET-8+_j*5,1),pos(_x,_y)+fad(0,200)+bord(0)+shad(1.3)+COLOR1, _txt)
-
- T = ["{\p3}m -5 -15 l -15 0 l -6 7 l 9 12 l 5 4 l 13 -13 ","{\p3}m -11 -13 l -15 0 l -11 5 l 14 8 l 9 4 l 12 -12 ","{\p3}m -11 -11 l -11 -3 l -14 12 l 5 13 l 10 2 l 14 -13 ","{\p3}m -13 -6 l -12 -1 l -13 11 l 7 12 l 9 -2 l 7 -15 ","{\p3}m -9 -13 l -8 4 l -14 8 l 13 11 l 5 -2 l 10 -14 "]
- TT = T[randint(0,4)]
- points = gfGetPoints(GdiFont, _txt) #GDIfont
- PIX = PixFromPoints(points) #GDIfont
- FRY = frz(0+randint(0,360))
- 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(0,PIX[1][1],1): # 开始纵向扫描
- PosY = InitPosY + h
-
- for w in range(0,PIX[1][0],1): # 开始横向扫描
- PosX = InitPosX + w
- X = PosX-randint(-50,50)
- Y = PosY-randint(-50,50) # 当前像素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: # 如果当前像素不为透明则进行如下操作
- rnd = randint(-20,20)
- C = randint(-120,20)
- FSC = fsc(100+randint(-40,0))
- ass_main(ASS_BUF, SubL(_BT+_SK+rnd,_BT+_SK+20+rnd,1, Pix_Style),an(7)+pos(PosX,PosY)+alpha(255-PixA)+blur(1.2)+FRY+FSC+shad(0)+bord(0)+color1("FFFFFF"), TT)
- ass_main(ASS_BUF, SubL(_BT+_SK+20+rnd,_BT+_SK+_KT+100+w+C,1, Pix_Style),an(7)+mov(PosX,PosY,PosX,PosY+50+rnd)+fad(0,300-C)+alpha(255-PixA)+blur(1.2)+FRY+FSC+shad(0)+bord(0)+color1("FFFFFF"), TT)
-
- elif _i == 8:
- ass_main(ASS_BUF, SubL(_BT-30+_j*5,_BT+(_j+1)*5,1),pos(_x,_y)+fad(200,0)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET-8+_j*5,1),pos(_x,_y)+fad(0,200)+bord(0)+shad(1.3)+COLOR1, _txt)
-
- points = gfGetPoints(GdiFont, _txt) #GDIfont
- PIX = PixFromPoints(points) #GDIfont
- FRY = frz(0+randint(0,360))
- 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(0,PIX[1][1],1): # 开始纵向扫描
- PosY = InitPosY + h
-
- for w in range(0,PIX[1][0],1): # 开始横向扫描
- PosX = InitPosX + w
- X = PosX-randint(-50,50)
- Y = PosY-randint(-50,50) # 当前像素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: # 如果当前像素不为透明则进行如下操作
- B = randint(-20,30)
- FSC = fsc(100+randint(-40,0))
- ass_main(ASS_BUF, SubL(_BT+_SK-10+h-w,_BT+_SK+_KT-B+w,1, Pix_Style),an(7)+pos(PosX,PosY)+alpha(110)+blur(1.2)+FSC+fad(200,200)+shad(0)+bord(0)+color1("FFD5AB")+ be(1) + p(4), 'm 0 -5 l 50 -50 l 5 0 l 50 50 l 0 5 l -50 50 l -5 0 l -50 -50 ')
- ass_main(ASS_BUF, SubL(_BT+_SK-10+h+w,_BT+_SK+_KT-B+h,1, Pix_Style),an(7)+pos(PosX,PosY)+alpha(100)+blur(1.2)+FSC+fad(200,200)+shad(0)+bord(0)+color1("FFFFFF")+ be(1) + p(3), 'm 0 -3 l 50 -50 l 3 0 l 50 50 l 0 3 l -50 50 l -3 0 l -50 -50 ')
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y)+bord(0)+fad(200,200)+shad(0)+blur(1)+color1('FFFFFF'), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y)+bord(0)+fad(200,200)+shad(0)+blur(1)+color1('FFFFFF'), _txt)
-
-
- elif _i == 9:
- SCOLOR1 = vc1('D8D6FF','D8D6FF','A091E6','A091E6')
- for i in range(8):
- ass_main(ASS_BUF, SubL(_BT+_SK+20-i*8,_BT+_SK+_KT,1),an(7)+pos(_x,_y)+fad(200,0)+frz(i*45)+bord(0)+shad(0)+SCOLOR1 + p(2), "m 0 -6 b 7 -17 11 -26 2 -44 b -7 -31 -8 -18 0 -7")
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET),an(7)+pos(_x,_y)+frz(i*45)+bord(0)+shad(0)+SCOLOR1 + p(2), "m 0 -6 b 7 -17 11 -26 2 -44 b -7 -31 -8 -18 0 -7")
- ass_main(ASS_BUF, SubL(_ET,_ET+30+_j*5),an(7)+mov(_x,_y,_x-40+randint(-20,20),_y+20+randint(-20,20))+fad(0,200+randint(-20,50))+frz(i*45)+t(frz(i*45+randint(0,360))+frx(0++randint(0,360))+fry(0++randint(0,360)))+bord(0)+shad(0)+SCOLOR1 + p(2), "m 0 -6 b 7 -17 11 -26 2 -44 b -7 -31 -8 -18 0 -7")
-
-
- ass_main(ASS_BUF, SubL(_BT-30+_j*5,_BT+(_j+1)*5,1),pos(_x,_y)+fad(200,0)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET-8+_j*5,1),pos(_x,_y)+fad(0,200)+bord(0)+shad(1.3)+COLOR1, _txt)
-
- R = RandCir2(_x, _y, 10, 11)
- for i in range(_BT+_SK-20,_BT+_SK+_KT,8):
- JD = randint(-360,360)
- Q = randint(-10,10)
- H = randint(-30,40)
- HH = randint(-10,30)
- D = randint(-20,20)
- for k in range(5):
- ass_main(ASS_BUF, SubL(i, i+150,50), an(7)+fsc(190+D)+bord(0)+shad(0)+SCOLOR1+fad(30,300)+mov(R[0]+Q,R[1]+Q,_x-50+H,_y+30+HH)+t(frx(JD)+fry(JD)+frz(JD)), "{\p3}m 3 9 b -6 9 -7 -7 2 -12 b 7 -8 6 1 3 9 {\p0}")
-
-
- points = gfGetPoints(GdiFont, _txt) #GDIfont
- PIX = PixFromPoints(points) #GDIfont
- FRY = frz(0+randint(0,360))
- 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(0,PIX[1][1],1): # 开始纵向扫描
- PosY = InitPosY + h
-
- for w in range(0,PIX[1][0],1): # 开始横向扫描
- PosX = InitPosX + w
- X = PosX-randint(-50,50)
- Y = PosY-randint(-50,50) # 当前像素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: # 如果当前像素不为透明则进行如下操作
- B = randint(-20,30)
- FSC = fsc(100+randint(-40,0))
- ass_main(ASS_BUF, SubL(_BT+_SK-10+h+w,_BT+_SK+_KT-B+h+w,1, Pix_Style),an(7)+pos(PosX,PosY)+alpha(110)+blur(1.2)+FSC+fad(200,200)+shad(0)+bord(0)+color1('FFFFFF')+ be(1) + p(4), 'm 0 -5 l 50 -50 l 5 0 l 50 50 l 0 5 l -50 50 l -5 0 l -50 -50 ')
- ass_main(ASS_BUF, SubL(_BT+_SK-10+h-w,_BT+_SK+_KT-B+h-w,1, Pix_Style),an(7)+pos(PosX,PosY)+alpha(100)+blur(1.2)+FSC+fad(200,200)+shad(0)+bord(0)+color1('D8D6FF')+ be(1) + p(3), 'm 0 -3 l 50 -50 l 3 0 l 50 50 l 0 3 l -50 50 l -3 0 l -50 -50 ')
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y)+bord(0)+fad(200,200)+shad(0)+blur(1)+color1('FFFFFF'), _txt)
-
-
-
- elif _i > 9:
- ass_main(ASS_BUF, SubL(_BT-30+_j*5,_BT+(_j+1)*5,1),pos(_x,_y)+fad(200,0)+bord(0)+shad(1.3)+COLOR1, _txt)
- ass_main(ASS_BUF, SubL(_BT+(_j+1)*5,_BT+_SK,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1+t(alpha1(255)), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK,_BT+_SK+_KT,1),pos(_x,_y)+bord(0)+shad(1.3)+COLOR1+K(_KT), _txt)
- ass_main(ASS_BUF, SubL(_BT+_SK+_KT,_ET-8+_j*5,1),pos(_x,_y)+fad(0,200)+bord(0)+shad(1.3)+COLOR1, _txt)
-
-
-
-
- global _Spacing # 字体间距
- _Spacing = GetVal(val_Spacing)
- if _i < 6:
- for i in range(0,_a,1):
- for k in range(1):
- R = randint(-20,20)
- C = randint(-20,90)
- B = randint(-5,5)
- ass_main(ASS_BUF, SubL(_BT+_SK+int(i*_KT/_a),_BT+_SK+int(i*_KT/_a)+100+R,1), bord(0)+blur(0.5)+fsc(100+C)+mov(dx+i,dy+_Fs,dx+i-B,dy-20+R)+color1('FFFFFF')+fad(0,200+R), "{\p4}m 20 0 b 9 0 0 8 0 20 b 0 31 9 39 20 39 b 32 39 41 31 41 20 b 41 8 32 0 20 0 l 20 6 b 23 6 25 5 26 2 b 35 5 39 12 39 20 b 39 27 35 33 31 34 b 31 31 24 29 20 29 b 16 29 10 31 10 34 b 6 33 2 27 1 20 b 1 12 7 5 15 2 b 15 5 18 6 20 6")
-
- return (ASS_BUF, TCS_BUF)
复制代码 里面有些东西可能写了也没用 无视吧…… |
-
4
查看全部评分
-
|