ProditorMagnus / Ageless-for-1-14

Continues https://github.com/ProditorMagnus/Ageless-for-1-11
8 stars 2 forks source link

Wishlist: Adjust fire breath animation of EE Dragon #11

Closed sevu closed 5 years ago

sevu commented 6 years ago

There are multiple fire breath macros in mainline, and it is possible to set an offset to have the starting coordinates of the animation match the mouth in the sprite.

sevu commented 6 years ago

Hmmm, the Fire Dragons coordinates are pretty close

ProditorMagnus commented 5 years ago

Needs more work learning about animations than I currently want to do.

sevu commented 5 years ago

I tried it, and I didn't figure out how to read the offset coordinates.

sevu commented 5 years ago

halo_y and halo_y are offset from the center of an image.

the position the halo is displayed in pixel relative to the unit's center. These are directional, taking into account the direction the unit is facing (wiki)

The last sentence is not true. The direction does not matter – it's always x form centre to the right, or y from the centre to the bottom.

The other confusing part is that the fire breath images oversized, and the projectile is thus staring from the side, not the middle, if no offset is specified. One needs an Y-offset of 40-50 for the north/south images to get started. For the Diagonal ones it's 20-30 X and Y offset (both, because diagonal).

Implemented in 39b1051