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

[转载发布] [New plugin] Multi Level Map (x, y, z)

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

    连续签到: 2 天

    [LV.7]常住居民III

    8357

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Introduction
    Hi everyone!
    I'm pretty new to the forums and the RPGMaker community, so please tell me if this post needs some fixing.
    I've been scripting for a while now, working on a project of my own. One day YouTube recommended me a tutorial video on how to make a bridge on MV that you could either cross by climbing stairs, or walk from the ground, hiding the character as it went through it. I found quite odd that there was no plugin that extended the (x, y) position to (x, y, z), so I started to work on one.

    It took me a couple of weeks to find a way to insert that extra dimension that would not "visibly" break the compatibility with other plugins. That said, I've only used 4 or 5 plugins so far, so I'm not sure how compatible it actually is, I can only hope


    Basically, it still uses (x, y) but every (x, y, z) goes to (2 * w * z + x, y) for z > 0 and (2 * w * (-z) + x, 2*h + y) for z < 0 (z < 0 is untested). So have in mind that you could have issues with the coordinates when using it.

    An idea on the way it works is presented on the .js if you want to read it. It also has a list of known issues and stuff that haven't been tested. I've also included there an idea on how to make it work with the old QuasiMovement plugin for pixel movement, which I still use on my game.

    The thing is, I want to try things that I'm pretty sure would break compatibility with a lot of stuff out there. At the same time, I made this plugin to share it with the community. Eventually, I decided to release as-is in current state. This means I won't be working on new features nor fixing errors on the public version anymore. Instead, I'm allowing anyone to use, copy and modify as much as they like. It can be used for free in commercial and non-commercial games, as long as you credit me ( and maybe send me a link to see your game
    ).

    Any changes you make don't have to be shared. Also, I'm not sure how to state this but I don't want people to be selling their modifications (if that's possible).

    This is my first public plugin, I hope it can be of use for someone!

    Features
    - Stacks maps to provide a sense of height.
    - Stuff can fall through holes on the Map.
    - Since each level is a Map, it has its own settings for encounters and such.

    Video

    https://www.youtube.com/embed/pVnW50YELZ8


    Download
    https://www.dropbox.com/sh/jvr25bvrv8vfu5f/AAD6Mno2p4trE31t8sd4CVd5a?dl=0
    It has the .js and a .zip with a project with no sound and minimum images, which may crash due to that. (If this isn't allowed please tell me and I'll delete it.)

    Note: please use the MultiLevelMap.js (v1.0.1) found on the dropbox folder instead of the one on the .zip. I've removed a couple of console logs and fixed a small graphical error seen on the video when falling and using the stairs. I don't want to upload the whole .zip again


    How to Use
    I don't have many plugins to test the compatibility but I think you could place it below Yanfly's plugins.
    Check or change the region numbers for the hole/upwards/downward actions.
    Try a different value for gravity.

    On the Ground Level Map (Z=0), you can stack maps upwards by adding on the notes <ABOVE L />, with L a list of numbers like:
          <ABOVE m1 />
          <ABOVE m1, m2, />
          <ABOVE m1, m2, m3, m4 />
       where m1, m2, m3 and m4 are the Ids of the Maps for Z=1 to Z=4. Example:
          <ABOVE 1, 2, 10, 23, 154, 9001 />
    [UNTESTED] Idem for the lower levels:
         <BELOW m1, m2, m3, m4 />
       where m1, m2, m3 and m4 are the Ids of the Maps for Z=-1 to Z=-4. Example:
         <BELOW 666 />

    On those maps, add this on your note:
         <BASE_MAP m />
       where m is the Id of the Ground Map. Example:
         <BASE_MAP 1 />
    This allows you to place or transport your character to any map, even if it's not the ground level.

    You can set Regions in each map to "teleport" to the above or below Z level, and you can also make holes where the characters will fall until they reach a "non-hole" spot.

    If you have doubts, check the demo project and experiment with it.

    Terms of Use
      You can use, copy or modify any part of the plugin, provided you mention the original Plugin (Multi Map Level) and Author (Fhntop).
      You can use this or any modified versions for free in both commercial and non-commercial games, as long as you credit the original Author (Fhntop). In the case of using a modified version, the Authors of that version can also request credit and please also respect their Terms of Use.
      Any modified version of this Plugin must conform to these Terms of Use and should not be commercialized.

    Credit and Thanks
    Fhntop

    Extra notes
    I haven't tried all the possibilities in RPGMaker, mostly ignoring followers and vehicles. I did try some minor eventing but not enough to be sure it won't break. So please be careful and backup your project before using it.

    Have fun!


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-2 02:13 , Processed in 0.067524 second(s), 57 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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