So, I want to start mapping for my game and I'm starting to wonder if parallex mapping everything is worth the lag/size. I'm wondering if parallex mapping everything is tile based or if is it a mix in between. Please let me know your experience with it !!
Let's say I have around 20 maps. Is Parallex mapping everything alright? What's the limit when it starts getting overwhelming? I know it also depends on the PC the user is using but on an average scale, what would you say the limit map amount of parallex mapping everything should be?
the limit is the overall memory size.
the larger the file, the longer the load times between maps.
only use parallax for things you can't otherwise tile, like very organic terrains.
not an exact expert on parallaxes, but i do feel like the size limit thing depends on just how big you want your game to be
parallax doesnt really rely on tiles (only need some transparent tiles to set the things you can and cant walk on)
and back to the size. i feel like it would lag if you had a ton of maps and did all of them as parallax (like 200+) so i guess it depends. tiles is easier for one-off unimportant maps if you want to reduce size :yhappy:
I do a mix of both, more general rooms/areas are put together with tilesets, but for more important setpieces I usually use parallax to really go in on the details. As Test and Danatoth have mentioned, lag shouldn't be an issue as long as you're keeping your map sizes reasonable. If you're worried about parallax files ballooning your overall project size I'd say you could run your parallaxes through a image compressor with minimal loss of quality.
There are several aspects that haven't yet been mentioned.
First, a parallax map isn't automatically better than a tile-based map.
In fact, you need to know how to design a map before you can even start to use the potential of parallax mapping - if you don't know what to place where the resulting map will always be of lesser quality.
Second, a tile-based map is 20% of the workload for 80% of the quality of a parallax map. Even if you know what you're doing, a parallax map is much more work than a tile map.
Is that worth the gain for your game?
Third, in a similar discussion a few months ago someone said that you need to be an artist to truly use the advantages of parallax mapping - because you will be creating something that is as much an artwork as a map.
Then there are the technical limitations - especially if you want to export to mobile.
A state of the art cmputer has no problems handling a 150x150 tile map equivalent, but most mobiles fail on a 50x50 tile equivalent parallax map.
that is because a parallax map needs several thousand times the RAM compared to a tilebased map.
Personally I'm not a big fan of parallaxes. There's little point in making drawn background with shading and all that and then having the rtp chibi sprites walk all over it, not being affected by shadows and the like.
Then you got the issue of the game still being tile based, so making it work with cool custom hitboxes and perhaps pixel movement will require heavy use of plugins.
So I suppose at the end of the day, execution matters above all else. Half-baked parallaxes can very well be worse than any tile-based map.
Parallax mapper here, the biggest tips I can give:
Watch the size of your maps. Bigger map = bigger file = higher chance for lag. The compressed image (the file size shown in file explorer) is not indicative of actual file size when uncompressed. In MV, I try to keep maps below 75x75, but it varies depending on complexity.
Too many/much gradients increase chance for lag. i.e. complex lighting and shadow layers.
Collision can sometimes be a trial error ordeal. You can't just change 1 tile and click playtest. If you have to change something, you have to go back to gimp/photoshop, change it, then export 2-4 layers again, and then playtest.
Use orangeMapshot to export a 1 : 1 image of your map from the editor, import that into gimp/photoshop and use that as a base for your map.
Mapping takes exponentially longer. However long a map takes you to make in the editor, multiply that times 5.
If lag is an issue: make smaller maps, use less layers or gradients. Consider updating nwjs & pixie (advanced). Updating nwjs improved frame stability for me, but I made several large 90x90 parallax maps with particle, pixie, and lighting effects.
Good luck.