Parallax map lag on 4GB RAM laptop

Hi guys and gals.
I want to use hand-drawn parallax maps, but when I play the test map and move the character (see Spoiler below), I experience a substantial lag on my old 4GB RAM laptop with integrated gfx chipset (FPS are between 32-50 or so). It's playable but it takes away from the gaming experience.

The game is running smooth on newer computers with dedicated video cards. I tested it on a stationary PC with 12GB RAM & GeForce SLI card and on a 4GB RAM tablet with dedicated card, and the performance was fine. My concern is for those gamers who don't have powerful PCs or prefer to play this kind of games on their old laptops with integrated gfx chipsets - they won't be able to enjoy the game fully.

The resolution of the game is 1080x720. The test map you see below isn't that big. It's 30 x 48 tiles (1440 x 2304 px). I downgraded the png quality from 2,86 MB to 0,94 MB but it doesn't help much.



I have only couple of events on the map. I turned them off to see if it improves the frame rate but it's still not fluent. Lowering the game's resolution seems to make it more smooth but I'd rather keep it at 720p. I've also tried disabling the plugins one by one but it doesn't help.

Do you have any ideas on how to improve the performance? Is it possible to achieve stable, high frame rate with this size or bigger backgrounds in MV on older computers?


I'll be grateful for any help you can provide!


Just in case, below are listed the plugins I use:
Spoiler
- KSU Parallax Smoothing
- MBS Smooth Scroll
- Screen Resolution
- Kaus Ultimate Overlay
- Kaus Sprite Fixes
- YEP Regional Restrictions
have you tried to compress the parallax image?
I don't have lag, so I'm just guessing here.
oh wait, never mind, you have.
Ummm, well parallax are meant to lag most games, soooo...
I-I dunno!
Yeah, I managed to make it 3 times smaller actually, but it didn't make any difference :/ I also used some PNG compressing sites/software that made it REALLY tiny (went down from 2,8 MB to 215 kb in one instance!) but RPG Maker MV seems to have problems with seeing those highly compressed PNGs. Thanks anyway Kyoku 🙂
Ram are not important!
Rmmv are use WebGl and canvas render.
is rendering by CPU.
if you want save a lot MS.
you can use somes PIXI feature in the core.
Pixi use the GPU
Sadly, older PC's and components will not be sufficient. I have a potato PC by this point (8 years old with 9800 GTX+ and E6600 Core 2 Quad) and it can't really run MV games all that well. Luckily, though, people are upgrading their PC's easily nowadays that can handle MV games much better, but the sad fact is that anyone on a lower-end system won't be able to enjoy them fully. There's really no way around it. I should know. I've been trying for over a year, but I've come up empty.

Ace games are viable for lower-end systems, but not MV. Just let people know that your game requires a certain minimum for specs to play it smoothly. It sucks, but it is a gamers market out there nowadays.
@Milk Bar Prophet
Please show a screenshot of the event where you control the parallax and the parallax plugin.
There is a chance that your lag has nothing to do with the size of the pictures, but is created by a badly designed parallel process.

But that said, never forget that a parallax map needs around three thousand times the memory of a tileset map of the same size - that is why parallax maps need to remain small even on modern computers.
Ram are not important!
Rmmv are use WebGl and canvas render.
is rendering by CPU.
if you want save a lot MS.
you can use somes PIXI feature in the core.
Pixi use the GPU

I'm still a beginner, this is the first time I hear of Pixi. I did look it up but it seems a bit complicated to me. Are there any plugins required for this? I'd be grateful if you could direct me to some Pixi resources or tutorials for newbies. Thanks for the tip!

Sadly, older PC's and components will not be sufficient. I have a potato PC by this point (8 years old with 9800 GTX+ and E6600 Core 2 Quad) and it can't really run MV games all that well. Luckily, though, people are upgrading their PC's easily nowadays that can handle MV games much better, but the sad fact is that anyone on a lower-end system won't be able to enjoy them fully. There's really no way around it. I should know. I've been trying for over a year, but I've come up empty.

Ace games are viable for lower-end systems, but not MV. Just let people know that your game requires a certain minimum for specs to play it smoothly. It sucks, but it is a gamers market out there nowadays.

