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

[转载发布] Individual Animation Dimensions

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

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 昨天 13:14 | 显示全部楼层 |阅读模式
    Individual Animation Dimensions (RMMV)
    Author(s):
    Coolie, caethyril
    Version: 1.0
    Updated Date: March 2nd, 2023​


    What does this plugin do?
    RPG Maker MV forces a very small 192x192 size for each cell in an animation. This is way too small for an engine that allows us to make games with much higher resolutions. This plugin allows you to set the width and height of the animation cells in individual animations in your database, so you can use anims with cell sizes bigger (or smaller) than 192x192.

    Keep in mind, each cell must be the same width and height on BOTH animation files (if you're using two) used to create the animation.

    When the notetag to customize the animation size does not exist, the animation will use the default 192x192 cell size, so the default RMMV animations will not be ruined.

    Screenshot




    How do I use this plugin?

    • DOWNLOAD the plugin from my Pastebin here. Do not change the filename.
    • Add the plugin to your js/plugins/ folder in your RMMV project.
    • Place the plugin somewhere near the bottom of your plugin list and make sure the plugin is ON.
    • Use the notetag described below.

    Changing an Animation's Dimensions
    To change an animation's dimensions, you will need to add a note to the NAME of your animation (name refers to the animation's name in your game's database, not the filename of the animation).

    1. YourAnimationName<iad:W,H,[+/-]X,[+/-]Y>
    复制代码


    Just like this, do not use any spaces!


    • W = the width of the animation cells for this animation (i.e. 256)
    • H = the height of the animation cells for this animation (i.e. 128)
    • X = the X offset of the animation, in case the editor doesn't allow you to get it in the perfect position. Needs a + or - before it.
    • Y = the Y offset of the animation, in case the editor doesn't allow you to get it in the perfect position. Needs a + or - before it.
    Example of an Animation name that would utilize this plugin:
    1. Fire<iad:256,128,+45,-36>
    复制代码

    The above example would expect an animation sheet of...

    • Five columns at a width of 256 each, or 1,280 pixels wide
    • Image height equaling 128 x the number of rows in the image file
    • For a 60 cell anim, this would be 12 rows of 5, or 1,536 pixels high.
    In-game...

    • The animation would be placed in-game +45 pixels from its X position in the MV editor.
    • The animation would be placed in-game -36 pixels from its Y position in the MV editor.
    • TIP! You can leave your animation at X/Y 0/0 in the editor and use the notetag on the name to position your animation anywhere on the screen!
    • TIP! It may also be a good idea to always make each cell have an EVEN value (i.e. 500x250 rather than 501x249) to ensure that the animation is always properly centered where it is placed. Not required, though!

    Compatibility
    This plugin was written for RPG Maker MV version 1.6.1! It may not work with earlier versions, which are unsupported. Please make sure you are using RPG Maker MV version 1.6.1 before making a bug report.

    This plugin only overwrites one function in sprites.js:
    1. Sprite_Animation.prototype.updateCellSprite
    复制代码

    If you have another plugin which overwrites this function, it may be incompatible. I'll do my best to update the plugin for compatibility.

    Terms of Use
    This plugin is free to use in both non-commercial and commercial projects. Credit is not required, but is always nice. If you do wish to credit the individuals responsible for this plugin, they are:


    • Coolie (Author)
    • caethyril (Notetag Assistance)
    Download Link
    Pastebin:
    Coolie_IndividualAnimDimensions.js


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-31 23:35 , Processed in 0.072744 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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