Is there a plugin for MZ (or an MV plugin that still works with MZ) that will allow show animation commands to play above pictures. If there's a way to to get them to play below sprites that would also be great.
MZ Playing animations above pictures
JS Plugin RequestsHmm... I'll look into it more for pictures but for now I've made this which could help...
Only works on maps though at the moment and uses the maps grid for the coordinates.
Script Calls:
CTB.PlayAnimationOnEvents(<Array> EventIDs, animationId, [mirror])
CTB.playAnimationXY(x, y, animationId, [mirror])
Examples:
CTB.PlayAnimationOnEvents([1, 2, 3], 12)
CTB.PlayAnimationOnEvents(4, 20)
CTB.playAnimationXY(6.35, 12.264, 18)
CTB.playAnimationXY(12, 16, 18, true)
Only works on maps though at the moment and uses the maps grid for the coordinates.
Script Calls:
CTB.PlayAnimationOnEvents(<Array> EventIDs, animationId, [mirror])
CTB.playAnimationXY(x, y, animationId, [mirror])
Examples:
CTB.PlayAnimationOnEvents([1, 2, 3], 12)
CTB.PlayAnimationOnEvents(4, 20)
CTB.playAnimationXY(6.35, 12.264, 18)
CTB.playAnimationXY(12, 16, 18, true)
So, if I understand, the function is to specify a point where an animation is played rather than targeting the player or an event? That's useful, but it's not what I'm looking for. I'm specifically trying to get the animation to appear above a picture rather than being blocked by it.
Unlocked more secrets...
Added another option to the script call 😉
Code:
CTB.playAnimationXY(x, y, animationId, [mirror], [abovePictures])
Code:
// Play Animation 18 Above Pictures at Map Location 12.3, 16 (Pixels: 590, 768 if Default Tilesize)
CTB.playAnimationXY(12.3, 16, 18, false, true)
I can only get the play on event to work, play on XY doesn't seem to do anything at all.
However, the animation above the picture works fine, so it'll work. I can just put an invisible target event on the spot I need to generate the animation on.
Let me know if you come up with a way to get it to play below an event sprite as well, that would be really useful for some scenes.
However, the animation above the picture works fine, so it'll work. I can just put an invisible target event on the spot I need to generate the animation on.
Let me know if you come up with a way to get it to play below an event sprite as well, that would be really useful for some scenes.
Can this plugin help you? https://www.dropbox.com/s/x3p9wz8sw7tegqp/DK_Animations_Above_Pictures.js?dl=0
If I'm reading the info on there right, it looks like it's for MV rather than MZ (I think it says it's from 2016?).
Generally speaking, CT_Bolt's plugin does what I need as far as playing animations over pictures. The only other feature I could use would be playing animations beneath sprites.
Generally speaking, CT_Bolt's plugin does what I need as far as playing animations over pictures. The only other feature I could use would be playing animations beneath sprites.
Careful, you must call (lower case) "playAnimation" instead (capital) "PlayAnimation"
My battle system is based on pictures. It be good If i could use animations above pictures and the pictures being targets
Link off 🙁
On the contrary, you should call the capital P, I did some tests here and it only works like this, example: CTB.PlayAnimationXY(20,20,14,false,true)
It looks like the creator made a mistake putting the P in lowercase in the plugin info
Original thread: https://forums.rpgmakerweb.com/threads/playing-animations-above-pictures.126988/