Status
Not open for further replies.

cuby

Perpetual Toil
Veteran
Joined
Jun 20, 2015
Messages
159
Reaction score
39
First Language
English
Primarily Uses
RMMV
I've been running some tests to try editing my own parallax backgrounds, and running into an interesting problem which I bet there is some simple explanation for.

I'm using the Orange Map Shot plugin to take a snapshot of the entire map. Then I am using an image editor to alter that map, then loading it as a parallax in the editor. In this image it's behind the tiles perfectly (I'm keeping the editor tiles for testing):

screenshot 1.jpg

However, when I playtest the game, everything is weirdly offset to the left and down, as you can see here:

screenshot 2.jpg

I've tested this out on a few different maps, and I get a similar result each time. Sometimes it's offset on X axis only, sometimes it's offset on both axes. Every time, things are off to the left though, and appear perfectly lined up and fine in the editor.

At first I suspected the Map Shot plugin, but since the parallax lines up perfectly in editor, that doesn't figure to be the issue. Any thoughts?

Thanks!! :LZScheeze: :LZScheeze: :LZScheeze:
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
36,318
Reaction score
9,708
First Language
German
Primarily Uses
RMMV
This is usually one or both of two mistakes:

1) to disable parallax movement function your parallax picture needs to start with a ! in the filename.
You cannot use parallax for mapping if it is still fully enabled.

2) the size of map and parallax picture are not conforming to each other.
Parallax picture in pixel needs to be 48 times the map size in tiles
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,735
Reaction score
2,264
First Language
Dutch
Primarily Uses
RMMV
for a tiny adjustmen on the above, if your map is 14x25 (14x48 & 25x48)
if your screen resolution is bigger then 15, make sure the mapsize height or width starts
with that number. or you still get some offset :)

but hte above are indeed the 2 most mistakes in parallaxing maps.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
36,318
Reaction score
9,708
First Language
German
Primarily Uses
RMMV
right, @ShadowDragon reminded me of the third problem - and that one is not only in parallax mapping but in every mapping.

3) screen size = minimum map size
If you increase the screen size beyond default, you need to make sure manually that all maps are at least screen sized. Add a black border around if you don't want bigger maps, but if a map is smaller than screen size the engine gets problems with displaying it and often loops the tiled map (which might be hidden behind the displaced overlay if it is only one or two tiles too small)
 

cuby

Perpetual Toil
Veteran
Joined
Jun 20, 2015
Messages
159
Reaction score
39
First Language
English
Primarily Uses
RMMV
Many thanks to you both! The exclamation mark solved it, and I'm really grateful for the additional info.


 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
9,726
Reaction score
6,177
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Spent all day writing code, only for it to result in an endless loop...sigh.:kaosigh:
So um what is the deal with rpgmakerofficial.com ,why are there two rpg maker websites now? Is it any different from the current one rpgmakerweb.com??
ScreenShot_7_1_2022_11_41_55.png
When the Panic gauge is full, Mike will turn into Omar in a state of actual panic. his move list changes and until the meter depletes completely, he'll be able make use of this alter ego.
So unbelievably excited for IGMC this year! First public game was for the original one and I'm just so pumped!!
Sometimes I am amazed at how relentless spam bots are. I would clear the que and then see 800~5k more depending on their mood.

Forum statistics

Threads
123,261
Messages
1,155,283
Members
161,641
Latest member
xx145698
Top