I want to create a simple 2D Java game , where I should be able to shoot a ball with a character (with a spritesheet). The problem is, I don't know which classes or which methods i would need. I thought of using a physics engine called "dyn4j", but actually i don't know much about it and my researches about it failed. I just found some examples of some games, where I looked for a shoot program, but I couldn't find anything: https://github.com/dyn4j/dyn4j-samples/tree/master/src/main/java/org/dyn4j/samples.
The shot should be realistic as possible and of course collisions should also be handled.
I also thought to use a mathematical function that resembles a parabola for the shot, but I think there should be an easier way.
Do you think i should use dyn4j or another physics engine?
Which classes or methods would help?