Computer Science Canada

Simple Basketball Game

Author:  Ugandan Knuckles [ Sun Jan 14, 2018 4:45 pm ]
Post subject:  Simple Basketball Game

What is it you are trying to achieve?
A basketball game where the user has to score as many buckets in the net before the time runs out.


What is the problem you are having?
Cannot shoot the ball (I made the ball move from using the arrow keys which I don't want it), I want it so when you click in a direction, the ball will follow the direction. For example, if I click in mid-air, the ball will go up in mid air, then come down (Click to shoot).


Describe what you have tried to solve this problem
I tried using mousewhere and buttonwait but I'm still having problems.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Here's my file, my program is not finished yet but helping me to write the code will be really appreciated. Feel free to review my game. Very Happy


: