Alright, I can confirm that parallaxes are working perfectly with this, I just tested it and might end up using this method for stuff in my game. You don't really need a parallaxes script for this, I'm not sure why everyone relies so much on scripts in general when it's an easy tweak to make yourself.
Basically here's how to do it.
First, your parallax should always be the same size in pixels as your map, otherwise it won't move around properly. For the newcomers out there who doesn't know what that means and are looking at this, it means Parallax Width = Map Width multiplied by 32 and Parallax Height = Map Height multiplied by 32. So for example, if you have a 25 tiles by 20 tiles map, you need to create a 800x640 pixels parallax.
Then
Go to scripts find Game_Map
Lines 156 to 179 should be the section handling parallaxes movement and looping.
You just need to change the numbers 16 to 32, more specifically on lines 165 and 177. It's gonna make it so the parallax's move by 32 pixels instead of 16 when it doesn't loop and you move around the map).
Example in spoiler below: In this particular case I set it so that it only applies to parallaxes that don't loop.
Spoiler
#--------------------------------------------------------------------------
# * Calculate X Coordinate of Parallax Display Origin
#--------------------------------------------------------------------------
def parallax_ox(bitmap)
if @parallax_loop_x
@parallax_x * 16
else
w1 = [bitmap.width - Graphics.width, 0].max
w2 = [width * 32 - Graphics.width, 1].max
@parallax_x * 32 * w1 / w2
end
end
#--------------------------------------------------------------------------
# * Calculate Y Coordinate of Parallax Display Origin
#--------------------------------------------------------------------------
def parallax_oy(bitmap)
if @parallax_loop_y
@parallax_y * 16
else
h1 = [bitmap.height - Graphics.height, 0].max
h2 = [height * 32 - Graphics.height, 1].max
@parallax_y * 32 * h1 / h2
end
end
Then you need to go to Spriteset_Map, line 51 to 57 and change line 56, the parallax.z from -100 to be above the map and characters, so something like 200 or 300 should be ok, you could play with this number eventually, it's just a test number I came up with.
Example in spoiler below, with a static number
Spoiler
#--------------------------------------------------------------------------
# * Create Parallax
#--------------------------------------------------------------------------
def create_parallax
@parallax = Plane.new(@viewport1)
@parallax.z = 300
end
Alternatively you could set it to be handled with a variable by using $game_variables[] with the variable ID in between the []
If you do this, you can use a parallel process event to set that variable to the number you want and then use Erase Event to kill it before the parallax creates itself.
Parallel processes will load before a map appears. You only need to do this when you want the number to change, you don't need it on every map.
Something like this
Control Variables: (Variable name) = 300
Erase Event
Second example when it's handled by a game variable, in this case, the very first variable
Spoiler
#--------------------------------------------------------------------------
# * Create Parallax
#--------------------------------------------------------------------------
def create_parallax
@parallax = Plane.new(@viewport1)
@parallax.z = $game_variables[1]
end
That should be it, it's a bit of tinkering but works great. All that is remaining is assigning the parallax to the map and you're done.