Hello everyone,
I am currently developing a golf game called "Rune Golf" and I am currently working on improving the aiming system that allows the player to visualize the power of their shot and a small preview of the direction the ball will take. The game is based on the physics behavior of Construct 3.
Currently, my system allows for visualizing the straight-line trajectory in which the ball would travel. However, it is simply a dotted sprite indicating the direction, but it does not take the game's physics into account (meaning the dots represent the ball's trajectory as if its force were continuous and infinite).
The problem is that I would like this dotted line to adapt to the force the player puts into their shot. The ball will indeed travel in a straight line if the shot is powerful, but it will follow a more arched trajectory if the shot is weaker. The ideal would be a dynamic trajectory preview system, similar to what Angry Birds does.
If anyone has any ideas or suggestions on how to implement this in the game, I would be very grateful!