Thank you djDarkX, this is actually quite encouraging 🙂 I've started coming to the similar conclusion. The fact is the laptop I'm working on is 8-9 years old so maybe I've set my hopes too high regarding the performance.

@Milk Bar Prophet
Please show a screenshot of the event where you control the parallax and the parallax plugin.
There is a chance that your lag has nothing to do with the size of the pictures, but is created by a badly designed parallel process.

But that said, never forget that a parallax map needs around three thousand times the memory of a tileset map of the same size - that is why parallax maps need to remain small even on modern computers.

Hi Andar, thanks for your time. As you probably can guess I'm a greenhorn when it comes to RPG Maker, so please bear with me if I seem a bit too oblivious.

Before you responded I only used "Kaus Ultimate Overlay" plugin for parallax. I liked it because it was pretty simple to use, it didn't require using any plugin commands in the event at all (just naming files 'par1' etc).

After your response I've tried another plugin, TDDP BindPicturesToMap" (I turned off the Kaus Ultimate Overlay) with plugin commands in a new event. It works but I didn't notice any improvement as far as the frame rate goes. Here's the screenshot of the plugin commands in the event box.

Spoiler
screenshot_bind.PNG


3000 times? That surely seems a lot! What if I sliced the painted map into tiles and make a tileset out of it (if that's possible??)? It probably seems silly and it's time consuming but I'm clutching at straws here. Would it help to improve performance?

----

Also if you could tell me guys/gals from your parallaxing experience, is the map I'm using (30 x 48 tiles) too big? What map size would you say is OK and what is too big as far as the parallax mapping goes? Or is it the matter of trial and error and user's PC specification.

Again, thanks to everyone who replies for your help/encouragement.
3000 times? That surely seems a lot! What if I sliced the painted map into tiles and make a tileset out of it (if that's possible??)? It probably seems silly and it's time consuming but I'm clutching at straws here. Would it help to improve performance?
----
Also if you could tell me guys/gals from your parallaxing experience, is the map I'm using (30 x 48 tiles) too big? What map size would you say is OK and what is too big as far as the parallax mapping goes? Or is it the matter of trial and error and user's PC specification.

One tile is 48x48 pixel in MV. This means that a picture of the same size requires 48x48x3 Bytes of data (that's 24 bit color, the usual norm) or more than 6 KB of data. a tileset is a single number per layer of the tile, so you have 3 bytes instead of 6912 bytes for one tile to store that data.
This difference is caused because the tiles of a tiled map repeat, they're not unique as in a parallaxed map.
So dividing the map into tiles will only help if there is a repetition that will allow you to use a small number of tiles for the entire map.

As for the size of parallax maps, 50x50 is generally considered the max after which most computers gets problems.
Half size (like your 30x48) should be handable on good computers, but older computers might need to go down to screen size for maximum map size.
One tile is 48x48 pixel in MV. This means that a picture of the same size requires 48x48x3 Bytes of data (that's 24 bit color, the usual norm) or more than 6 KB of data. a tileset is a single number per layer of the tile, so you have 3 bytes instead of 6912 bytes for one tile to store that data.
This difference is caused because the tiles of a tiled map repeat, they're not unique as in a parallaxed map.
So dividing the map into tiles will only help if there is a repetition that will allow you to use a small number of tiles for the entire map.

As for the size of parallax maps, 50x50 is generally considered the max after which most computers gets problems.
Half size (like your 30x48) should be handable on good computers, but older computers might need to go down to screen size for maximum map size.

Thank you Andar, this is very enlightening. I'll try not to exceed the 50x50 size then and will keep to the smaller maps in general.

One more thing. About that Pixi stuff Jonforum has mentioned above. Do you think there's a chance this could substantially improve the performance in my case (old laptop with an integrated GPU chipset). Is that a solution worth pursuing, especially for a person who knows next to nothing about coding/scripting like me?
See if this helps: https://forums.rpgmakerweb.com/inde...ne-optimizations-for-mobile-deployment.70783/

I tried it but the plugin didn't improve the performance. Anyway thanks for the link Sam! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/parallax-map-lag-on-4gb-ram-laptop.79163/