- 4
- Posts
- 4
- Years
- Seen Oct 4, 2020
Documentation doesn't seem to cover my specific case in detail. If it does I apologise, but I spent a lot of time sifting through the wiki to no avail.
Old thread regarding this: ht tps://ww w .pokecommunity.com/showthread.php?t=304456 (remove spaces in URL, can't post links because of anti-spam limit)
My old sprite collection set up for EBS in v17.2 is not ideal for v18, since my backsprites are now too small/zoomed out. I want to automatically zoom in on them using a script instead of editing 2000 sprite images manually (if it can be automated somehow using the png files and not a script in essentials, please let me know).
I found the class in question from the thread linked above, it's a bit different now but I found the equivalent (PBAnimationPlayerX) and the relevant lines therein. How do I go about making the suggested change from the old thread? (adding sprite.zoom_x*=2.0 if cel[AnimFrame::PATTERN]==-1 and sprite.zoom_y*=2.0 if cel[AnimFrame::PATTERN]==-1). If those lines to add in would still work, where exactly do they go? I tried a few configurations but they either had no effect or broke the syntax. (I'm a scripting novice. I'm trying to learn but this is beyond my atm.)
Old thread regarding this: ht tps://ww w .pokecommunity.com/showthread.php?t=304456 (remove spaces in URL, can't post links because of anti-spam limit)
My old sprite collection set up for EBS in v17.2 is not ideal for v18, since my backsprites are now too small/zoomed out. I want to automatically zoom in on them using a script instead of editing 2000 sprite images manually (if it can be automated somehow using the png files and not a script in essentials, please let me know).
I found the class in question from the thread linked above, it's a bit different now but I found the equivalent (PBAnimationPlayerX) and the relevant lines therein. How do I go about making the suggested change from the old thread? (adding sprite.zoom_x*=2.0 if cel[AnimFrame::PATTERN]==-1 and sprite.zoom_y*=2.0 if cel[AnimFrame::PATTERN]==-1). If those lines to add in would still work, where exactly do they go? I tried a few configurations but they either had no effect or broke the syntax. (I'm a scripting novice. I'm trying to learn but this is beyond my atm.)
Last edited: