Parallax Background Image Resizing in RM MV?

somenick

Veteran
Veteran
Joined
Nov 2, 2014
Messages
181
Reaction score
90
First Language
English
Primarily Uses
Hello. Im not sure exactly where to post this question, so apologies beforehand if wrong forum. Im working on some project that may involve some parallax images. If I place a small parallax image on a map, it will repeat itself, as expected. Is there a known way to make the parallax image stretch (via JavaScript) so it is the same size as the game's window in RPGMaker MV (ie 816 x 624 px) ? Was not really able to find what JavaScript line(s) actually determine parallax display... Thanks beforehand for any help / ideas.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
29,006
Reaction score
6,684
First Language
German
Primarily Uses
RMMV
anything is possible with coding - but doing that would probably need to disable a good part of what the parallax really is and most likely make it unusable for its other functions.
so why would you do that instead of simply resizing it in an image program?
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,033
Reaction score
325
First Language
Dutch
Primarily Uses
RMMV
to avoid repaeat, use the correct map size, if the resolution is 20x25 and map is 18x20, than use the screen size.
meaning, you make a black canvas around it, this to avoid repeating, if its bigger, use a ! in front and your good to go =)
 

somenick

Veteran
Veteran
Joined
Nov 2, 2014
Messages
181
Reaction score
90
First Language
English
Primarily Uses
so why would you do that instead of simply resizing it in an image program?
I plan on releasing the game on a web site, so don't want to use big images, in order to help preserve bandwidth and keep download times small. Yes I know stretching makes images look pixelated but in this case its ok. Some segments of the game play out in first person / visual novel style. I figured how to do what I want via Picture events. But still, the fact that pictures are in the very top layer limits me if I want to show events or wathever. Thanks anyways.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,033
Reaction score
325
First Language
Dutch
Primarily Uses
RMMV
parallax arent really pictures, its shown below all tiles (like blank tiles become lack if not used a parallax image)
so its below everything else, even below water. normal picture event shows above all layers. dont make mistakes out of those :)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

gotta update my game project thread page later
So trying out Ultra Mode 7 was a bad idea. How do I not include this in my game? XD
Stumbled upon an RPG Maker game on Steam called 'Boobs vs Zombies' while looking for a zombie themed fantasy RTS. lol
There's a new born faction in my country called "Sunda Empire" claiming they have right to rule over the earth and sun... I don't know what to feel...
Quon is watching you
Quon blessed your good efforts

Forum statistics

Threads
93,547
Messages
913,400
Members
123,084
Latest member
porkipon
Top