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

Project1

 找回密码
 注册会员
搜索
查看: 2759|回复: 4
打印 上一主题 下一主题

[有事请教] 请问如何在游戏中模拟手机操作界面?

[复制链接]

Lv2.观梦者

梦石
0
星屑
793
在线时间
117 小时
注册时间
2016-3-7
帖子
44
跳转到指定楼层
1
发表于 2019-4-22 10:36:17 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

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

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

x
各位大大,请问如何能够在游戏中模拟一个手机界面呢?例如下图:

用鼠标或者键盘可以点击手机上的图标,实现其他功能,例如听音乐,发信息等等…

感激不尽!

QQ图片20190421233212.png (198.24 KB, 下载次数: 10)

QQ图片20190421233212.png

点评

试试 YEP Picture Common Events....  发表于 2019-4-22 18:13

Lv4.逐梦者

梦石
0
星屑
12157
在线时间
4435 小时
注册时间
2014-4-11
帖子
5955

开拓者

2
发表于 2019-4-22 13:24:10 | 只看该作者
视觉上就是显示图片。
但是你要点过去,也能操作。那你就需要会编程。
回复 支持 反对

使用道具 举报

Lv5.捕梦者

梦石
0
星屑
22017
在线时间
8573 小时
注册时间
2011-12-31
帖子
3362
3
发表于 2019-4-22 13:30:10 | 只看该作者
本帖最后由 tseyik 于 2019-4-22 13:31 编辑

Mobile Game User Interface
https://forums.rpgmakerweb.com/i ... er-interface.94196/

Functionality:
This plugin can create 3 different types of buttons:

1.) Directional Pad

    A single picture which is used for up, left, right, and down movement.
    The scenes that this button appears in can be defined.
    This button is optional.

2.) Key buttons

    These buttons can be used to represent any key. Common keys to use would be "ok" , "escape", "pagedown", "pageup".
    These can be any key, and there can be as many or as few as the developer would like.
    Additionally, the scenes that these buttons appear in can be controlled individually.
    You can also write custom code that will be run when the button is pressed!
    This can be combined with other plugins such as Yanfly Button Common Events to call a Common Event from the virtual button.
    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

3.) Control button

    The control button, if pressed, will collapse and hide all other buttons on the screen.
    If pressed again, it will expand and show all other buttons on the screen.
    This allows the player to decide between using the Mobile UI buttons or the standard touch input.
    The scenes that this button appears in can be defined.
    This button is optional.
功能:
這個插件可以創建3種不同類型的按鈕:

1.)定向墊

    單張圖片,用於向上,向左,向右和向下移動。
    可以定義此按鈕出現的場景。
    此按鈕是可選的。

2.)按鍵

    這些按鈕可用於表示任何鍵。使用的常用鍵是“ok”,“escape”,“pagedown”,“pageup”。
    這些可以是任何密鑰,並且可以有開發人員想要的那麼多或幾個。
    此外,可以單獨控制這些按鈕出現的場景。
    您還可以編寫在按下按鈕時運行的自定義代碼!
    這可以與其他插件(如Yanfly Button Common Events)結合使用,從虛擬按鈕調用公共事件。
    您可以指定此按鈕響應的輸入類型:
        觸發:按下時執行一次(默認)
        按下:按下時執行每一幀
        重複:24幀後,按下時每6幀執行一次
        長按:24幀後,按下時執行每一幀
        發布:釋放按鈕時執行一次

3.)控制按鈕

    按下控制按鈕將折疊並隱藏屏幕上的所有其他按鈕。
    如果再次按下,它將展開並顯示屏幕上的所有其他按鈕。
    這允許玩家在使用Mobile UI按鈕或標準觸摸輸入之間做出決定。
    可以定義此按鈕出現的場景。
    此按鈕是可選的。
回复 支持 反对

使用道具 举报

Lv4.逐梦者

梦石
0
星屑
7126
在线时间
1364 小时
注册时间
2018-12-16
帖子
1948
4
发表于 2019-4-24 09:20:06 | 只看该作者


MV 的 手机插件 都是大概 上下左右 OK CANCEL 而已....
不然你试试看 YEP Picture Common Events 这个...
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2024-5-13 18:11

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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