Results 1 to 2 of 2

Thread: bouncer

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    55

    Post

    can any one tell me how to make an object bounce around the screen in vb3.0 like one of thos screen savers

  2. #2
    Guest

    Post

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width