Parallax Mapping Help

Hey, I am really struggling with Parallax mapping, its not the part of actually drawing the map that I have an issue with, its getting it put in the game and setup. I've tried to watch a lot of videos on Youtube but these people run through them so fast and skip so many steps that I am getting lost on what to do. I really need help getting it setup in game and how to make it so that areas like bridges you make you don't just walk all over the map but stop in areas you are not supposed to cross, not to mention going behind things like trees.

I'm a very slow learner so I need some good step by step help here. I'm sure I'll have a ton of questions as I try to learn so please be patient with me as I learn.
Do you still want to do tile-based collision (48x48)?

To get your map into the game, you just go to the Map Properties and add it as a parallax. If you want to walk behind things, then you will need several images - one for the background, and at least one for the things you want to walk behind, and you will need an overlay plugin to add those.

If you want to do tile-based collision, create two tilesets in the Tilesets tab. Create two images for your B tile sheet (copy one of the existing ones and clear the contents). One of them will remain blank. On the other, put markings to indicate where the player can (or cannot) go on that tile. You'll have one where you can't move left, one where you can't move right, one where you can't move right OR left, etc - all the possible combinations. You'll end up with 16, I think. Make sure you don't use the top left tile for any of these - that one must remain blank. Now put this into the B slot on one of your tilesets and call it the "editing" tileset. Change the passage settings on that tileset to match the images. You will make your map use this tileset when you're editing, so you can set up where the player can/can't go, and see it easily. When you're done, copy this tileset slot into a new one and call it the "real" tileset. On that one, change the tilesheet to be the completely blank one, but leave the passage settings the same as the other. When you're ready to play, change your maps to use that tileset instead so the markings aren't visible.

An alternative is to use something like a region restrictions plugin (Yanfly), so you can just draw on the map with region ids to indicate where the player (or events) can/can't go. But I think this just makes a tile walkable or not, not down to the level of which directions you can go.

If you don't want to do tile-based collision, you will need a pixel movement plugin and will have to do whatever that plugin requires to set it up.
@Bricrue Hey again. 🙂 So the best plugin I found to make parallax mapping simple is called Orange Overlay by Hudell. What I like the most about it is it's easy to use and Hudell has thorough written instructions here: http://hudell.com/blog/orange-overlay/ (No video. 😉)
The way I keep it simple is like this: I create one map overlay with everything you can walk on/"in front of". Using the orange overlay plugin, you want this picture to be a "ground". I create a second map overlay with everything I want the player character to walk "under"/behind. Using the same plugin, you want this picture to be a "par". I don't use the other layers, but there's one for light, another for shadow, and even one for fog, so...there's room to grow. Anyway, once your overlay pictures are set up, I think the best way to figure out "pathing" is what Shaz recommends about using Yanfly's region restrictions plugin, code found here: http://yanfly.moe/plugins/en/YEP_RegionRestrictions.js
When this plugin is active, you can click on the R tab to bring up the map region display and start drawing regions with a particular ID number where you don't want the player to go. Set the plugin's Player Restrict setting to that region ID number and Presto! You're golden. I know I didn't answer everything here, but I'm sure this is plenty to start with. I'll be watching the thread and here to help you out.

Sincerely,
Ok.... Here is my main issue right now. Videos I am watching are all like three or four years old. The suggested Plugins are either not working or the links I go to and open end up on the page "Woops Page not Found".

I don't need any help drawing a map. What I need help with is how to get it working in the game. Where do I paste my map? Do I put it in the image folder or in the Parallax folder. What Plugins do I need and do you have a link. And lastly, what do I do as far as getting the map pinned so the character can walk on it.

Can someone make an updated video for 2019!
@Bricrue The link I provided for the Orange Overlay plugin is good. The page says the plugin's author doesn't provide support for it anymore, but the plugin itself is still good. The link to download the plugin file is near the start of the comments at the bottom of the page. Click where it says "Get it here" and watch for your taskbar at the bottom of the screen to pop up showing it downloading or requesting permission to download. Hudell was the author and well respected in the RPG Maker community. You can trust the plugin is safe. Now...on to parallax mapping.

The first thing to know about parallax mapping is this: Parallax images won't appear on any maps in the editor except where the maps are transparent (that is, where no tiles have been placed). If you have a blank map and you right-click on the map name in the maps list at the lower left-hand corner of your project window, then click Edit... a Map Properties window comes up with a Parallax Background section in its lower left-hand corner. You can select your image from this list if it's stored in the img/parallaxes folder. That should be all you need if your map is just that one picture. Now you can go to the R tab and see your map picture and the map grid so you can easily "paint" your regions to restrict movement, and in this scenario, you're golden!

