- 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, _X, _Y, _A, _TXT):
- ASS_BUF = []
- TCS_BUF = []
- C = ["2509FF","B86700","BE43B7","6DB031","9F67EA","00697C","0095F4"]
- BLUR = blur(1.8)
- xt = 15
- if _j == 0:
- global COLOR
- global FX
- global TXT
- global KT
- COLOR =[]
- FX = []
- TXT =[]
- KT =[]
- for i in range(_n):
- COLOR.append(C[randint(0,6)])
- FX.append(randint(0,7))
- TXT.append(GetData()[val_Text][_i][i])
- for j in range(1,_n):
- if TXT[j][0] == " ":
- COLOR[j] = COLOR[j-1]
- elif COLOR[j]==COLOR[j-1]:
- temp1 = ["2509FF","B86700","BE43B7","6DB031","9F67EA","00697C","0095F4"]
- temp1.remove(COLOR[j])
- COLOR[j]=temp1[randint(0,5)]
- if TXT[j][0] == " ":
- FX[j]=FX[j-1]
- elif FX[j]==FX[j-1]:
- temp2 = [0,1,2,3,4,5,6,7]
- temp2.remove(FX[j])
- FX[j]=temp2[randint(0,6)]
- KT.append(_KT)
- if _i == 0:
- global POS
- if _i == 0 and _TXT[0]=="W":
- FX[_j] = 9
- if _i == 0 and _TXT[0]=="K":
- FX[_j] = 9
- if _i == 1 and _TXT[0]=="T":
- FX[_j] = 9
- if _i == 1 and _TXT[0]=="U":
- FX[_j] = 9
- if _i == 2 and _TXT[0]=="W":
- FX[_j] = 9
- if _i == 4 and _TXT[0]=="Y":
- FX[_j] = 9
- if _i == 4 and _TXT[0]=="S":
- FX[_j] = 9
- if _i == 5 and _TXT[0]=="L":
- FX[_j] = 9
- if _i == 5 and _TXT[0]=="U":
- FX[_j] = 9
- if _i == 6 and _TXT[0]=="S":
- FX[_j] = 9
- if _i == 6 and _TXT[0]=="T":
- FX[_j] = 9
- if _i ==0 and _TXT[0] == "い" :
- FX[_j] = 8
- if _i ==1 and _TXT[0] == "瞳":
- FX[_j] = 10
- if _i ==3 and _TXT[0] == "D":
- FX[_j] = 8
- if _i ==4 and _TXT[0] == "た":
- FX[_j] = 8
- if _i ==5 and _TXT[0] == "は" :
- FX[_j] = 8
- if _i == 0 or _i == 1 or _i == 3 or _i == 4 or _i == 5:
- T = KT[-1]
- else:
- T = -_n*3
- if _i ==0 and _j == 0 :
- POS = [_X,_Y]
- if _i ==1 and _j == 0 :
- POS = [_X,_Y]
- if _i ==3 and _j == 0 :
- POS = [_X,_Y]
- if _i ==4 and _j == 0 :
- POS = [_X,_Y]
- if _i ==5 and _j == 0 :
- POS = [_X,_Y]
- if _i<4:
- COLOR[_j] = "2509FF"
- elif _i>3 and _i<8:
- COLOR[_j] = "BE43B7"
- elif _i>7 and _i<11:
- COLOR[_j] = "6DB031"
- elif _i == 17:
- if _TXT[0]=="O":
- COLOR[_j] = "0095F4"
- elif _TXT[0]=="S":
- COLOR[_j] = "9F67EA"
- if FX[_j] == 0:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+15,100), fad(50,0)+ mov(_X-10,_Y-10,_X, _Y) + BLUR + bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 1:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+15,100), fad(50,0)+ mov(_X+10,_Y+10,_X, _Y) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 2:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+15,100), fad(50,0)+ mov(_X-10,_Y+10,_X, _Y) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 3:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+15,100), fad(50,0)+ mov(_X+10,_Y-10,_X, _Y) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 4:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+15,100), fad(50,0)+pos(_X,_Y)+frx(90)+ t(frx(0)) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 5:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+15,100), fad(50,0)+pos(_X,_Y)+fry(90)+ t(fry(0)) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 6:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+15,100), fad(50,0)+pos(_X,_Y)+fsc(0,0)+ t(fsc(100,100)) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 7:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+15,100), fad(250,0)+pos(_X,_Y) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
-
- elif FX[_j] == 8:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK-8,100), fad(100,0)+pos(_X,_Y) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- for i in range(0,40,2):
- ass_main(ASS_BUF, SubL(_BT+_SK-8+i, _BT+_SK+_KT+i,100-i), fad(0,300)+alpha(i*3)+ mov(_X,_Y,POS[0], POS[1]) +blur(1)+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 9:
- xt = 25
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+40,1),pos(_X-randint(8,20),_Y-randint(8,20))+an(7)+bord(5)+alpha1(255)+color3(C[randint(0,6)])+fscx(11)+fscy(11)+t1(0,700,bord(2)+fscx(350)+fscy(350)+fad(0,200)), '{\p1}m 10 10 s 10 -10 -10 -10 -10 10 c{\p0}')
- ass_main(ASS_BUF, SubL(_BT+_SK-15+randint(0,5),_BT+_SK+40,1),pos(_X+randint(-10,10),_Y+randint(-10,10))+an(7)+bord(5)+alpha1(255)+color3(C[randint(0,6)])+fscx(11)+fscy(11)+t1(0,700,bord(2)+fscx(350)+fscy(350)+fad(0,300)), '{\p1}m 10 10 s 10 -10 -10 -10 -10 10 c{\p0}')
- ass_main(ASS_BUF, SubL(_BT+_SK-15+randint(3,5),_BT+_SK+40,1),pos(_X+randint(8,20),_Y+randint(8,20))+an(7)+bord(5)+alpha1(255)+color3(C[randint(0,6)])+fscx(11)+fscy(11)+t1(0,700,bord(2)+fscx(350)+fscy(350)+fad(0,200)), '{\p1}m 10 10 s 10 -10 -10 -10 -10 10 c{\p0}')
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+xt,100), fad(50,0)+pos(_X,_Y)+fsc(0,0)+ t1(0,150,fsc(130,130))+t1(250,500,fsc(100,100)) +blur(1)+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- elif FX[_j] == 10:
- ass_main(ASS_BUF, SubL(_BT+_SK-15, _BT+_SK+50,100), fad(50,0)+pos(_X,_Y)+fry(90)+ t1(0,300,fry(0)) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- for i in range(0,40,2):
- ass_main(ASS_BUF, SubL(_BT+_SK+50+i, _BT+_SK+_KT+i,100-i), fad(0,300)+alpha(i*3)+ mov(_X,_Y,POS[0], POS[1]) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
-
- ass_main(ASS_BUF, SubL(_BT+_SK+xt,_ET-_j*(T)/_n ,20), fad(0,100)+ pos(_X, _Y) +BLUR+ bord(1.5)+color1("FFFFFF") +color3(COLOR[_j]), _TXT)
- if _i>10:
- for i in range(int(_BT+_SK-30),int(_ET-_j*(T)/_n),30):
- for j in range (int(_A/30)):
- X = [_X+randint(int(-_A/2),int(_A/2)),_Y+randint(-20,20)]
- R = RandCir2(_X, _Y, 25, 27)
- D = sqrt((X[0]-R[0])**2+(X[1]-R[1])**2)
- CO = C[randint(0,6)]
- F =randint(60,110)
- FS = fsc(F,F)
- angel =randint(-360,360)
- for k in range(0,130,50):
- ass_main(ASS_BUF, SubL( i+k, i+k + 50,1),fad(120,120)+ mov(X[0]+(X[0]-R[0])/130*k,X[1]+(X[1]-R[1])/130*k,X[0]+(X[0]-R[0])/130*(k+50),X[1]+(X[1]-R[1])/130*(k+50))+color1('FFFFFF')+color3(CO)+alpha(20)+bord(1.2)+blur(2.3)+frz(angel)+FS, '{\\p3}m 20 0 b 20 10 30 20 40 20 b 30 20 20 30 20 40 b 20 30 10 20 0 20 b 10 20 20 10 20 0')
- return (ASS_BUF, TCS_BUF)
复制代码 |
-
1
查看全部评分
-
|