Project1

标题: 【ULDS】RMMV的 ulds 可以用开关控制吗? [打印本页]

作者: 大胃王大卫    时间: 2017-7-22 14:57
标题: 【ULDS】RMMV的 ulds 可以用开关控制吗?
【ULDS】无限图层系统 在va版本中是可以通过开关来控制开启关闭的 但是在 rmmv中好像就不行   求各位大佬帮忙~


以下是插件的注释:

his plugin does not provide plugin commands.

Map Note: <ulds> JSON </ulds>
"name": picture filename
"path": picture path (default to Default Path)
"loop": true/false
   Whether the picture should loop.
"hue"/"smooth": the attribute of a Bitmap.
<attribute>: the attribute of a Sprite.

A string can be used as a value to be interpreted as a formula.
In the formula, 't' refers to frame count.
                's' refers to $gameSwitches.
                'v' refers to $gameVaribles.

Also, various helpers are available, defined in Helper.

If a string is used as a formula of the attribute,
the attribute will be updated every frame.

By the way, attributes such as "anchor.x" is also available.


Here is an example:

<ulds> {
"name": "BlueSky",
"x": "this.rx(t)",
"y": 50,
"loop": true
} </ulds>


可以用  开关控制吗?
作者: garfeng    时间: 2017-7-22 17:01
不改ULDS.js代码的办法:

  1. <ulds>
  2. {
  3. "name":"Book",
  4. "visible":"$gameSwitches.value(5)"
  5. }
  6. </ulds>
复制代码


上面那个5是开关编号。
作者: 大胃王大卫    时间: 2017-7-30 10:55
garfeng 发表于 2017-7-22 17:01
不改ULDS.js代码的办法:

多谢 亲




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1