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

[制作教程] Adding Balloons to Important Sprites

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

    连续签到: 2 天

    [LV.7]常住居民III

    4620

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 2026-7-6 21:12:58 | 显示全部楼层 |阅读模式
    One feature that I've seen commonly requested is being able to add balloons over characters so that you know they have a quest to give you. Some suggest using parallel processes to do that, but as we know many parallel processes can also slow your game down, and I've heard of reports of players being unable to save their game while a balloon image is processing in the system. Here I'm going to show you how to use an image editor to do a similar thing.

    First, you need to install an image editor software. I will be using GIMP for this one.

    Open up three files in GIMP. One will be the sprite of the quest giver (found in your project under img/characters), one will be a sprite that will be for copying over things only so select any for this one (I like to use Actor1, but People1 works well too), and the last one is your balloons file found under img/system.

    Once all three are open, go into GIMP and go to View and check Show Grid and Snap to Grid for all three tiles. Then go to Image and select configure grid for all three files. If you are using default sized assets set the grid to 48 x 48. If you are not using default sized assets set it to whatever your tile size is.

    From here, go to an image file that we will be using for copying things over. First, important: Go to File -> Export As and give it a new name! This way you don't save over the file by accident and lose the original images.
    From there, Select Image, then Scale Image. At this point tell it to double the height of the file but keep the width the same. You will need to select this icon here to be able to do that though else GIMP will try to keep your height and width in ratio.





    If you are using MZ to double the default height of 384 for a sprite sheet you will need to enter in 768. Again do not edit the width. Select the scale button once you are done with this to apply the changes.

    And...looks awful right? Well that's why this is only a placeholder. Next select everything in the image and select CUT. That will get rid of all the images and keep the gird and everything for us to use.

    Next, go to the spritesheet that has the image of your quest giver in it. Select the first row (only the first row!) like this:

    Spoiler






    Select Copy, then go to the 2nd row of our now blank sprite sheet and paste it in. If  you do it correctly it should look like this:

    Spoiler


    Note in GIMP once you select Paste to copy the image you need to click your mouse a couple of times to make it stay where you pasted, as GIMP will, after you select Paste, let you move the image around with the arrow keys to center it first. But if you don't need to move it at all, just left click your mouse a couple times to make it stay there.




    Next, do this for every row of the character sprite, but put row 2 of the sprite in row 4 of our new file, row 3 goes in row 6, and tow 4 goes in row 8. You should always have a blank row of your grid between each image, for reasons we will see very soon. The finished result for this sprite will look like this if you do it correctly.

    Spoiler






    Next, go to your image of your balloon icons. Find the one you wish to show over your quest giver's head, and copy that one icon. Then paste it above the image in the 2nd column of your sprite. The result will look like this:

    Spoiler






    Now use that image as your quest giver! You can put other images in this file too as other quest givers, since we got space for 8. If you want it to blink you can turn stepping animation ON for the sprite, and if you want the balloon to be static (like Trails of Cold Steel) just leave it like this without the stepping animation, or paste the balloon icon above all of the images of the sprite like so:

    Spoiler






    Now in game it will look like this for the quest giver.

    Spoiler






    Now if you want the icon to no longer show once you start dialogue, you set your events as follows. First on page one of the event have it first change the graphic via set move route -> This Event -> Change Actor graphic, and for the new graphic have it use the version without the balloon above it. Then put all of your sidequest logic in the event, and end it with self switch A (or some other way to register that the quest has been given). It will look like this:

    Spoiler






    From there, on page 2 you'd use the version of the image without the balloon above it and do all stuff you need to do for after the player has received the quest.

    And there you have it! Your quest givers and important NPCs can have balloons over them. If you wish to animate them you can play around with which ones you copy over and give them a cycle to match their movement and so on.

    Oh and here is the actor sprite I made for purposes of making this tutorial. Same Terms of use as MZ as I used all MZ materials for this.




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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-16 20:35 , Processed in 0.122674 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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