Parallax map size.

KawaiiKid

Veteran
Veteran
Joined
Oct 13, 2015
Messages
151
Reaction score
38
First Language
English
Primarily Uses
So I've heard lots of different opinions on the max size of what a parallax map should be. Some from 50x50 all the way to 150x150 and beyond. For those of you with a lot of parallax experience, what would you say is a safe size for it? I usually have 2 layers, 1 for the top, and one for shadows.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,708
Reaction score
1,127
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi!
Well, I think that 150x150 for parallax is too much. In fact, you will found a lot of different opinions about that.
In my android game, a parallax of 90x90 gives me a black screen in an android device with 2gb ram(LG x power).
The size matters, but it also matters the hardware that the game is running. And if your parallax map has a value in the cache that surpasses the cache limit, it will probably give you a black screen(not load the map). That is my experience.
My game has all maps parallax, and with light effects too.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
It depends on the hardware you want to run the game on.

150x150 tiles would be the maximum for current top-of-the-line computers
50x50 tiles would be the maximum for older computers, ones that are five years old or so.
20x20 tiles would be handable by mobile devices with their hardware limits.

The problem is that for a parallax map to work, its pictures need to be uncompressed in RAM. And what you usually see of a picture is its compressed size, the size it can be reduced to for storage only.
Uncompressed, a parallax map needs several thousand times more RAM than a tile-based map.

Here is a test: save your parallax map as BMP, not as PNG. You can't use it that way, but BMP has no compression. As a result the BMP-filesize will show you how much RAM your picture needs to be used as a map. And you need that for every layer you're using.
 

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
529
Reaction score
275
First Language
thai
Primarily Uses
RMMV
there are some trick about seemless tranfering
like draw a map at the connection on other map
so player just notice a little lack but not much
and keep in mind that the bigger of the map
you will lost your self when developing too
when you put like 100 npc in one map
 

KawaiiKid

Veteran
Veteran
Joined
Oct 13, 2015
Messages
151
Reaction score
38
First Language
English
Primarily Uses
Here is a test: save your parallax map as BMP, not as PNG. You can't use it that way, but BMP has no compression. As a result the BMP-filesize will show you how much RAM your picture needs to be used as a map. And you need that for every layer you're using.
I saved a 40x38 map I have as BMP at 32 bit to see, and it's only 8mb. This is like nothing, why would this be considered demanding? Even a computer back in 2000 could run this easily.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
I saved a 40x38 map I have as BMP at 32 bit to see, and it's only 8mb. This is like nothing, why would this be considered demanding?
save the same map as png and it is a lot smaller in comparison, and it is that difference that others had problems with in the past. There was once someone who believed that his parallax pictures would only use KBs because the pictures were saved as that to the drive.
And 40x38 is a relative tame map size, as said above older computers have no problems with 50x50. But I wrote that sentence in case you're one of those that try 200x200 parallax maps, and then you get to different numbers.
And 8 MB for a single picture can still be a lot - for example there are quite a number of mobiles out there that only have 1 GB of RAM, and often half of that is already occupied with their own system and background function. Run a browser with a game in the other 512 MB, and using up multiple cases of 8MB for layered pictures becomes detectable.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,015
Messages
1,018,351
Members
137,801
Latest member
topsan
Top