Well, here's the scenario:
I've got diagonal stairs, and they can slant either way. So when the hero enters point A, he not only moves West with each step, but North as well. I've figured out how to make the hero move diagonally (MOVE HERO TO etc...) but it doesn't really achieve the effect that I want. What I have working now is, whenever the hero touches point A, a script takes control of the hero and walks the sprite diagonally North West. When the hero touches point B, another script takes over and walks the hero diagonally SE.
Is there a clever way to make it so rather than taking control from the player, the script checks what direction the player is moving the hero, and either move the sprite North or South?
I was considering using zones (what is it with me and zones anyway?) for different staircases. So for this type of stairway, it would be Zone A. A stairway going in the opposite direction would be Zone B. The script would then check what type of zone it is, and what direction the hero is going, and then move the hero accordingly.
What I'm not too clear on though, is how to go about doing that without using a SUSPEND HERO and moving the hero accordingly without it getting all fudged up.
Thanks in advance!
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl



