0

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

4th Sep 2018, 10:28 PM
Yehia Itani
Yehia Itani - avatar
2 Answers
0
Could you link the code?
5th Sep 2018, 8:30 PM
Daniele Bonomi
Daniele Bonomi - avatar
0
Well yup I'll post it as soon as possibile thanks
5th Sep 2018, 8:54 PM
Yehia Itani
Yehia Itani - avatar