Dlg play2dSprite » 历史记录 » 版本 2
yangdefeng, 2023-07-24 16:06
1 | 2 | yangdefeng | h4. _*%{color:green}play2dSprite%*_ |
---|---|---|---|
2 | 1 | yangdefeng | |
3 | 在OK框中播放2d特效 |
||
4 | |||
5 | 标签:命令定义|play2dSprite |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 |参数3 |参数4 |参数5 | |
||
9 | |play2dSprite |特效名称 |播放时长 |X坐标 |Y坐标 |缩放倍数 | |
||
10 | |||
11 | 说明: |
||
12 | 2 | yangdefeng | * 参数1: 特效名称 |
13 | 1 | yangdefeng | |
14 | 2 | yangdefeng | * 参数2: 播放时长,单位毫秒,-1为循环播放 |
15 | 1 | yangdefeng | |
16 | 2 | yangdefeng | * 参数3: X坐标,需要配置缩放倍数时不可为空 |
17 | 1 | yangdefeng | ** 空或-1:中间位置 |
18 | |||
19 | 2 | yangdefeng | * 参数4: Y坐标,需要配置缩放倍数时不可为空 |
20 | 1 | yangdefeng | ** 空或-1:中间位置 |
21 | |||
22 | 2 | yangdefeng | * 参数5: 缩放倍数,不写默认为1倍 |
23 | 1 | yangdefeng | |
24 | 2 | yangdefeng | - |
25 | - |
||
26 | |||
27 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
28 | 1 | yangdefeng | |
29 | bq. [<notextile>@</notextile>OK框播放特效] |
||
30 | #act |
||
31 | [[openMerchantBigDlg]] ok_di 0 0 0 1 0 0 |
||
32 | #say |
||
33 | <notextile><</notextile>*{color:green}play2dSprite*:title_235:-1:200:200:4> |