Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Visual Basic 2010 Express Tutorial 12 - Bouncing Ball Animation

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
27,190
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 19, 2010

http://www.schoolfreeware.com
This video tutorial shows how to perform a simple animation by moving a ball (shape) around the screen with a timer. The animation will us some built in properties to find the hit detection. When the ball hits the side of the window borders, the ball will bounce in the opposite direction. The PowerPack OvalShape will be used, for this tutorial. For VB 2008 users, the PowerPack 3.0 plugin can be downloaded for free at: http://msdn.microsoft.com/en-us/vbasic/bb735936.aspx

Shape, Timer, ClientRectangle, Coordinates and Boolean values will be used.

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (SchoolFreeware)

  • My ball does not move. So annoying when things don't work after following it to the T. I wonder why it doesn't work for me.

  • @inlovewithi Is the timer enabled?

  • where do i get shapes in visual powerpacks? in my visual studio in my toolbox the powerpacks contains only pointer and printforms

  • @otskiexy The PowerPack install link is in the description.

Top Comments

  • thumbs up if you challenged yourself to do this without tut and made it super complex!

see all

All Comments (55)

Sign In or Sign Up now to post a comment!
  • 3:24 fuck + 5!!

  • checkout my channel for more

  • @FloatingWingsorz

    you need to define the Boolean as global (outside the function)

  • @inlovewithi Don't forget to delete OvalShape1.Left += 5 on the first line that you have been written.

  • I have problem with that Ovalshape, it has underline said that I have error!

  • great!! even my balls were bouncing!!

  • My ball still goes through the edges and won't come back. What do I do?

  • great tuto,good man

  • lol i calculated the borders instead of client rectangle or something.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more