Puppet Knight - Akea Animated Battle System - Projectile Extension

Hey all!

I have built out a nifty extension to enable icon projectiles via the Akea Animated Battle System(AABS)'s notetagging for Action Sequences in MZ.

The extension creates a new Notetag `<akeaProjectileToTarget>` that drives the visual of an icon moving from the skill User to the Skill's target. The target/destination is based on the skills scope.



Spoiler: Note tag Example
Screenshot 2024-07-28 203940.png


* Parameters:
* REQUIRED PARAMETERS
* - id: The ID of the icon to be used as the projectile.
* - time: The duration in frames for the projectile to reach the target.
* OPTIONAL PARAMETERS
* - height: The peak height of the projectile's arc. (Default: 0)
* - angle: The direction and degree of rotation for the projectile.
* The format is "direction value", where direction is either "left" or "right".
* "angle: left 720" would have the projectile spin twice counter-clockwise
* by the time it reaches the target (Default: "left 0")
* - scale: The scale of the projectile. (Default: 1)
* - offset: The horizontal and vertical offsets for the final position of the projectile.
* The format is "x y", where x is the horizontal offset and y is the vertical offset. (Default: "0 0")


Spoiler: Screenshots
Screenshot 2024-07-27 231325.png

Screenshot 2024-07-27 231345.png

Screenshot 2024-07-27 231400.png

Screenshot 2024-07-27 231413.png

Screenshot 2024-07-27 231325.png



Please let me know if you run into any issues!


You can find the plugin here. Be sure to add it below Akea Animated Battle System.


https://puppet-knight.itch.io/puppet-knight-aabs-projectiles


Spoiler: Version History
Version 1.0: Plugin release

Version 1.1: Updated calculations and added Battler Notetags

Version 1.2: Split `offset` parameter into separate `start` and `end` offsets to give users better control


VERSION 1.3

Added a new 'type' notetag parameter. Users can not input a projectile type:
icon, animation, or weapon

Animations can be built in the plugin Parameters

Weapon type requires AkeaVisualWeapons installed. Using the weapon also allows the user to identify the layer of the weapon sprite sheet thrown : above, below or full.

if no type is designated, icon will be used by default


VERSION 1.4

Added new 'target' notetag parameter. Users can determine how many projectiles are sent and the overall destination based on the targets of the action.

3 target types, "each", "first", or "center"
VERSION 1.1

Improved calculations for projectile animation. Should be a smoother arc from Subject to Target.

Created 2 new note tags:

<akeaProjectileSubjectOffset: x y>

<akeaProjectileTargetOffset: x y>

to allow users to set actor and enemy specific offsets for the projectiles.

For example: <akeaProjectileSubjectOffset: -200 100> used on an Actor.

Will offset the starting position of any projectile used by that Actor 200 pixels to the left and 100 above the normal origin.


This is to help with sprites of different sizes that users may incorporate into their project.


<akeaProjectileTargetOffset:> offsets the projectiles end position. So if used on a really tall Enemy you can make the adjustments necessary to ensure that projectiles land where they should visually ^_^
Update:

Version 1.2

Removed `offset: x y` notetag parameter for `<akeaProjectileToTarget>`

instead users gain access to a `start: x y` to offset the start position of the projectile and

`end: x y` to alter the end position independently. Giving folks a bit more flexibility.
Update:

VERSION 1.3

Added a new 'type' notetag parameter. Users can not input a projectile type:
icon, animation, or weapon

Animations can be built in the plugin Parameters

Weapon type requires AkeaVisualWeapons installed. Using the weapon also allows the user to identify the layer of the weapon sprite sheet thrown : above, below or full.

if no type is designated, icon will be used by default
Update:

VERSION 1.4

Added new 'target' notetag parameter. Users can determine how many projectiles are sent and the overall destination based on the targets of the action.

3 target types, "each", "first", or "center"

Original thread: https://forums.rpgmakerweb.com/threads/puppet-knight-akea-animated-battle-system-projectile-extension.170705/