Hey there...
So I have been experimenting with adding multiple parallax backgrounds in to my current project; however, I have encountered the issue of "when parallax is initialized it causes temporary FPS drop, from 60 down to about 30-40 for 1 second".
The parallax script I am using stores all parallax info in a customization module. It then checks against a global variable (variable is attached to a new class made for the parallax data) to see if the image is able to be displayed.
My first thought was that Im pre-loading too many images; however, this is not the case as I have the same FPS drop whether i initialize 1 or 9 parallax's.
The initialization happens before a map transfer and is then displayed when transfer is complete. It is at this point the FPS drop occurs.
So, I am wondering if any other scripts have experienced similar issues when creating their own parallax scripts and if so, what did you do to counter this and reduce the FPS ?
I am currently testing various methods in order to optimize efficiency and I would appreciate any input you guys may have
Thank you in advance.
So I have been experimenting with adding multiple parallax backgrounds in to my current project; however, I have encountered the issue of "when parallax is initialized it causes temporary FPS drop, from 60 down to about 30-40 for 1 second".
The parallax script I am using stores all parallax info in a customization module. It then checks against a global variable (variable is attached to a new class made for the parallax data) to see if the image is able to be displayed.
My first thought was that Im pre-loading too many images; however, this is not the case as I have the same FPS drop whether i initialize 1 or 9 parallax's.
The initialization happens before a map transfer and is then displayed when transfer is complete. It is at this point the FPS drop occurs.
So, I am wondering if any other scripts have experienced similar issues when creating their own parallax scripts and if so, what did you do to counter this and reduce the FPS ?
I am currently testing various methods in order to optimize efficiency and I would appreciate any input you guys may have
Thank you in advance.

