Parallax Mapping vs Tile Mapping

Hello, I'm working on a game and I should start think about making maps soon. So, I was wondering what are the pro and cons of each mapping system and when should I use one over the other?
I've heard it said that parallax maps, specifically larger ones, can cause lag at times.
Other than that, the only con to parallax mapping is that it's going to take longer and more work to make each map.
Parallax maps have longer load times since it's layers of pictures and are more work since you're presumably customizing each room/area.
A decade ago an artist here on the forum told me that tile-based mapping is 20% of the work for 80% of the quality of parallax mapping.

So a good parallax map will have better quality, but also be a lot more work to get it.

additionally, a parallax map is useless if you cannot map at all.
By that I mean to design the map and decide what goes where - the best tools do not help if you use them wrong. And without experience on designing maps you will not be able to push into those above 80% quality to really get the advantage of parallax mapping.

As for the comments above: a parallax needs several thousand times the RAM compared to a tile-based map, that is what causes the lag and size limits.

Because a tile can be identified by a single number, but the same space on the parallax maps needs 3 color numbers per pixel, with 48x48 pixel per tile - that's 6912 numbers per tile.
Parallaxing in my opinion only makes sense if you are an artist anyways. The main benefits like super cool rounded cliffs or light and shadowmaps only make sense if you can actually pull them off. Besides that you can get off grid placement by simply tailoring the tileset towards the map you are making.

Plus I'd say if you are just going for "normal" maps, you can get further than 80% with MZ, due to its advantages, plus some mapping hacks.

Here are some more reads that might help form your opinion on what is possible:


I would also think a parallax map would be a lot more difficult to make changes to if it turns out it's cumbersome for the player to navigate.
I would also think a parallax map would be a lot more difficult to make changes to
I keep continuously making changes to my maps as I have new ideas pop up I want to act on - like I need to widen a map to better fit an event, or I erase a bookshelf cause I had an idea to animate it later so the tile version of it's been replaced with a character sheet version, or I just stumble on some DLC or free thing here I want to add to that room. Like I'm using the Pop Horror City tileset and the only computer in it is a big old blocky 90s/00s styled monitor which doesn't fit the idea for my player character - but then I found a laptop done in the Pop style made by @Avery to replace it with - I couldn't just make quick easy edits to the map if I'd parallaxed it.

Parallax seems like a thing to do if you know ahead of time you're not going to want to make changes, or it's the end of the game dev process for this game so everything's a lock now and you can just consider it finishing touches.
I like doing what I once saw referred to as "parallax lite." I make my maps in the editor, but my tilesets often include clumps of pieces (like a rock with tall grass and flowers around) or buildings that have windows and decorations pre-placed in ways that I could never achieve with loose bits in the engine. It lets me have areas of rich, non-gridded detail without having to do the whole thing completely out of engine.

The downside of that, of course, is that later engines have fixed tileset sizes--in XP, I can make a tileset that's extra-big to hold my large building pieces and big trees, etc; but when there's a finite amount of space on your tileset, it's a little harder to go the full buildings route.
Parallax Mapping
  • Pros:
    • Looks more beautiful
    • Makes your game stand out
  • Cons:
    • Takes much longer
    • Expensive
I've not seen a parallax map lag for me yet. The largest I've had was 68 x 55.

Tile:
FallhornGreatTree_Before.jpg


Parallax:
FallhornGreatTree_After.jpg
Parallax maps look infinitely better, but take much much longer to create. Tiled maps will always look like an rpg maker game, even with custom tiles, but parallax maps only limit on visuals is your artistic skill. To give you an example of the timeframes we're talking about here, I could do this parallax map with just normal tiles in about 10-15 minutes:

While what you see is parallaxed and took about 7 hours.

And there are things you can do that cannot be done with tiles at all. For an example, here is my world map:


Parallax looks good, but takes a ton of work.
@Danatoth - Very nice indeed. I get the feeling that as well as taking time, getting reasonable results with parallax mapping takes real ability. I will just have to continue with tiles!
I'd like to point out another option that I think is often overlooked.
By parallax mapping people usually mean doing so in a general-purpose graphics software, like GIMP or Photoshop. But that's not the only way.
You can also use a program like Tiled to make your maps, which I'd describe as parallax mapping lite: it's somewhere between the built-in editor and GIMP in terms of both what you can achieve and the effort required. And from my experience the power gained is a lot greater than the increase in effort.

Tiled allows you to map using tiles the same way you would in the editor (except with unlimited layers and tilesets). But over time you can learn all the other functions - offset layers for all the things that work better when placed 0.5 tiles up, weighted random tile placement for using tile variations (or, for example, quickly filling a space with random greenery), and of course object layers, that allow you to freely place tiles as objects anywhere, and are quite awesome. Plus there's also a ton of QoL improvements compared to the RMs editor.
Spoiler: Quick example gif
tiled_2024-04-18_20-39-41.gif

I was initially going to showcase a few more things, but this length seems to be limit of gifs the forum will accept. It should get the point across though - this is a lot easier than the same task in GIMP, with being able to just click on any object and move it.

