I'm trying to make a fence that will 1) act like a fence (prohibits movement on one axis), and 2) looks like a fence (allows my character to walk behind it (this is mainly an issue for north-south blocking fences, for east-west I can place the graphic accordingly in the sprite tile and make 4-directional passability work).
I can't seem to get this to work with using a star-passability (there's no collision detection for the fence then), so my next best guess is regions + a parallel event checking player orientation? or just use individual events and execute a similar check on player touch?
If anyone has some insight (or yanfly-compatible plugins) I'd be very appreciative :)
Fences, stars, and 4-directional passibility...
● ARCHIVED · READ-ONLY
-
-
you misunderstood what star passability means.
it has only two functions:
1) display the tile graphic above the player
2) ignore the passability of the star tile but use the passability of the tile under it (the A-tile placed there.
so you basically need to make sure that the A tile of the position holds the correct passability, using the star tile only for displaying parts above the actor. -
So you're saying another option is to make an 'empty' tile with the four-directional settings I want, then star-place the fence over it? That sounds a lot smarter than adding parallel logic/individual events :) thank you!
EDIT: yay, it works! -
[closed]IgnoreMe[/closed]