- UID
- 1462
- 积分
- 667
- 帖子
- 77
- 主题
- 13
- 论坛币
- 1091
- 威望
- 2
- EP值
- 447
- MP值
- 0
- 阅读权限
- 50
- 注册时间
- 2013-9-6
- 在线时间
- 141 小时
- 最后登录
- 2024-5-25
|
there is problem in line 39 - return (ASS_BUF, TCAS_BUF)
I don't know why exactly ?- from tcaxPy import *
- from extLibs.small_code import *
- def tcaxPy_Init():
- global _Fs
- global _Spacing
- global Font
- global pos_fix
- _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)
-
- def tcaxPy_Fin():
- FinFont(Font)
- def tcaxPy_Main(_i, _j, _n, _start, _end, _elapk, _k, _x, _y, _a, _txt):
- ASS_BUF = []
- TCAS_BUF = []
- dx = _x
- dy = _y
- ts_0 = _start - 40 + 2 * _FD / 10 * _j
- ts = ts_0 + 40
- te = _end - 2 * _FD / 10 * (_n - _j - 1)
- te_0 = te + 40
- ass_main(ASS_BUF, SubL(Start = ts_0, End = ts_0 + 40, Layer = 1), mov(_x + 50, _y - 20, _x, _y) + fad(300, 0) + bord(3) + blur(2), _txt)
- ass_main(ASS_BUF, SubL(Start = ts_0, End = ts_0 + 40, Layer = 2), mov(_x + 50, _y - 20, _x, _y) + fad(300, 0) + bord(1) + color3('000000'), _txt)
- ass_main(ASS_BUF, SubL(Start = ts_0, End = ts_0 + 40, Layer = 3), mov(_x + 50, _y - 20, _x, _y) + fad(300, 0) + bord(0), _txt)
- return (ASS_BUF, TCAS_BUF)
复制代码
|
|