Looping Animations
2015.10.21
by Shaz
Introduction
This plugin allows you to loop animations on map events.
It also allows you to tell an animation (either looping animation, from this plugin, or a normal animation from the Show Animation event command) to play behind the character sprite instead of in front
How to use
Add to your plugins folder (file name does not really matter, but I call mine LoopAnim.js). There are no plugin parameters to configure.
Use the plugin command
LoopAnim start event animid to start a looping animation on an event.
Use the plugin command
LoopAnimation stop event to stop an animation from looping on an event.
Use the plugin command
SetAnimLoc event location to make an animation play behind or in front of an event
animid is the animation id from the Animations tab. Do not enter leading zeros.
event can be a number (no leading zeros) for a specific map event, 0 for the event that has the plugin command, -1 for the player. You can also use $gameVariables.value(x) to tell it to retrieve the event id from variable x (change x to the variable id).
location can be any of below/behind/above/front.
Plugin
Download from pastebin
Credit
- Shaz
Terms
- free for use in commercial games
Revisions
Spoiler2015.10.30 - added ability to make animations play behind the character instead of in front
本贴来自国际rpgmaker官方论坛作者:Shaz处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/looping-animations-on-map.46757/