- Joined
- Aug 1, 2014
- Messages
- 36
- Reaction score
- 6
- First Language
- English
- Primarily Uses
So here's the scenario:
My project has a pretty large map as its main hub - 180 x 120 - and as one of its landmarks, I have this relatively small pond that I wish to have animated, transparent water and reflect sprites. I've already created a layered version from various snapshots, and separated them all into their appropriate files. I can even make it all work exactly as I want it to using overlaid images and animating the topmost layer through the use of a loop event with a conditional variable check.
The problem lies with the script solution I have for reflections: It draws the reflected sprites on the parallax. With that limitation in mind, I created a hole where the water would be, so that the parallax becomes visible through the map, and overlaid the photoshopped edges of the pond over the gap to cover the square edges. I've then reinserted the layers as parallaxes, animated them through a script, and tile-locked them in place. The problem is, the parallax image underneath isn't aligned with the gap I created.
Now, I'm aware that I wouldn't even be having this issue if I made sure my parallax images were the exact same size of my map. But 5 quickly cycling frames of PNG animation at 5760 x 3840 would probably bring most systems to their knees. As such, I'm in dire need of a script to set a parallax's X and Y origin point coordinates. (Preferably tied to a map id as well.) I've only been working with RPG Maker for two weeks, and although I'm a fast learner, scripting something from scratch isn't really feasible. (I did attempt to create one to do what I'm requesting, but it's clear after a couple of hours that I have no idea how to write a proper RGSS3 script.)
While I'm not 100% sure that it's even possible to accomplish this, it definitely seemed like it from the way the Game_Map script has to determine a parallax's origin point before scrolling it.
Any help would be greatly appreciated! Thanks beforehand!
My project has a pretty large map as its main hub - 180 x 120 - and as one of its landmarks, I have this relatively small pond that I wish to have animated, transparent water and reflect sprites. I've already created a layered version from various snapshots, and separated them all into their appropriate files. I can even make it all work exactly as I want it to using overlaid images and animating the topmost layer through the use of a loop event with a conditional variable check.
The problem lies with the script solution I have for reflections: It draws the reflected sprites on the parallax. With that limitation in mind, I created a hole where the water would be, so that the parallax becomes visible through the map, and overlaid the photoshopped edges of the pond over the gap to cover the square edges. I've then reinserted the layers as parallaxes, animated them through a script, and tile-locked them in place. The problem is, the parallax image underneath isn't aligned with the gap I created.
Now, I'm aware that I wouldn't even be having this issue if I made sure my parallax images were the exact same size of my map. But 5 quickly cycling frames of PNG animation at 5760 x 3840 would probably bring most systems to their knees. As such, I'm in dire need of a script to set a parallax's X and Y origin point coordinates. (Preferably tied to a map id as well.) I've only been working with RPG Maker for two weeks, and although I'm a fast learner, scripting something from scratch isn't really feasible. (I did attempt to create one to do what I'm requesting, but it's clear after a couple of hours that I have no idea how to write a proper RGSS3 script.)
While I'm not 100% sure that it's even possible to accomplish this, it definitely seemed like it from the way the Game_Map script has to determine a parallax's origin point before scrolling it.
Any help would be greatly appreciated! Thanks beforehand!


