The bullet behaviour already has gravity - just use that to make the bullet describe a parabolic arc. It's as simple as that for a side view game; if your game is isometric then the maths will be more involved and you'll have to vary bullet speed and apparent gravity according to shoot angle / player heading.

Edit to add: If you want to calculate the shot angle so the bullet describes a parabola and then hits the intended target, you'll need to solve the equations of motion for x and y velocities - x velocity constant, y velocity accelerated by gravity and overall distance traveled the delta y from turret to target.

For x: s = ut

For y: s = ut + 0.5at^2

Time traveled for both is the same... I'm using my phone now but if this is what your after I'll try and put together an example later.

Sure. I used one equation of motion (variables: u is starting velocity, s is displacement, a is acceleration and t is time taken):

s = ut + 0.5 at^2

By setting the arrow time of flight to a constant and known value, it becomes easy to figure out the missing variables. This does not necessarily reflect reality, but it's more than good enough for a game. For movement in the x direction, I chose to make the movement linear in all screen directions ie constant x velocity and zero acceleration. Thus the equation becomes u = s / t.

For movement in the y direction (ie vertical) I had to consider gravity acceleration. The variable s is the difference between start and end y values. Starting velocity is then figured by manipulating the equation to give u = (s - 0.5 at^2 ) / t. All of the variables s, a and t are known, so the starting vertical velocity can be figured out. That leaves moving the arrows, which is done every tick by giving each arrow object an object variable Y_Vel (for y velocity)... et voila!

Could you please reupload this file again? I have the same problem as OP.

You need to tag the person in question or they will never know you are asking them. In this case, it looks like you want Colludium to re-upload the file.

Hi davy421, I'll see if I can find the file for you. However, I fear that some over-zealous folder clearing on a new computer might have sent it to oblivion... In which case give me a while and I'll create a new one.

—, I had deleted the original demo, so try this capx for an alternative method. I actually think that this is better as it gives you the option of having a shadow as well .