Original Post
Here's one I was curious about an implementation.
Say you have the player and then a shot, but I want the shot to move in a parabola sort of way.
I am thinking that one would take the X/Y position of the shot, and then the X position of the player and just make the Y position by equal to that of the shot so we have those as the same and then just have some X difference, rather than trying to plot where the player would be along the parabola.
I'd like the shots to move at an equal speed, regardless of how far away the player is, although maybe a fixed speed wouldn't be bad either.
I can play with it though. Just wondering where to start. Thanks.
The parabolic shot would also move down and then up.
Say you have the player and then a shot, but I want the shot to move in a parabola sort of way.
I am thinking that one would take the X/Y position of the shot, and then the X position of the player and just make the Y position by equal to that of the shot so we have those as the same and then just have some X difference, rather than trying to plot where the player would be along the parabola.
I'd like the shots to move at an equal speed, regardless of how far away the player is, although maybe a fixed speed wouldn't be bad either.
I can play with it though. Just wondering where to start. Thanks.
The parabolic shot would also move down and then up.