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

[转载发布] Animated Pictures Plugin

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

    连续签到: 2 天

    [LV.7]常住居民III

    9072

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 2026-7-26 21:00:34 | 显示全部楼层 |阅读模式

    This is a RPG Maker MV plugin that gives functionality to Show Picture events to display animated pictures. Animated pictures are shown in a sprite sheet format. There are looping controls and speed controls that can be used with these animated pictures.

    Plugin Parameters




    Loop by Default: Animated pictures will loop back to beginning by default once it reaches the last frame.





    Wait Frames Default: Default number of frames to wait before moving to next picture cell. The lower the number, the faster it goes (1 is the fastest). The higher the number, the slower it goes.

    Instructions
    Save your animated picture into your game project's img/pictures folder. The filename must be named with the following format:

    filename[HxV]
    Replace H in the filename with the number of horizontal cells it has. Replace Vin the filename with the number of vertical cells it has. The number of total cells it has available is equal the multiplicative product of the horizontal and vertical cells.

    For example:

    "Parrot[3x2]" will have 3 horizontal cells and 2 vertical cells. This means
    there are a total of 6 cells that will be used for this animated picture.

    Animations will be played from left to right, then up to down so please arrange them as such. For example, 4x5 will play like this:

    1  2  3  4
    5  6  7  8
    9 10 11 12
    13 14 15 16
    17 18 19 20
    Keep this in mind as you format your animated pictures.

    For a sample picture to try out, use this:





    Save it as Parrot[3x2].png in your img/pictures folder and use a Show Picture to display it in-game.

    Plugin Commands
    If you want to change the settings of specific pictures like loop or speed, please use these plugin commands to change them:

    AnimatedPicture id NoLoop
    - Replace id with the ID of the selected picture. The selected picture will not loop after this plugin command takes effect.
    AnimatedPicture id Loop
    - Replace id with the ID of the selected picture. The selected picture will loop after this plugin command takes effect.
    AnimatedPicture id Speed x
    - Replace id with the ID of the selected picture. Replace x with the number of frames to wait in between animated cells. The higher the number, the faster the picture will animate. The lower the number, the slower the picture will animate. The lowest the speed can go is 1.
    AnimatedPicture id Reset
    - Replace id with the ID of the selected picture. This will reset the loop and speed settings for that picture to whatever the value is in the plugin parameters set for default.

    Good Practices
    The plugin will perform at near 60 FPS if you follow the 5 practices below:




    • Use animated pictures sparingly if possible. RPG Maker MV's cache has a limited size to it, which means the more animated pictures you use, the faster it will fill up. And the faster it fills up, the more it needs to be emptied to allow other assets in your game to load at all.
    • If you do use animated pictures, trim down as much empty space as possible and keep picture cells to a minimum size to reduce bloating the cache.
    • If it is practical, make your sprite sheet cells work towards a power of 2 (ie: sizes of 32x32, 64x64, 128x128, 256x256, etc). Bitmaps render best when it works in this cell range. This is not necessary, but it is a thing to keep in mind.
    • Limit the amount of colors used in the animated picture to reduce the filesize of the image and reduce the strain on the cache. Use more flat colors instead of gradients. These work better for the engine.
    • When you are done using the animated picture, use the Erase Picture command to clear the picture from use. This will stop the animation frame calculating and reduce strain on your game.
    WARNING!!!
    This plugin is made for RPG Maker MV versions 1.6.1 and below. If you update RPG Maker MV past that and this plugin breaks, I am NOT responsible for it.

    Terms of Use
    1. These plugins may be used in free or commercial games.

    2. 'Fallen Angel Olivia' must be given credit in your games.

    3. You are allowed to edit the code.

    4. Do NOT change the filename, parameters, and information of the plugin.

    5. You are NOT allowed to redistribute these Plugins.

    6. You may NOT take code for your own released Plugins without credit.


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-22 08:37 , Processed in 0.062721 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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