Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
If you're happy to use plugins, there's a more elegant solution with Visustella's core set of plugins, that allow you to paint barriers with the region tile feature, and mark them as impassable.
http://www.yanfly.moe/wiki/Events_and_Movement_Core_VisuStella_MZ#Region_Rulings
When you use the tileset for this, the invisible wall is also invisible for you as a dev. I personally can't stand that, but that is because I often copy/paste tiles from the map (Like right-click and then shift+click). Then I can't see if I accidentally copied over an invisible wall, when I want to copy just floor.
If you don't use copy/paste a lot, then the tileset would be the perfect solution, otherwise events like you did.
---
In addition: When you use events, instead of using events with "same as character" level, you can use events with a "below character" level. Then set the trigger to "Player touch."
Now you can show a little message that the player can't go there. Then give the player a moveroute:
- Turn 180 degrees
- 1 step forward
Now, as soon as the player steps on this tile, they see the message, then they turn around and then go back the way they came from.
This is handy if you want to let your player know why they can't pass. (Like if they need to complete the scene first, you can let the playing character say: "Wait, I am not done here." or "I should talk to the princess first..." or something like that.)
That gives just a little more flair than just an invisible wall. But then again, that all depends on what the wall is used for.