This still has the performance drawbacks of parallax mapping (namely not being able to make very large maps without RAM usage going overboard), but I personally think it's more than worth it. It might not be for everyone, but if you want to level up a bit from RMs built-in map editor, but are not ready traditional parallax mapping, it might just be for you.
[ISPOILER][/ISPOILER]
I'd like to point out another option that I think is often overlooked.
By parallax mapping people usually mean doing so in a general-purpose graphics software, like GIMP or Photoshop. But that's not the only way.
You can also use a program like Tiled to make your maps, which I'd describe as parallax mapping lite: it's somewhere between the built-in editor and GIMP in terms of both what you can achieve and the effort required. And from my experience the power gained is a lot greater than the increase in effort.

Tiled allows you to map using tiles the same way you would in the editor (except with unlimited layers and tilesets). But over time you can learn all the other functions - offset layers for all the things that work better when placed 0.5 tiles up, weighted random tile placement for using tile variations (or, for example, quickly filling a space with random greenery), and of course object layers, that allow you to freely place tiles as objects anywhere, and are quite awesome. Plus there's also a ton of QoL improvements compared to the RMs editor.
Spoiler: Quick example gif
View attachment 302282
I was initially going to showcase a few more things, but this length seems to be limit of gifs the forum will accept. It should get the point across though - this is a lot easier than the same task in GIMP, with being able to just click on any object and move it.

This still has the performance drawbacks of parallax mapping (namely not being able to make very large maps without RAM usage going overboard), but I personally think it's more than worth it. It might not be for everyone, but if you want to level up a bit from RMs built-in map editor, but are not ready traditional parallax mapping, it might just be for you.
This is actually what I use to tile the main bulk of a map. Like the buildings, main trees, or if indoors the walls and floor. Then I use photoshop to add shading, lighting, overlays, roads and other details. Although if you are making your own custom tiles, it gets really finicky when you are doing autotiles.

As for the ram usage going overboard thing, I'm sure that there is a point in which you could make parallax maps so big they would lag, but this is a holdover thought from a very long time ago. There are very few devices these days that have less than 8 gigs of ram other than phones and a large png map is on the order of 10mb. I average around 50x50 for my outdoor parallaxes just due to artistic choices and those are around 6mb. Even when I only did tiles and no parallax, I wouldn't make maps super big. When you make maps very large they start to look the same and boring. You have to make sure the whole area flows together as one large cohesive unit. Whereas if you make somewhat smaller maps, when transitioning to the next area you can get an entirely different feel while still holding the general idea of the map. Think of all your favorite jrpgs, they all use this technique, there are very few games that have extremely large areas (even after this wasn't a technical limitation any longer) for this reason specifically until we got to open world games.

I do work on a strong machine (gtx 4070, i-9 12000 series, 64gb ram), but I have 2 laptops I also test on. 1 is a gaming laptop from a while back (gtx1660m, 16gb ram), and an extremely old laptop from 2014 that was cheap at the time and just used for writing (4gb ram, no gpu). All my games have ran flawlessly on all systems including the really old laptop. The only time I've ever encountered lag is when I've had mismanaged parallel common events.

I honestly believe that most people that repeat the parallax mapping using ridiculous amounts of ram heard it somewhere randomly in the late 2000's where it would be true for old systems and old version of RM, and continued to spread the rumor nowadays even though they don't parallax map. You can have fairly large maps without any lag.
I know in MV I get stutter on parallax maps at around 90x90 tiles, but this also depends on how intricate the map is with gradients like shadows and lights with my low end testinglaptop. Not so much a frame rate drop, but a visual "stutter". Image file size come into play here.

I'd also like to add, I worked on a parallax map today for about 5 hours or so and am only about half way done. Haven't even tested it in the editor yet. So, be prepared if you decide to go the parallax way to spend exponentially more time mapping.
large png map is on the order of 10mb
This has nothing to do with the amount of RAM it will take up. Pngs use compression, but to use it in game the data for each individual pixel must be loaded, which is orders of magnitude greater.

By large maps I mostly mean maps of the 200x200 calibre. 50x50 is firmly within the "not a problem at all" tier.
I'd also like to add, that you should be using Qmap for doing parallax if you are using mv ( if you are using mz you can use the port here https://forums.rpgmakerweb.com/index.php?threads/lunatechs-mv-mz-plugins-tools.127082/ ). It is by far the best for both performance, stability, and requires the least notetags. It also allows you to add collision that isn't grid based, so you can have round collision and small objects, basically anything you want to have.
a large png map is on the order of 10mb.
As said above, PNG is a compressed file format - but the compression is only for storage.
to work with a picture as a map it needs to be stored uncompressed in RAM.
There is a simple trick: temporarily save your picture as BMP. BMP has no compression, so the BMP.filesize tells you how much RAM that picture needs.

and don't forget that the picture buffer is NOT the entire RAM available...

Original thread: https://forums.rpgmakerweb.com/threads/parallax-mapping-vs-tile-mapping.167513/