Q: "But what if my parallax image isn't the map itself?"

You can follow the same process one image at a time for all parallax images you'll use on the map...just swap out the image being used by the editor until all region restrictions are applied. Then comes the "fun" part...getting all your map images displayed properly. With the Orange Overlay plugin, as with parallax mapping in general, you don't paste the images. You save the ground image for the map in the img/parallaxes folder as ground# where # is the map ID. Example: If I make a picture of the stuff I want the characters to walk over on MAP003, I save it as ground3. Now on MAP003 I create an event with the Plugin Command: Overlay ground ground3. Finally, I right-click on the name MAP003 in the lower left-hand map list in the project window, then select Edit, and in the Note box of the Map Properties window that pops up, I type <ground>. Now when I run the game my picture shows up, pinned in place, and my character runs over it. I can repeat the process for things I want to run under/behind similarly. I also save this picture in the img/parallaxes folder, but name it par3. In the same event as before I add another Plugin Command: Overlay par par3. Now I navigate to the Note box again and on the line under <ground> I type <par>. If I run the game again at this point, I see everything from both pictures unless there's overlap, in which case, "par" is the top layer, so it will display. When I run around the map, I can run on the ground image and under the par image. Parallax mapping is funky because you can't see things in the editor unless you leave the map transparent, and that's because the editor is designed to work primarily with tilesets, but the payoff for what you can do visually in the game to get away from gridded tile looks is worth the hassle in my opinion.

Q: "But what if I tiled the map already? Nothing is showing up for the parallax background in the editor now!"

You could create a throwaway map and leave it transparent to do your parallax edits on, then copy and paste the region restrictions over to the tiled map.

I hope this helps you get things set up and working nice and smooth if not also relatively easily.

Sincerely,
@Bricrue
with MV, there is no absolute need for a parallax map plugin - those are mostly for convenience and for overlay mapping.

For a parallax map in MV, you need to name the map picture with a ! at the beginning of the filename and then place it in the parallax folder.
then enable that picture as parallax for the map you want it.

without plugins, you need to use an invisible tileset for setting passability - that is more work than a region restriction plugin, but also has more options than those plugins.

additionally, this only works for ground pictures - if you want an overlay above the player, then you need either an overlay plugin or a fix picture plugin.
Both should be available and linked in this forum, just check the subforum on MV plugins.
Ok.. Good information and its set me on my way. What is the largest map size you can import from a graphic editor that won't crash the game?

I was able to do a 50 X 50 and I know the 256 X 256 is way too big and will just crash the game, so I am curious to see if anyone tested how big of a map you can end up using.
What is the largest map size you can import from a graphic editor that won't crash the game?
that depends on the hardware used to play the game.
If you deploy to mobile, then anything larger than basic screen size (ca. 20x20) will cause problems with the low limits on RAM and processing power on mobiles
On full computers, 50x50 tiles should be no problem and the more modern computers should have no problems with 100x100 unless you also add in a lot of parallels.

Here is a trick to show you the main problem: PNG is a compressed format, which means that the filesize on the HDD is reduced to be much smaller than the direct data. But in RAM you can't work on compressed data, you need the full size. Save your biggest map picture as BMP. You can't use it that way, but BMP has no compression so the filesize of the BMP will tell you how much RAM that picture needs to be used as a map.
That is several thousand times the RAM you would need for a tiled map of the same size because in a tiled map you need one number per layer for each 48x48 tile, the parallax picture needs 3 numbers (RG😎 for each of the 2304 pixels in that tile.
I know the 256 X 256 is way too big and will just crash the game
@Bricrue Actually, it crashes the engine if you try to use the image in the RPG project editor, not the game. I'm working on a 256 x 256 map in GIMP that does load in game for play testing although it takes about one minute. 😮 Here's a video showing game play of my 256 x 256 grid square parallaxed map.
Spoiler: Proof of concept...and load time, ugh...
I have the entrance to the castle nicely mapped. The rest of the kingdom still needs region restrictions and more fleshing out/decoration, but...as you can see, there's plenty here. There's plenty more you can't see in this short video as well, and yes...everything except the drawbridge area you stand on is in a single parallax image file. It can be done. :hwink:

Original thread: https://forums.rpgmakerweb.com/threads/parallax-mapping-help.108861/