Hi, I didn't want to ask for help again, but here we are...
Ok so, I'm making a 4 direction game, in which the character reflects the walls. Meaning if the characters goes to right, and hit the wall, automatically goes to the left, and so on.
At first, I immediately thought to use the bullet behavior for the character.
And in a sense, it works. But there is a problem.
If the character has the speed set to 0, you can't change the direction to either up or down, but just left or right. This, only when the speed is set to 0. In the game, after you choose a direction, the speed goes automatically to 150.
Since it looked a specific issue, I tried with my trials and errors, but I haven't found anything that could work.
______________________
So now I've tried using another method, which is 8Direction (limited to 4).
In this case, I literally had no issues with moving and choosing the directions.
But.
Now the character can't reflect the walls properly.
With the bullet behavior, I can easily use the "Bounce of Solids" option.
While with 8Direction I have to add a "Reverse 8Direction" action when the player collides with the wall.
As a result: If the character starts and goes to right (angle of motion 0°), hits the wall and it successfully goes to the left (angle of motion -180°). But when the character hits the left wall, it goes down (angle of motion 90°).
If the character starts and goes up (angle of motion -90), hits the wall and goes to the left (angle of motion -180°), and hitting the left wall, the character goes down again (90°).
I'm probably considering the angles in the wrong way, but at the moment I have no clues on what to do.
Do you think would be better for me to continue with 8Direction or Bullet behavior? And how can I fix one of the two?
Thank you.