I need a feature built into a rudimentary pinball game.
What I need is the ability to test how a ball will interact with the features I have put into the game already. Basically, I need to be able to use my mouse to shoot a ball in a direction. The feature should operate as the list describes below:
1) When I left click a ball should appear where the mouse cursor is and an arrow pointing to where the ball shoots should appear.
2) When I right click, the ball should launch. Depending on how long I hold onto the ball should launch at different speeds. A bar should appear to show the scale of how hard I'm launching the ball or a read out that shows the ball speed in feet per second.
An example of the standalone player for windows is included. I do not