Can anyone help me with these two things that I need for my game? They are almost the same thing, projectile/arc trajectory, but I don't know how to implement it.
1. An enemy AI which randomly jumps between 3 positions (left, middle, right) before executing an attack.
2. Enemy attack which throws an object to the Player position.
Thanks in advance!