Hi
I'm making a wind temple in my game, and what would be great is that I could be able to make a "wind" that :
- Slows down the player when walking towards the wind
- Makes them walking slower the closer they get to the origin
- Speeds them up when walking in the same direction
- Makes them walk diagonally when walking perpendicularly to it
- Pushes the player away when standing still
For now I have an idea for the speed up / slow down with an event that chack where the player is facing
But I don't know how to prevent the player and the event from interrupting each other when changing directions :/
I'm making a wind temple in my game, and what would be great is that I could be able to make a "wind" that :
- Slows down the player when walking towards the wind
- Makes them walking slower the closer they get to the origin
- Speeds them up when walking in the same direction
- Makes them walk diagonally when walking perpendicularly to it
- Pushes the player away when standing still
For now I have an idea for the speed up / slow down with an event that chack where the player is facing
But I don't know how to prevent the player and the event from interrupting each other when changing directions :/