can any one tell me how to make an object bounce around the screen in vb3.0 like one of thos screen savers
Printable View
can any one tell me how to make an object bounce around the screen in vb3.0 like one of thos screen savers
Have 'X direction' and 'Y direction' varibles. Set them both to 1. Have a timer move the top of an object by Yand the Left by X. When the objext hits the side, swap the sign of X. When it hits the top or bottom, swap the sign of Y.
Hope this helps!