bounce ball mouse click events | Sololearn: Learn to code for FREE!


bounce ball mouse click events

Hello, i did a program of bouncing ball, using js , canvas and everything is working but, i need to multiply the ball each time whenever i click on it with right mouse click , how to do that, i have function for ball drawing and function for rectangle separately thanks for help

9/4/2018 10:28:49 PM

Yehia Itani

2 Answers

New Answer


Could you link the code?


Well yup I'll post it as soon as possibile thanks