Paradajz´s BloodSplatterEffect.js

I am excited to share my first plugin with the community! 🙂

BloodSplatterEffect.js

This plugin enhances your combat experience by adding a blood splatter animation (from your animation database) and optional sound effects when characters hit their targets. This Animation plays on top of your attack animations (And Magic if you set it in the parameters).

Features:
  • Blood Splatter Animation: Play a customizable blood splatter animation upon hitting enemies or allies.
  • Death Animation: Play a customizable death animation when enemies or actors die.
  • Critical Hit Animation: Play a special animation for critical hits.
  • Sound Effects: Optionally play a sound effect alongside the animations.
  • Toggle Option: Easily enable or disable the blood effect during gameplay with a simple plugin command or through the options menu.
  • Animation Queue: Prevent lag when multiple animations play simultaneously.
  • Customizable Parameters: Adjust animation IDs, speed multiplier, animation positioning, and more.

Terms of Use:
  • This plugin can be used in free or commercial projects.
  • Please credit Paradajz when using this plugin in your games.
Installation:
  1. Download the plugin and save it as BloodSplatterEffect.js in your project's js/plugins/ folder.
  2. Enable the plugin in the Plugin Manager in RPG Maker MZ.
  3. Configure the desired parameters, including the blood animation ID, death animation ID, and sound effect.
Plugin Command:
  • Use ToggleBloodEffect to turn the blood effect on or off during your game events.
Notetags:
  • <noblood>: Add to Actors, Enemies, or Skills to prevent the blood animation from playing.
  • <bloodanim: x>: Set a custom blood splatter animation ID for specific actors or enemies.
  • <deathanim: x>: Set a custom death animation ID for specific actors or enemies.
  • <critanim: x>: Set a custom critical hit animation ID for specific actors or enemies.
I tested it in my project with a lot of plugins including many VisuStella plugins such as Battle Core etc., and it works without a problem.

Feel free to ask any questions or provide feedback


Desktop 2024.09.15 - 23.25.26.02 (2).gif



i used this free blood animation in that example:

Major Update: Death Animations and more ​


I'm back to announce a significant update to the Blood Splatter Effect plugin for RPG Maker MZ! Here are the new features:

1. Death Animations Added!​

  • The plugin now supports custom death animations for enemies and actors!
  • New Parameter: Set a default death animation ID in the plugin parameters.
  • New Note Tag:<deathanim: x>
    • Specify a unique death animation ID for each enemy or actor.
    • This animation plays when the character dies, adding dramatic flair to your battles.

2. Custom Blood Animations New Notetag:​

  • New Note Tag:<bloodanim: x>
    • Set a custom blood splatter animation ID for individual enemies or actors.
    • Allows for varied and character-specific blood effects.

3. Side Changes:​

  • The blood animation will only play if the target is actually hit by the attack. (Missed attacks will not trigger the blood effect.)

  • Added a plugin parameter to add it to the game options, to toggle the blood ON/OFF

ezgif.com-resize (1).gif

BloodSplatterEffect Plugin - Changelog for Version 1.2​

New Features:
  1. Critical Hit Animations:
    • Added support for custom critical hit animations for enemies and actors!
    • New parameter: Set a default critical hit animation ID in the plugin parameters.
    • New note tag: <critanim: x> to specify a unique critical hit animation ID for each enemy or actor.
  2. Options Menu Integration:
    • Added a new parameter to enable the blood splatter effect toggle in the game's options menu.
    • Players can now easily turn the blood effect on or off from the options screen.
  3. Animation Queueing System: (Not needed by default but there it is just in case)
    • Implemented an optional animation queue to prevent lag when multiple animations play simultaneously.
    • New parameter: UseAnimationQueue to enable/disable this feature.
    • New parameter: AnimationQueueDelay to set the delay between queued animations.
  4. Enhanced Customization:
    • New parameter: AnimationPosition to choose between playing animations on the target or at the screen center.
Improvements:
  • Updated help section with comprehensive information on plugin commands, note tags, and parameters.
  • Optimized code for better performance and compatibility.

​

Thank you for this! It works really well even without blood even. I've used it to convey hitting wood or liquids and it's really helped out reducing those checks in my common event action sequences!
Thank you for this! It works really well even without blood even. I've used it to convey hitting wood or liquids and it's really helped out reducing those checks in my common event action sequences!

I am glad that this helps you out. :LZYcheeze:


This is exactly why i made this plugin to reduce the extra eventing for every skill etc.

Yes it dont has to be blood it can be anything!

And because i added some more features for it,
i might consider a name change for this plugin. :rswt2:

Original thread: https://forums.rpgmakerweb.com/threads/paradajz-s-bloodsplattereffect-js.171947/