|Topic was automatically imported from the old Question2Answer platform.
I want to make 2d platformer with enemy that throw stuff at player.
The enemy throw stuff up and fall at player location so the enemy can hit the player that hide behind wall.
I do know that enemy has the player location is needed, but how to throw up the wall and hit the player behind the wall?
You would need to program a parabola. That means finding the vertex and calculating the path. Might be worth looking up some tutorials on programming a parabola if you want to learn how trace the path for the hammer.
Gluon | 2022-12-22 09:40