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

[制作教程] HOW TO MAKE SLIDING BOOKCASES, PILLARS, ETC.

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

    连续签到: 2 天

    [LV.7]常住居民III

    4471

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 前天 14:10 | 显示全部楼层 |阅读模式
    This is a tutorial to show how you can use two tile high items that you can push to reveal hidden passageways, doors, etc. You can also create items like pillars, statues, etc. for sliding onto switches for puzzles.

    First, ( if you don't have it) go to  https://www.gimp.org/   When the page opens, click the red download button.
    Choose Download Directly. May take a couple minutes to download. When done, check your Download folder and double click Gimp Setup. Click Forall or For only you. Choose your language. Click Install. Takes a few minutes. When done, click Finish.
    There should be an icon in your tray.


    The next step is to go to your game editor page. Click Tools then, System Resources. When that opens, click Graphics/Tilesets.




    You can use Preview to make sure it is the Tileset you want to use. For this tutorial, Use Inside_B as that is the one that contains Bookcases.
    Click on Export and export it to your Pictures or Document folder.

    Now, open Gimp.
    It will look like this.






    At the top left corner, click File. From the dropdown, click New
    When that page opens, change the Height and Width both to 512. Make sure it says Pixels{px}
    as this is the size of the Tileset that you will be using.

    Then click on Advanced Options. Click on Fill with and select Transparency from the dropdown.
    Then click OK.
    You will then, see this:












    The checkerboard is the representation of the transparent background and it is the Canvas.
    As well as the top of the page having File, Edit, Image, etc., you can also get to all of those by right clicking the canvas.






    There are a few things to do from the View section:
    First go to View= Zoom. Slide your cursor over and select
    4:1 400%
    Next, go to View= Show Grid which will show the 32x32 squares that the images are made from.
    Then go to View= Snap to Grid. Now find your Inside_B image and drag it to the Canvas. You probably will have to shrink your page so that you can access your image and the Gimp page.
    If you get a window about color, click Keep at the bottom of the page.
    Then you will have this:



    Right click the Canvas again and click Image=Configure Grid
    Make sure that the Horizontal and Vertical Spacings are both  32 Pixels. Click OK.
    Use only the grey slide bars to move the tileset around to find the image you want to use In this case, Bookcase.
    Otherwise, it will mess up the gridlines.

    Right click the Canvas. Choose Tools= Transform Tools= Crop.Then, choose the image you want to copy taking extreme care to use the gridlines to outline the image. Once you have outlined it, hit your Enter button. You will have this:



    Now,
    right click your Canvas File=Export
    At the top of the page,
    give it a name like Bookcase.png
    At the bottom, click Select File Type. Select PNG from the drop down. I think it is PNG anyway,but, I do this step to be sure. Now click Export. Another window will open. Just click Export again.
    By default you will find the image in your Documents file. I move it to Pictures but, that's up to you.
    That is the end of the first Gimp process.
    Now, find your exported file.





    Right click on it and select Rename. Add !$ before the name.




    Now back to Gimp
    As in the fist part of this tutorial, Open Gimp File=New. This time set the sizes to 96x256px
    View=Zoom=4:1 400%
    View= Show Grid
    View= Snap to grid.
    This time, use your isolated  !$Bookcase file.





    Move the bottom grey bar all the way to the left and the side grey bar all the way to the top.

    Once you have it on the canvas, Tools=Move   Now you carefully line the image up  to the top let corner (my preference).
    You should see that it will seem to lock into the frames.




    Once again, Right click your Canvas File=Export
    At the top of the page, give it a name. I gave mine the name Bookcase Block to distinguish it from the single pic.
    At the bottom, click Select File Type. Select PNG from the drop down. Now click Export.
    Another window will open. Just click Export again.
    Change the name of the file to include !$ before the name, !$Bookcase Block

    Now, you can import this file into your System Resources=Characters (not tileset)
    Below, is a room I made for this.

    Make an Event on the page where you want the bookcase.

    The Event should be Same as Characters/Direction Fix/Action Button

    Double click the Graphic box and find your !$Bookcase Block image.
    Double click the Bookcase image. It will appear in the Graphic box.











    Give it a Move Route=Move away from Player by
    Double clicking on the @ at the top of the right side of the page.
    Go to Tab 2
    Click Set Move Route





    Click Move Away from Player
    Click Skip if cannot move.
    Wait for completion is optional.  When selected you cannot move your character while the bookcase is sliding.
    When it is not selected, you can walk behind it when it is moving.

    When setting your move route, be sure to check that This Event is selected. Otherwise, it usually will default to Player.





    Click Apply and OK

    You will only see half of the bookcase on the map.





      You will see the entire image on playtest. You can, now, push it up, down, left and right.





    You can now use this same process for other images like pillars, statues and others for puzzles.

    You can also, combine up to 12 images in one 96x256 block like this:




    I hope this helps those who have wanted to do this in their games.

    Comments good or bad always appreciated. Good Gaming to all!


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-14 17:57 , Processed in 0.107301 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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