设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 78|回复: 0

[制作教程] Event Based Custom Menu Tutorial

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    前天 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    4456

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    22919
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    28269

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Video above explains the process I used to create an event based custom menu screen.

    Programs recommended:

    Photoshop C6S, Fireworks C6S, GIMP2.0, GraphicsGale, or when all else fails MSPaint.

    Next you need to create all the image's you'll be cycling through in your menu keep them organized by naming them in a numerical sequence.

    MenuList v1

    SpoilerMenu001

    Menu002

    Menu003

    Menu004

    Menu005



    if you have submenus simply put an alphanumerical value to remind yourself there is a submenu for that option.

    MenuList v2

    SpoilerMenu001

    Menu001a

    Menu001b

    Menu001c

    Menu002

    Menu002a

    Menu002b

    Menu002c

    Menu003

    Menu003a

    Menu004

    Menu004a

    Menu005

    Menu005a



    Now if your sub-menu has a sub-menu lol confusing i know, but try to stay with me here if you have a sub-menu with a submenu inside it then add a number to that picture after the alphanumerical value. Example "Menu4a1"

    MenuList v3

    SpoilerMenu001

    Menu001a

    Menu001b

    Menu001c

    Menu002

    Menu002a

    Menu002b

    Menu002c

    Menu003

    Menu003a

    Menu004

    Menu004a

    Menu004a1

    Menu004a2

    Menu005

    Menu005a

    Menu005a1

    Menu005a2

    Menu005a3



    Once you have completed your list of pictures the go with your options for menu then we can start building our custom menu with events.

    Step 1

    Spoiler

    Ok first lets make our new event.---------------------------------------------------------------------Change Menu Access: Disable # this disables the old menu system.Conditional Branch: Script: Input.trigger?
    # This means when we push the Esc button our event will be triggeredPlay SE: 'SoundEffectName', 100,100# This tells the event when you push 'Esc' play this sound.Control Switches: [0001:EventName] = ON# This turns on the event we call when 'Esc' is pushed.Branch End#Event Page Ends---------------------------------------------------------------------Type : FixedSpeed: 6: x4 FasterFreq:  5: Highest# frequency settings for movement.---------------------------------------------------------------------Priority: Below CharacterTrigger: Parallel Process# Priority changes where it will be and wheather or not you can pass it.# Trigger functions control how the event is triggered.--------------------------------------------------------------------- 



    Step 2

    Spoiler

    Next Menu we need to program sections and movement triggers. Create and new event page and lets get started.---------------------------------------------------------------------Checked the switch box and set to number of event that we turned on.---------------------------------------------------------------------Conditional Branch: Script: Input.trigger?
    DOWN) # scrolls down on menuConditional Branch: Variable: [0100: EventName] < 4# amount of slots in menu going down before stopping 4 = 5Play SE: 'SoundEffectName', 100,100# This tells the event when you push 'DOWN' play this sound.Branch End#Event Page EndsConditional Branch: Script: Input.trigger?
    UP)# scrolls up on menuConditional Branch: Variable: [0100:EventName] > 0# amount of slots in menu going up before stopping 0 = 1Play SE: 'SoundEffectName', 100,100# This tells the event when you push 'UP' play this sound.Branch End#Event Page Ends---------------------------------------------------------------------Conditional Branch: Variable: [0100:EventName] == 0# When Variable is equal to 0 run below script.Show Picture: 1, 'FILENAME', Upper Left (0,0), (100%,100%), 255, Normal# Shows picture selected on layer one and position of picture.Branch End#Event Page EndsConditional Branch: Variable: [0100:EventName] == 1# When Variable is equal to 1 run below script.Show Picture: 1, 'FILENAME1', Upper Left (0,0), (100%,100%), 255, Normal# Shows picture selected on layer one and position of picture.Branch End#Event Page EndsConditional Branch: Variable: [0100:EventName] == 2# When Variable is equal to 2 run below script.Show Picture: 1, 'FILENAME2', Upper Left (0,0), (100%,100%), 255, Normal# Shows picture selected on layer one and position of picture.Branch End#Event Page EndsConditional Branch: Variable: [0100:EventName] == 3# When Variable is equal to 3 run below script.Show Picture: 1, 'FILENAME3', Upper Left (0,0), (100%,100%), 255, Normal# Shows picture selected on layer one and position of picture.Branch End#Event Page EndsConditional Branch: Variable: [0100:EventName] == 4# When Variable is equal to 4 run below script.Show Picture: 1, 'FILENAME4', Upper Left (0,0), (100%,100%), 255, Normal# Shows picture selected on layer one and position of picture.Branch End#Event Page Ends---------------------------------------------------------------------Type : FixedSpeed: 6: x4 FasterFreq:  5: Highest# frequency settings for movement.---------------------------------------------------------------------Priority: Below CharacterTrigger: Autorun# Priority changes where it will be and wheather or not you can pass it.# Trigger functions control how the event is triggered.--------------------------------------------------------------------- 



    Step 3

    Spoiler

    Ok now we gotta program ways to interact with the interface both an interact and cancel button.---------------------------------------------------------------------Conditional Branch: Script: Input.trigger?
    # This means when we push the Esc it will trigger script that followsPlay SE: 'SoundEffectName', 100,100# This tells the event when you push 'ESC' play this sound.Control Variables: [0100:VariableName] = 0# think of this as a refresh variable so list resets.Erase Picture: 1# self explainitory it erases picture in slot 1.Control Switches: [0001:EventName] = OFF# Turns MENU HUD off when you press 'ESC'---------------------------------------------------------------------Conditional Branch: Script: Input.trigger?
    C) # This means when we push the 'Enter' it will trigger script that followsPlay SE: 'SoundEffectName', 100,100# This tells the event when you push 'Enter' play this sound.Conditional Branch: Variable: [0100:Menu] == 0# When Variable is equal to 0 run below script.Control Switches: [0099:EventName] = ON# Sub Menu 1 Slot activatesBranch End#Event Page EndsConditional Branch: Variable: [0100:Menu] == 1# When Variable is equal to 1 run below script.Control Switches: [0098:EventName] = ON# Sub Menu 2 Slot activatesBranch End#Event Page EndsConditional Branch: Variable: [0100:Menu] == 2# When Variable is equal to 2 run below script.Control Switches: [0097:EventName] = ON# Sub Menu 3 Slot activatesBranch End#Event Page EndsConditional Branch: Variable: [0100:Menu] == 3# When Variable is equal to 3 run below script.Control Switches: [0096:EventName] = ON# Sub Menu 4 Slot activatesBranch End#Event Page EndsConditional Branch: Variable: [0100:Menu] == 4# When Variable is equal to 4 run below script.Control Switches: [0095:EventName] = ON# Sub Menu 5 Slot activatesBranch End#Event Page Ends--------------------------------------------------------------------- 



    Step 4

    Spoiler

    Ok time to make another event page and start again.Make sure you set everything on the leftside correctly before proceeding to next step.---------------------------------------------------------------------First thing you'll notice is we'll have 2 switches on 1 is the menu switch the other is the submenu we just accessed. make sure both are checked on before proceeding.---------------------------------------------------------------------Type : FixedSpeed: 6: x4 FasterFreq:  5: Highest# frequency settings for movement.---------------------------------------------------------------------Priority: Below CharacterTrigger: Autorun Process# Priority changes where it will be and wheather or not you can pass it.# Trigger functions control how the event is triggered.---------------------------------------------------------------------Conditional Branch: Script: Input.trigger?
    # This means when we push the Esc it will trigger script that followsPlay SE: 'SoundEffectName', 100,100# This tells the event when you push 'ESC' play this sound.Control Variables: [0099:VariableName] = 0# think of this as a refresh variable so list resets.Erase Picture: 1# self explainitory it erases picture in slot 1.Control Switches: [0099:EventName] = OFF# Turns SUBMENU off when you press 'ESC'---------------------------------------------------------------------Conditional Branch: Script: Input.trigger?
    C) # This means when we push the 'Enter' it will trigger script that followsPlay SE: 'SoundEffectName', 100,100# This tells the event when you push 'Enter' play this sound.Conditional Branch: Variable: [0099:VariableName] == 0# When Variable is equal to 0 run below script.Script: SceneManager.call(Scene_Item)# Calls Item Window SceneBranch End#Event Page EndsConditional Branch: Variable: [0099:VariableName] == 1# When Variable is equal to 1 run below script.Script: SceneManager.call(Scene_Skill)# Calls Skill Window SceneBranch End#Event Page EndsConditional Branch: Variable: [0099:VariableName] == 2# When Variable is equal to 2 run below script.Script: SceneManager.call(Scene_Equip)# Calls Equipment Window SceneBranch End#Event Page Ends--------------------------------------------------------------------- 



    Once you have completed all these steps you are ready to test your first build. Enjoy and Happy gaming!

    Now rinse and repeat these steps in more event pages til you build youself a complex event scripted menu like show in my video.

    Enjoy and Happy Gaming  



    本贴来自国际rpgmaker官方论坛作者:ViperX420处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/event-based-custom-menu-tutorial.25696/

    本帖子中包含更多资源

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

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-14 15:48 , Processed in 0.066430 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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