PDA

Click to See Complete Forum and Search --> : bouncer


thevbuser
Feb 13th, 2000, 03:31 AM
can any one tell me how to make an object bounce around the screen in vb3.0 like one of thos screen savers

Feb 14th, 2000, 06:10 AM
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!