Hi Fedyy, here is the link to the project file:
https://drive.google.com/drive/folders/11_itwsO-MIsEMHswYAYEIltqrbLaMfDs?usp=sha...
The code is a bit of messy since the project is meant to be a small experiment. So I put the most important notes below hope it helps.
The core mechanic of battle is achieved by using animation tracks with audio and function callbacks. There's a small trick witch very important when pauses and unpause the battle: you need to call "seek (position)" function of the animation player additionally, otherwise the audio track will not play for some unknown reason.
The zooming effect is achieved by using Tween, scaling according to a manually defined focus point for every image, every resolution ratio (PC: 16:9, Mobile: 9:16). I'm sure there could be better solutions but this is what I settled for the time being. All images are treated as a UI element.
Glad to see a potential creator other than a consumer.