diff --git a/_server/MotaAction.g4 b/_server/MotaAction.g4 index 63c674d..186c7cb 100644 --- a/_server/MotaAction.g4 +++ b/_server/MotaAction.g4 @@ -2229,7 +2229,7 @@ setanimate_s : '新建 帧动画/特效' '名称' EvalString '参照点偏移像素x' IntString? 'y' IntString? '动画大小 宽' IntString '高' IntString '总帧数' IntString BGNL?Newline '图片序列(同一帧后面覆盖先前的,默认起始帧为0,结束帧为最后一帧)'BGNL?Newline '(剪裁区域不填写为全图,绘制区域不填写为全画面)'BGNL?Newline - '(透明度100为不透明,默认为不透明,结束透明度默认与开始透明度相同)'BGNL?Newline + '(不透明度100为不透明,默认为不透明,结束透明度默认与开始不透明度相同)'BGNL?Newline animateDrawableimage+? Newline '音频序列(到达对应帧进行播放)'BGNL?Newline animateDrawablesound+? Newline @@ -2253,17 +2253,17 @@ animateDrawableList | animateDrawabletextEmpty; animateDrawableimage - : '图片' EvalString? '起始帧' IntString? '起始透明度' IntString? BGNL? Newline + : '图片' EvalString? '起始帧' IntString? '起始不透明度' IntString? BGNL? Newline '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString?'旋转角度'IntString? BGNL? Newline - '结束帧' IntString? '结束透明度' IntString? '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString?'旋转角度'IntString? Newline + '结束帧' IntString? '结束不透明度' IntString? '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString?'旋转角度'IntString? Newline /* animateDrawableimage tooltip : 帧动画图片列表 helpUrl : /_docs/#/instruction default : ["","","","","","","","","","","","","","","","","","","","","","",""] colour : this.subColor allImages : ['EvalString_0'] -if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('透明度范围为0-100,0为透明,100为不透明,不填默认为不透明') -if (IntString_12&&(IntString_12 < 0||IntString_12>100)) throw new Error('透明度范围为0-100,0为透明,100为不透明,不填默认为不透明') +if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明') +if (IntString_12&&(IntString_12 < 0||IntString_12>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明') IntString_0 = IntString_0 ? (', "beforefarme": '+IntString_0+'') : ''; IntString_1 = IntString_1 ? (', "globalAlpha": '+IntString_1+'') : ''; IntString_2 = IntString_2 ? (', "cx": '+IntString_2+'') : ''; @@ -2611,10 +2611,10 @@ return code; */; animationDrawable_s - : '帧动画' '总显示帧数' IntString '底色' ColorString? Colour '底色透明度' IntString? BGNL?Newline + : '帧动画' '总显示帧数' IntString '底色' ColorString? Colour '底色不透明度' IntString? BGNL?Newline '图片序列(同一帧后面覆盖先前的,默认起始帧为0,结束帧为最后一帧)'BGNL?Newline '(剪裁区域不填写为全图,绘制区域不填写为全画面)'BGNL?Newline - '(透明度100为不透明,默认为不透明,结束透明度默认与开始透明度相同)'BGNL?Newline + '(不透明度100为不透明,默认为不透明,结束不透明度默认与开始透明度相同)'BGNL?Newline animationDrawableimage+? Newline '音频序列(到达对应帧进行播放)'BGNL?Newline animationDrawablesound+? Newline @@ -2642,17 +2642,17 @@ animationDrawableList | animationDrawabletextEmpty; animationDrawableimage - : '图片' EvalString? '起始帧' IntString? '起始透明度' IntString? BGNL? Newline + : '图片' EvalString? '起始帧' IntString? '起始不透明度' IntString? BGNL? Newline '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString? BGNL? Newline - '结束帧' IntString? '结束透明度' IntString? '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString? Newline + '结束帧' IntString? '结束不透明度' IntString? '剪裁坐标cx' IntString? 'cy' IntString? '宽' IntString? '高' IntString? '绘制坐标x'IntString? 'y' IntString? '宽' IntString? '高' IntString? Newline /* animationDrawableimage tooltip : 帧动画图片列表 helpUrl : /_docs/#/instruction default : ["","","","","","","","","","","","","","","","","","","","",""] colour : this.subColor allImages : ['EvalString_0'] -if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('透明度范围为0-100,0为透明,100为不透明,不填默认为不透明') -if (IntString_11&&(IntString_11 < 0||IntString_11>100)) throw new Error('透明度范围为0-100,0为透明,100为不透明,不填默认为不透明') +if (IntString_1&&(IntString_1 < 0||IntString_1>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明') +if (IntString_11&&(IntString_11 < 0||IntString_11>100)) throw new Error('不透明度范围为0-100,0为透明,100为不透明,不填默认为不透明') IntString_0 = IntString_0 ? (', "beforefarme": '+IntString_0+'') : ''; IntString_1 = IntString_1 ? (', "globalAlpha": '+IntString_1+'') : ''; IntString_2 = IntString_2 ? (', "cx": '+IntString_2+'') : '';