设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
12
返回列表 发新帖
楼主: 清明上河図
打印 上一主题 下一主题

[有事请教] 虚拟按键插件

[复制链接]

Lv2.观梦者

梦石
0
星屑
616
在线时间
300 小时
注册时间
2018-7-28
帖子
212
11
 楼主| 发表于 2019-5-5 23:57:14 | 只看该作者
tseyik 发表于 2019-5-5 15:06
你開一個新專案

然後用這個替代;mobileUI放在img文件夾

谢谢大佬,问题解决了,是插件问题,用你发插件就有用了。

嗯,就是还有个问题想请教一下

就是按键设置Scene_Menu 这个打开菜单可以用,但是菜单下一级,比如道具,装备,

它又会换成触屏状态。

我不知道怎么设置这个的语法....

点评

你打開rpg_scenes.js搜一下Scene看看有什麼場景如:Scene_Gameover;Scene_Battle;Scene_Map;Scene_Title: Scene_Menu; Scene_Skil:装备Scene_Equip;Scene_Status;道具Scene_Item  发表于 2019-5-6 08:39
插件更新到2.0了,改名ALOE_VirtualButtons,文件夾也改名VirtualButtons  发表于 2019-5-6 08:19
菜鸟一只
回复

使用道具 举报

Lv5.捕梦者

梦石
0
星屑
22052
在线时间
8576 小时
注册时间
2011-12-31
帖子
3362
12
发表于 2019-5-6 08:29:24 | 只看该作者
本帖最后由 tseyik 于 2019-5-6 08:57 编辑

Virtual Buttons and DPad
2.0
ALOE_VirtualButtons.zip (10.92 KB, 下载次数: 122)
加入道具……

道具

v2.0.0(2019年5月4日)

     在傳輸時清除輸入狀態以減輕卡住的DPad輸入錯誤
     改進每幀清除輸入狀態以減輕錯誤
     通過插件命令隱藏的按鈕將保持隱藏,直到show plugin命令
     按鍵可以觸發常見事件
     可以選擇使用按下按鈕時顯示的“熱門”圖像
     延遲參數淡入
     插件命令選項顯示所有按鈕
     插件命令選項隱藏所有按鈕
     用於更改按鈕不透明度的插件命令
     添加插件參數以切換對話期間是否隱藏按鈕
     修復在並行事件檢查輸入方向觸發Show Choices事件命令後DPad無法清除方向的錯誤

Plugin Commands:
* All plugin commands begin with VirtualButtons (MobileUI is also valid, for backwards-compatibility).
* All plugin commands are not case sensitive (i.e. "DPad" is the same as "dpad")

    hide
        Description: hides the specified button
        Allowed arguments:
            DPad
            Any key button defined by you
            Control
            All
        Examples:
            VirtualButtons hide DPad
            virtualbuttons hide Ok
            MobileUI hide PageDown
    show
        Description: shows the specified button
        Allowed arguments:
            DPad
            Any key button defined by you
            Control
            All
        Examples:
            VirtualButtons show DPad
            virtualbuttons show Ok
            MobileUI show PageDown
    opacity
        Description: change the opacity of a button
        Allowed arguments:
            DPad
            Any key button defined by you
            Control
            All
        Examples:
            VirtualButtons opacity dpad 100
            VirtualButtons opacity all 50

回复

使用道具 举报

Lv2.观梦者

梦石
0
星屑
616
在线时间
300 小时
注册时间
2018-7-28
帖子
212
13
 楼主| 发表于 2019-5-6 12:25:19 | 只看该作者
tseyik 发表于 2019-5-6 08:29
Virtual Buttons and DPad
2.0

大佬。我发现新的插件好像有bug。

移动的在菜单界面按一下就不能动了,那个隐藏按钮的按键也有bug。

点击了菜单返回后再点那个他会自动打开菜单。

还有人物对时如果设置的是按钮显示,如果按确定键会一直触发对话,然后按返回键

每次都会打开菜单...

如果对话设置按钮隐藏,对话有覆盖到的按键会一直闪烁,就是不会很明显。

菜鸟一只
回复

使用道具 举报

Lv5.捕梦者

梦石
0
星屑
22052
在线时间
8576 小时
注册时间
2011-12-31
帖子
3362
14
发表于 2019-5-6 12:41:57 | 只看该作者
的確有反映有bug
You may specify the type of input this button responds to:

    Triggered: Execute once when pressed (default)
    Pressed: Execute every frame while pressed
    Repeated: After 24 frames, execute every 6 frames while pressed
    Long Pressed: After 24 frames, execute every frame while pressed
    Released: Execute once when button is released

您可以指定此按鈕響應的輸入類型:

     觸發:按下時執行一次(默認)
     按下:按下時執行每一幀
     重複:24幀後,按下時每6幀執行一次
     長按:24幀後,按下時執行每一幀
     發布:釋放按鈕時執行一次
回复

使用道具 举报

Lv2.观梦者

梦石
0
星屑
616
在线时间
300 小时
注册时间
2018-7-28
帖子
212
15
 楼主| 发表于 2019-5-7 14:51:11 | 只看该作者
tseyik 发表于 2019-5-6 12:41
的確有反映有bug
You may specify the type of input this button responds to:

好的,谢谢大佬
菜鸟一只
回复

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
24
在线时间
2 小时
注册时间
2019-5-3
帖子
2
16
发表于 2019-5-7 19:55:13 | 只看该作者
楼主你有没有遇到就是进入菜单后按键失灵的情况,就是翻页键虽然显示图片但没有效果

点评

就是我前面说的bug,你试下前面那大佬说的解决方法  发表于 2019-5-8 13:20
回复

使用道具 举报

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

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-5-21 00:24

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表