Project1

标题: 请问如何在游戏中模拟手机操作界面? [打印本页]

作者: congtangtang    时间: 2019-4-22 10:36
标题: 请问如何在游戏中模拟手机操作界面?
各位大大,请问如何能够在游戏中模拟一个手机界面呢?例如下图:

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

感激不尽!

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

QQ图片20190421233212.png

作者: yang1zhi    时间: 2019-4-22 13:24
视觉上就是显示图片。
但是你要点过去,也能操作。那你就需要会编程。
作者: tseyik    时间: 2019-4-22 13:30
本帖最后由 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按鈕或標準觸摸輸入之間做出決定。
    可以定義此按鈕出現的場景。
    此按鈕是可選的。
作者: play337    时间: 2019-4-24 09:20


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




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