Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Ground parallax problem

GreyWolf

Villager
Xy$
0.00
So, here's my first post... didn't take much long did it...

I'm trying to learn parallax mapping and i did a very simple experiment with a small outdoor camp.
I'm using Kaus Ultimate Overlay to add overlays and maybe shadows in the future, but the thing that's bugging me is the ground parallax.

Adding the note <ground> in the map settings works perfectly fine, thanks to the plugin installed, but doing so I can't see the parallax in the editor, preventing me from seeing where I am placing events and stuff.

So added the ground parallax WITHOUT using Kaus' plugin, like this:


However, when I start the game, this is what I get:



And I haven't the slightest idea why.

Any advice?
 

MinisterJay

Administrator
Staff member
Administrator
Moving to MV Support. :)
[doublepost=1493328765,1493328535][/doublepost]Is the size of your parallax map the same exact size as the Map Properties Width and Length within General Settings?

If not, set the Width and Length Settings to match the Parallax maps length and width.
To get the map size, divide the parallax's length and width by 48.

Make sure that your parallax widths and lengths are multiples of 48 pixels.
 
Last edited:

GreyWolf

Villager
Xy$
0.00
Sorry for posting on the wrong section of the forum, I'm still learning my ways in this forum (facepalm).

Yes... I think. The map size is 10x10, the parallax .png is 480x480.
 

MinisterJay

Administrator
Staff member
Administrator
Have you tried to make the parallax 17w X 13h, and have the 10 X 10 within the 17 X 13? I have had this challenge myself, and the display does not like parallax maps that are smaller than 13h X 17w. I usually leave the excess area as transparent.

In addition, when I make maps that are less than 13h X 17w, I try to use odd numbered dimension, so it is easier to center, with the 13h X 17w.
 

GreyWolf

Villager
Xy$
0.00
I'll try this, thanks!
[doublepost=1493331884,1493331467][/doublepost]
Have you tried to make the parallax 17w X 13h, and have the 10 X 10 within the 17 X 13? I have had this challenge myself, and the display does not like parallax maps that are smaller than 13h X 17w. I usually leave the excess area as transparent.

In addition, when I make maps that are less than 13h X 17w, I try to use odd numbered dimension, so it is easier to center, with the 13h X 17w.
SOLVED! I just enlarged the map size to 17x13 then placed the "darkness" tile in the excess areas (the transparent ones didn't solve the issue and I didn't want to remake the map from scratch to center it). But without your tip i wouldn't have figured out !
 

MinisterJay

Administrator
Staff member
Administrator
I'll try this, thanks!
[doublepost=1493331884,1493331467][/doublepost]

SOLVED! I just enlarged the map size to 17x13 then placed the "darkness" tile in the excess areas (the transparent ones didn't solve the issue and I didn't want to remake the map from scratch to center it). But without your tip i wouldn't have figured out !
I might have also done what you did on some occasions. ;)
 
Top