Alright ! I'm doing some kind of chase sequence in my game using some big spider character.
It looks like this :
Thanks to another person on the forums, I've learned how to anchor the character at its center, and the chase event itself works. There's just an aesthetic problem when the spider follows me too close to the walls :
I've tried to find ways to fix that, by incorporating the wall in a tileset and display it above the player, for example, so the spider's legs would also be underneath the walls, and then block the player from going down underneath that wall, but it only works if the spider's Event Priority isn't Above the player, which it has to be, unfortunately.
I think that the most accessible workaround would be to use Above the Player events looking like the walls that would have a higher ID than the spider event, so they would be displayed above its legs.
Problem is, I don't want to make several hundreds of wall events to fix every tile one by one, so I thought of a system that would check if the spider is nearing a wall, then move events looking like the walls around it (walls would be determined based on a specific region id), so it would look like this :
But this would also work :
And that, as well :
So if I were to move events around the spider as it is approaching walls, they would have to look like the wall they're moved onto, so the spider's legs are displayed below the walls but the walls don't look weird.
I've fiddled with scripts enough to know how to do the first part, with the movement of events based on another event, but I don't how I can use script calls to change an events appearance based on what tile it's standing on, if it's even possible.
Or, if you have any other ideas for workarounds, that's cool too !
I hope it's easier to understand now, thanks for your help !