Game Development Reference
In-Depth Information
The game controls
In the game, the player must click on the white ball and then drag his or her finger to activ-
ate the cue ball. The farther the finger gets from the white ball, the more powerful the shot
will be.
So let's add the events to handle user input.