U
Uhfgood
Guest
I basically want to drag the paddle in my breakout clone with the mouse. The way I have it now, it will jump or move to the position where the center of the paddle is at the mouse position.
It means if you click on the left or right edge it will move to where it's in the middle of the paddle. I want to move the paddle like a scroll bar in Windows. You click on it, and drag it to what position you want.
Anyone tell me how to do that? hmm I guess I need a difference in mouse position
It means if you click on the left or right edge it will move to where it's in the middle of the paddle. I want to move the paddle like a scroll bar in Windows. You click on it, and drag it to what position you want.
Anyone tell me how to do that? hmm I guess I need a difference in mouse position