Parallax Background Image Resizing in RM MV?

somenick

Veteran
Veteran
Joined
Nov 2, 2014
Messages
195
Reaction score
92
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
30,263
Reaction score
7,139
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,945
Reaction score
640
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
195
Reaction score
92
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,945
Reaction score
640
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 Profile Posts

Why you do this? Now I have to buy the new RPG Maker xD
I've always dreaded planning for my games so I just didn't plan at all. That... didn't work out after all. :kaosigh:
Turns out it can be kind of fun if you keep the scope small and don't take it way too seriously.
well... for the first time in months... I feel like my game is headed towards something again. I finally have it where I won't be drawing battle assets for the rest of the year...
What I would give to actually get some feedback on my game...

Forum statistics

Threads
99,568
Messages
966,845
Members
131,215
Latest member
SDragon64
Top