An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

TM Anime Light - TMAnimeLight.js

Plugin desc : Displays animated lights at the event.

License : MIT License

Author : tomoaky

Desc page : https://github.com/munokura/tomoaky-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/refs/heads/master/TMAnimeLight.js

File name : TMAnimeLight.js

Help of plugin :

@plugindesc Displays animated lights at the event.
@author tomoaky
@url https://github.com/munokura/tomoaky-MV-plugins
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/tomoaky-MV-plugins ).
Original plugin by tomoaky.
-----
Preparation:

Save the light image distributed with the plugin in the img/system folder. You can freely change the file name.

https://github.com/munokura/tomoaky-MV-plugins/tree/master/img/system


You can use any image, and even display a different image for each event.

How to Use:

Enter the tag <animeLight:filename> in the event's Note field to display the light.

You can also adjust the light's position using the tag.

This plugin has been tested with RPG Maker MV Version 1.3.4.

Note field (Event) Tag:

<animeLight:TMAnimeLight1 192 24 -44 4>
Displays the image TMAnimeLight1.png with an opacity of 192, 24 dots to the right and 44 dots up from the event's base, with a Z coordinate of 4.
The maximum opacity is 255.

In addition to the event Note field, you can also set names using similar tags in the annotation command at the top of the action content.
If a tag is present in both the Note field and the annotation, the annotation takes priority.

Plugin Command:

animeLight 1 TMAnimeLight1 255 0 -44 4
Applies lighting to event 1.
Set the following in order: event number, file name, opacity, X offset, Y offset, and Z coordinate.

If the Z coordinate is omitted, the value of the plugin parameter animeLightZ will be used.

animeLight 1
Deletes lighting from event 1.

The event number (the first number) specifies the target according to the following rules:
-1 ... Targets the player
0 ... Targets the event executing the command
1 or greater ... Targets the event with that number

Bonus Traits:

Common to Note field tags, annotations, and plugin commands, you can display a non-animated image by adding the number 1 after the Z coordinate.
Example: <animeLight:TMAnimeLight1 192 0 0 4 1>
In this case, the Z coordinate cannot be omitted.

Plugin Parameter Notes:

defaultZ
Sets the drawing order of the light, determining whether it will be displayed below or above events.

0 ... Lower than priority "Below normal characters"

2 ... Lower than priority "Same as normal characters"

4 ... Higher than priority "Same as normal characters"

6 ... Higher than priority "Above normal characters"

@param range
@desc Size of animation. Default: 0.1 (0.1 means +/- 10% scaling animation)
@default 0.1

@param defaultZ
@desc Animation Z coordinate. Default: 4
@default 4

@param frames
@desc Number of frames for the animation. Default: 30
@default 30

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.