I'm thinking of trying to remake a project I was working on back in 2014 that I lost the files to, so currently I'm just collecting scripts I remember using in it.
At the moment, there's something I'd like some help with. There is one script I found again that is working a bit differently from how I remember/knew it to function before. The script is OC's Battle Camera script (moves the viewport, zooms enemy sprites in/out to focus on who's currently acting/using skills), used alongside Yanfly's Ace Battle Engine and Casting Animations for skills. I used the Casting Animation script to display speech bubbles over actors/enemies so they'd say what they were going to do.
Back in my original project, when things were zoomed in, animations displayed on enemies followed their zoomed/adjusted positions properly. When I test it now, the animations are not displayed in their proper positions on zoomed enemies (unless the enemy is placed in the center of the screen). As far as I remember, I didn't have to ask anyone for code to fix that back then. It just worked properly even with Casting Animations when I put the script in. There's even some footage of my old project someone uploaded which shows that working, too. The first 2 attached images are screenshots from that video. You can see that it displays properly on both enemies placed to the left and right side of the battle troop. The last screenshot is from the current project file, where the animation isn't following the position of the sprite when the camera zooms in.
I've tried messing around with the script order, even in a new project with just the relevant scripts, but it doesn't seem to have any effect on this issue. It's weird that this worked before without any extra modifications. I've attached the relevant scripts to this post if anyone's able to take a look into it for me.
At the moment, there's something I'd like some help with. There is one script I found again that is working a bit differently from how I remember/knew it to function before. The script is OC's Battle Camera script (moves the viewport, zooms enemy sprites in/out to focus on who's currently acting/using skills), used alongside Yanfly's Ace Battle Engine and Casting Animations for skills. I used the Casting Animation script to display speech bubbles over actors/enemies so they'd say what they were going to do.
Back in my original project, when things were zoomed in, animations displayed on enemies followed their zoomed/adjusted positions properly. When I test it now, the animations are not displayed in their proper positions on zoomed enemies (unless the enemy is placed in the center of the screen). As far as I remember, I didn't have to ask anyone for code to fix that back then. It just worked properly even with Casting Animations when I put the script in. There's even some footage of my old project someone uploaded which shows that working, too. The first 2 attached images are screenshots from that video. You can see that it displays properly on both enemies placed to the left and right side of the battle troop. The last screenshot is from the current project file, where the animation isn't following the position of the sprite when the camera zooms in.
I've tried messing around with the script order, even in a new project with just the relevant scripts, but it doesn't seem to have any effect on this issue. It's weird that this worked before without any extra modifications. I've attached the relevant scripts to this post if anyone's able to take a look into it for me.