Skip to content

Comments

Add IgnoreAbsentBattleAnimationFlash to Player config#3519

Closed
ianling wants to merge 1 commit intoEasyRPG:masterfrom
ianling:battleanimflash
Closed

Add IgnoreAbsentBattleAnimationFlash to Player config#3519
ianling wants to merge 1 commit intoEasyRPG:masterfrom
ianling:battleanimflash

Conversation

@ianling
Copy link
Contributor

@ianling ianling commented Feb 17, 2026

It is common for developers to use the Flash Event command rapidly in order to tint the player's sprite.

If a developer uses the Show Animation command at the same time, the animation will override the flash from Flash Event, even if the animation does not contain any flashes. This behavior is present in both RPG Maker 2003 and EasyRPG.

In my game for example, I am using Flash Event to darken the player sprite in a dark cave map. Also, when the player equips any item anywhere in the game, I play an animation using Show Animation. If the player equips an item in the cave map, despite the animation not containing any flashing, the Flash Event command appears to stop working for the duration of the animation. This causes the player sprite to appear untinted briefly.


This PR adds a new option to the Player config: IgnoreAbsentBattleAnimationFlash (default: false -- retains prior behavior)

When true, battle animations that do not contain flashes will not override flashes from other sources, including Flash Event. Battle animations that do contain flashes still behave as before.

If this isn't the kind of change you want to pull in, feel free to reject, I just needed this for my game and thought others might run into the same issue, as tinting the player is fairly common in Yume Nikki fan games.

@github-actions github-actions bot added the Settings All about customizable features, storing and applying them label Feb 17, 2026
@ianling
Copy link
Contributor Author

ianling commented Feb 17, 2026

Also open to naming the config option something else if you are interested; wasn't sure what to call it

@Ghabry
Copy link
Member

Ghabry commented Feb 21, 2026

I don't think such stuff should be a config option as this is highly game specific.

That's (maybe) a good candidate for a database chunk or an additional flag for the battle animation event command. Closing this one for now. We can add this later as a per-game option when the editor is advanced enough :).

@Ghabry Ghabry closed this Feb 21, 2026
@jetrotal
Copy link
Contributor

jetrotal commented Feb 21, 2026

Maniac's patch battle processing has a "disable flash" parameter

image
@btl.begin {
    .normal
    .troop 0
    .disableEscape
    .enableGameover
    .disableFlash
}
@cmd 10710, "", [0, 0, 0, 0, 0, 0, 0, 1, 0, 1]


@btl.begin {
    .normal
    .troop 0
    .disableEscape
    .enableGameover
}
@cmd 10710, "", [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Settings All about customizable features, storing and applying them

Development

Successfully merging this pull request may close these issues.

3 participants