06-13-2012, 07:55 PM
Hello, I encountered a bug when using Ccoa-style spritesheets. When you attack, the offset between battlers is wrong (it leaves a huge space between them). For example, my battler attack animation is 576x96. I checked that it is taken into account, since Estelle (the example Ccoa spritesheet included in the demo) is smaller (340x85) and is closer to the target when attacking.
And so, I did a small fix for that. Instead of:
I used:
I observed too that the @width value from Ccoa sprites is not the same than other sprites @width. But using poseframe instead of @width caused that the sprite were too much at the left (probably the @width value is used wrongly again at other place).
I thank you Dervv and Minkoff, since I really like this add-on. I like that it can be used with almost any battle system.
Cheers,
Orochii Zouveleki
And so, I did a small fix for that. Instead of:
Code:
@battler_offset = @width * 0.75
Code:
if ccoa_flag
@battler_offset = (@width * 0.5)#-poseframe#@width / @height * 0.75
else
@battler_offset = @width * 0.75
end
I thank you Dervv and Minkoff, since I really like this add-on. I like that it can be used with almost any battle system.
Cheers,
Orochii Zouveleki