I’m programing a penalty kick off game (javascrit + CSS3) and I need your help to figure out how to build the “pick up your shooting power” screen.
Like in those golf games I want it to have a bar that moves from left to right ascending and then descending non stop. The player has to click on the bar and the bar stops selecting the power with which the penalty will be shooted.
How can I do that?
Here is pseudocode for you: