Jump to content
Naralax

Restricting characters from Moving south (down)

Recommended Posts

Good day everyone, thank you for taking the time to read my question.

I am currently parallax mapping my game and have come across a challenge. I have a lovely fence asset with transparency I wish to use as part of a top layer using TDDP_BindPicturesToMap. The issue I have is I do not wish my characters to be able to travel through the fence to the tiles directly south (from tiles numbered 2 into tiles numbered 1), unless travelling through the obvious door apertures. Similarly I do not wish the character to be able to travel north, through the fencing to the tile above (from tiles on bottom row numbered 1 to numbered 2.)

I found some scripts here: Want to restrict player movement to one direction. - Programming - RPG Maker Central Forums however I am a complete coding novice. COuld anyone take the time to point me in the right direction, or assist me with appropriate script.

Thank you for your time.

 

Naralax

help.png

Share this post


Link to post
Share on other sites

Well first of all the link you gave is for VX Ace and you posted in MV. So I assume your using MV. 

Regardless the solution is the same for both editors. Yanfly Region Restrict

Grab that script or plugin and put it in your project. Read the instructions and have fun.

You do know how to use plugins?

Share this post


Link to post
Share on other sites

Thank you for your speedy response. Embarrassingly enough i do already use region restrictions, although seemingly not enough to be fully in the know as to its capabilities. I will spend some time today reading and researching and I will return to this post should I prove inept, or should further problems arrive. 

Please accept my apology for linking VX, my wife and I have a new-born so tiredness is increasing the errors I make. 

Share this post


Link to post
Share on other sites

I thought you could just flag tiles to not let you move certain directions in the tileset editor...

Share this post


Link to post
Share on other sites

@Kayzee forgive me for asking but do tile directions  still apply their effect when parallax backgrounds and above, below pictures are applied through TDDP_bindpicturestomap?

I have just tried the 4 direction restriction using both transparent tiles and filled tiles and it doesn't seem to work. Perhaps I am missing something

 

 

Edited by Naralax
update of situation

Share this post


Link to post
Share on other sites

I have achieved a low intellect fix by duplicating the map and using a player transfer on touch function. It works as intended, but i'm sure there is a better way.

Share this post


Link to post
Share on other sites

If I understand correctly, you want them to be able to occupy the tile, but only from the top side? If you want the tile inaccessible completely but don't want to have a different graphic set with different move restrictions, a low-key solution is to put events at same level as character where you don't want them to move, and don't assign a graphic.It can look messy in editor if you have a lot but I've used this as a tweak a lot in VX ACE (especially when I am displaying a map graphic as an event to save on tile usage, or making a big event, like a large being you can talk to) and RPG Maker only flags the bottom middle tile as the event itself.)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted