查看: 3248|回复: 2

[已经过期] 【ULDS】RMMV的 ulds 可以用开关控制吗?

[复制链接]
梦石
0
星屑
65
在线时间
69 小时
注册时间
2017-1-28
回帖
55
发表于 2017-7-22 14:57:18 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
【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>


可以用  开关控制吗?
梦石
2
星屑
5550
在线时间
2566 小时
注册时间
2012-2-9
回帖
947

开拓者

发表于 2017-7-22 17:01:33 | 显示全部楼层
不改ULDS.js代码的办法:

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


上面那个5是开关编号。
回复

使用道具 举报

梦石
0
星屑
65
在线时间
69 小时
注册时间
2017-1-28
回帖
55
 楼主| 发表于 2017-7-30 10:55:11 | 显示全部楼层
garfeng 发表于 2017-7-22 17:01
不改ULDS.js代码的办法:

多谢 亲
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部