Parallax Mapping not working

Hello
I was trying to make some custom map so i tried parallax mapping but it doesn't work
Screenshot-(1)_LI.jpg
As you can see in the image (it's a in game screenshot) you can notice it is the same part with two bridges but on the right hand side it looks zoomed. I followed a parallax video but it didn't worked for me any idea why? Also are there some sort of resolution rules for parallax images?
Hey!

First of all, which plugin are you using?
@Ishu_uwu what doesn't work?
it always helps to describe what you want as opposed to what happens.

because yes, the basic rule for parallax background is
parallax picture size in pixel = map size in tiles multiplied by grid size (48 for MV)

and any other pixel size will not work at all.

additionally you need to disable the parallax itself (which is a movement function) by placing a ! at the beginning of the filename for the parallax picture.

First of all, which plugin are you using?
MV does not need any plugin for parallax mapping, it can do that by default. That is the ! mentioned above, it replaces the need for a plugin/script.
Hey!

First of all, which plugin are you using?
I am using bindpictures to map plugin
@Ishu_uwu what doesn't work?
it always helps to describe what you want as opposed to what happens.

because yes, the basic rule for parallax background is
parallax picture size in pixel = map size in tiles multiplied by grid size (48 for MV)

and any other pixel size will not work at all.

additionally you need to disable the parallax itself (which is a movement function) by placing a ! at the beginning of the filename for the parallax picture.


MV does not need any plugin for parallax mapping, it can do that by default. That is the ! mentioned above, it replaces the need for a plugin/script.
In the map editor it shows properly but when i run the game (sometimes it will lock my player my players won't move, sometimes it will just repeat the map twice , and sometimes it creates random event like transferring player but it transfers the player to the same map but different location)
so really no idea and i have placed ! in the file name.
So if my map size 60x60 then i will have to multiply it by 48 right?
@Ishu_uwu
from that description you messed up most of the basic requirements of parallax mapping.
I haven't watched the video you linked, but from that alone it proves my many arguments against video tutorials - namely too short and assuming too much is known to the watcher and more.
so back to the basics.

1) all parallax pictures need to be in an exact size depending on map size.
so yes, if your map is 60x60 tiles and you are using MV, then your pictures have to be 2880x2880 pixels in size.
That is by the way nearing the upper limit of easy parallax mapping - you'll need a modern computer to go up to 100x100 tiles in maps. 60x60 will never work on mobile deployment but should work on most current computers (although older ones will have problems)

2) the filename of the background picture (the one that displays the underground your player walks on) has to start with a !
It needs a name like !map001ground.png or so, if you're missing that ! then you'll never get the picture to align up, because without the ! your background will move against the player whenever the player moves.


3) plugins are ONLY needed if you have an overlay - that is a picture that goes above the player.
Nothing on your screenshots suggests that there is anything the player would move below of.
so for now, ignore the plugin of bind picture to map, you don't need that for what your screenshots show.


4) Passability
no parallax picture has passability, so you'll need a different way to tell the player where he can do and where not.
There are two different ways to handle this - the easy way and the better way.
Most people go the easy way by using a region restriction plugin and paint the map with regions depending on where the player should walk and where not.
The better way is to create an invisible tileset and use those tiles to assign properties to the tiles.
This allows you to use directional passabilities and bush flag and the many other options of a tileset to make your map better. But it is more work than simple region restriction.
Think about it and then ask for help on the method you choose.



And on the side - why are you even considering parallax mapping?
Nothing on your map above looks like it needs that, it is a purely tiled map.
And the tileset used shouts the same

If that is only a placeholder while you're learning, then no problem.
But I always remember something an artist here on the forum told me decades ago:
"The difference between tiled mapping and parallax mapping is that tiled mapping is 20% of the work for 80% of the quality of parallax mapping"
Using parallax mapping will add a lot of work to your game, and should only be done if you really want that final increase in quality. and the tileset used on your map actually makes that quality increase impossible.
@Ishu_uwu
from that description you messed up most of the basic requirements of parallax mapping.
I haven't watched the video you linked, but from that alone it proves my many arguments against video tutorials - namely too short and assuming too much is known to the watcher and more.
so back to the basics.

1) all parallax pictures need to be in an exact size depending on map size.
so yes, if your map is 60x60 tiles and you are using MV, then your pictures have to be 2880x2880 pixels in size.
That is by the way nearing the upper limit of easy parallax mapping - you'll need a modern computer to go up to 100x100 tiles in maps. 60x60 will never work on mobile deployment but should work on most current computers (although older ones will have problems)

2) the filename of the background picture (the one that displays the underground your player walks on) has to start with a !
It needs a name like !map001ground.png or so, if you're missing that ! then you'll never get the picture to align up, because without the ! your background will move against the player whenever the player moves.


3) plugins are ONLY needed if you have an overlay - that is a picture that goes above the player.
Nothing on your screenshots suggests that there is anything the player would move below of.
so for now, ignore the plugin of bind picture to map, you don't need that for what your screenshots show.


4) Passability
no parallax picture has passability, so you'll need a different way to tell the player where he can do and where not.
There are two different ways to handle this - the easy way and the better way.
Most people go the easy way by using a region restriction plugin and paint the map with regions depending on where the player should walk and where not.
The better way is to create an invisible tileset and use those tiles to assign properties to the tiles.
This allows you to use directional passabilities and bush flag and the many other options of a tileset to make your map better. But it is more work than simple region restriction.
Think about it and then ask for help on the method you choose.



And on the side - why are you even considering parallax mapping?
Nothing on your map above looks like it needs that, it is a purely tiled map.
And the tileset used shouts the same

If that is only a placeholder while you're learning, then no problem.
But I always remember something an artist here on the forum told me decades ago:
"The difference between tiled mapping and parallax mapping is that tiled mapping is 20% of the work for 80% of the quality of parallax mapping"
Using parallax mapping will add a lot of work to your game, and should only be done if you really want that final increase in quality. and the tileset used on your map actually makes that quality increase impossible.
Thank you very much! and i am really sorry if i was being annoying , i just watched and followed the video but it didn't work for me lol i am gonna stick with tiles for now but i am just not sure if it looks good and i wanted to add different kind of buildings etc. that's why i thought parallax might be a good idea again thank you very much for your help!
and i wanted to add different kind of buildings etc. that's why i thought parallax might be a good idea
yes and no

the main reason for parallaxes is to break the grid and allow placement between the grid squares.
that is why I said that tileset makes the parallax quality impossible - it is too focused on the grid to gain much from the ability to place between the grid.

however adding different styles of buildings should be as easy as adding their tiles to your tileset.
I really doubt that a tileset like the one used needs more than one or two upper (B-E) tilesheets, so you should have at least two more tilesheets where you can add other tiles like the tiles for that building.

If you need them as wall-tiles (A4) then it might be a bit more work to copy them together, but I think going the way of mixed tilesets is a much better use for your time with those tilesets as compared to try parallaxing.
yes and no

the main reason for parallaxes is to break the grid and allow placement between the grid squares.
that is why I said that tileset makes the parallax quality impossible - it is too focused on the grid to gain much from the ability to place between the grid.

however adding different styles of buildings should be as easy as adding their tiles to your tileset.
I really doubt that a tileset like the one used needs more than one or two upper (B-E) tilesheets, so you should have at least two more tilesheets where you can add other tiles like the tiles for that building.

If you need them as wall-tiles (A4) then it might be a bit more work to copy them together, but I think going the way of mixed tilesets is a much better use for your time with those tilesets as compared to try parallaxing.
Got it thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/parallax-mapping-not-working.145945/