So far, the balls appear when the mouse is clicked and, previously, only appeared where the mouse was clicked. However I've now changed it so that the ball positions are set by the user:
balls[n].position.set(xcoordinate, ycoordinate);
The next stage will be to remove the mouse handlers so that the balls appear when the program is run rather than just when the mouse is clicked.
No comments:
Post a Comment