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

[制作教程] Gift Box with Playable Music Box Tutorial for Beginners

[复制链接]
累计送礼:
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 天前 | 显示全部楼层 |阅读模式
    Gift Box with Playable Music Box Tutorial for Beginners
    by Carrigon
    sims2Workshop.com

    Beginners Level


    This tutorial gives several lessons in one. We are in a small escape the room scenario. The door is locked. Maybe what's inside the giftbox can help us unlock the door.

    I'm going to show you how to make a giftbox. We're going to break what's inside the box, then we're going to put it back together by combining inventory items.

    We're also going to make a playable music box that uses background music, your Audio/BGM music files. And the music box can be played or turned off from inventory.

    I'll give you a demo you can download that will help you see how all this was setup.

    Step One:
    We need to setup the room. We're just doing a very simple room. We event a door, which you can do with just an easy event creation. In event mode on the map, right click where you want to setup your door, just do one as a placeholder for now. We can set the rest of it later.

    Put in a chair, a table, a cabinet. The pictures are just for show. You can decorate the room anyway you like.

    Step Two:
    We need to make our items before we can event them on the map.
    For this project we need a giftbox, we're going to put one on the table, but we need an inventory item for it. So in items, you need to make a giftbox item. Then we need to make another item for what's inside the box. And the broken parts. We only need two broken parts. So we are making a Music Box item, and two separate broken parts we call Broken Parts of the Music Box 1 and Broken Parts of the Music Box 2. And we need one more item, the Glue to fix it. I made them regular Non-consumable items. We will remove them as needed in the events. It's optional to set any of them as key items. Key items make it so that the player won't accidentally sell the item.

    So these are your items for inventory:
    Gift Box
    Music Box
    Broken Music Box Parts 1
    Broken Music Box Parts 2
    Glue
     
    Item Screenshots:

    Spoiler 



     
     
     





     

    We're going to setup what these items do when you click on them in inventory. We'll be using Conditional Branches and Switches. And you can look at my screenshots for how they should look.

    Basically this is what should happen in Inventory once you have taken the Broken Gift Box, we'll get to how to take it later:

    So you took the broken gift box, you click it in inventory to unwrap it. You find you now have broken parts to a Music Box. You need glue to fix it. We will be getting the Glue from the cabinet. Once you have the Glue, you click on the Glue in inventory to use it. Then you click on Broken Music Box Parts 1 to combine your Glued parts. Then you have your working Music Box that you can play. And we will have set it up so that when the player clicks on the right song, it will unlock the door and you can leave the room. You won. It's a very basic escape the room setup. As you get more advanced, you can make much more involved puzzles.

    See the screenshots for how our Common Events look. First you make the items for inventory, then you setup Common Events that we will link to those items so they can be clicked on in inventory and do things.
    Common Events Screenshots:

    Spoiler









    See the screenshots for how to set them up and link them to your items.

    Step Three:
    We will make a few events on the map for these items we just setup.

    We're going to put a giftbox on the table and event it. In Event mode on the map, right click on the table, choose a gift box looking icon from your tileset. See the screenshot for how to setup the event.

    Spoiler



    We're going to do the same with the cabinet. We need to put Glue in the cabinet. You don't need to show an icon for it, so when you setup the event, you don't have to choose what it looks like, just leave it blank. See the screenshot for how to event it.

    Spoiler



    And the last thing we are setting up is the door's event. When we setup our Music Box in Common Events, we told one of the songs to flip a switch. We're going to link that switch to the door so it will unlock when the song is played. See the screenshot for how to event the door.

    Spoiler



    I made a small map for when the player can finally leave the room and linked the door to that, so there's just a nice little escape ending. Just look at the door event for how to link it.

    And that's really it. The Music Box we have made can be carried around by the player and they can play it or turn it off by choosing None on the options. You can use your own music for it. It is using Background Music and will change the background music of the room you are in. If your next map is set to auto change the music to something else, you can play the Music Box from inventory again.
    A Music Box is a great gift to give a player as a reward or even something they can buy from a shop to take on a long journey. You can put whatever music you want to in it and there are scripts you can get that will let you add more choices to the menu for it. There are ways to use variables to turn this into a much more playable radio. This is just a very simple beginner's version.

    Inventory Screenshots:

    Spoiler









    Download Demo here:
    https://mega.co.nz/#!MAAFQY5A!bsTUSlTivQ99J2zO6qynd1R1-T1qDQS849G8dsft74c


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-14 15:44 , Processed in 0.101380 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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