What am I doing wrong? (Parralax and Tilesets)

Afternoon All.

I am in need of your help. I am playing with a parralax background and a large sprite, but am having problems with collision detection.

Attached is the parralax (GV)

GV.jpg

And the sprite which uses the "$" title.

$MrDeath.png

I want the sprite to be limited to walking on the stone cobbles. So I got to create the map, size it accordingly, and then click on "show in editor".

I then go to the Resource Manager, got to tilesets and import "Masks"

masks.png

Then, I go into Database Manager, change the "Mode" to "Field Type" and from "A5 (normal) select "Masks" I then click on the passage tab and set green to "O" and red to "X".

I then colour the path and doors in green and everything else in red.

I then go back to the Resource Manager delete the existing "Masks" and replace it with a new "Masks" (so that the parrallax can now be seen).

masks.png

... and when I come to play test, my sprite walks all over the buildings without any restrictions.

What am I doing wrong?

Thank you

GT
I'm not too advance in parallax mapping, But i got into the same problem, Not sure if it's the same case,

But at tiles page 'B' the first tile have to be on 'star' for the tiles to work properly, If it's on 'X' you won't be able to walk at all and if it'll be on 'O' you could walk all over

Untitled-1.png
TY... that's not fixed it.

I'm experimenting with different solutions, and think it might be a problem with collision detection with my sprite...
Did you set the passage settings in the database for the tileset?

didu10.png
Hi Shin - yes, I set passage but it is still glitching.

I've been experimenting, and I think that part of the problem is that the parrallax image is not locking. As the sprite moves around, so the parrallax moves a little with it.

I've checked that scrolling and looping are off, and they are.
If the parallax picture is larger than a single screen, you'll need a script to lock it to the grid - if it moves when the player is moving, it isn't locked.


If you already have a parallax script, then link us to the one you use. If you haven't one, then that's the most likely problem.
Hi Andar - that sounds like exactly the problem I'm having.

I haven't locked the parallax image to the grid.

Bearing in mind that I'm brand new to all of this, are you able to point me to a suitable script, and then tell me how I attach it to the relevant section of the game?

TY  🙂

GT
follow the link in my signature, look for the link to the master script list there.


On the master script list, looik for parallax - you'll find two or three different scripts, choose the one you like most.


Or search this forum for parallax and follow the tutorials you'll find by that.

Original thread: https://forums.rpgmakerweb.com/threads/what-am-i-doing-wrong-parralax-and-tilesets.25999/