Need a code that will be like a bow shooting a arrow around

Hi guys can anyone give a good code for a archer firing arrows at an enemy. Thanks.

hi @maverick01,
I don’t have any code ready but what you are looking for it called a trajectory, look up the same for how to write your code.

This is what a lot of students used to write while learning programming in the late 80’s