Vb 6 Tutorial 2 Bouncing ball
Top Comments
All Comments (15)
-
I did everything as instructed here in this video but The bOuncing Ball ended up bouncing up and down. What do you think was the problem? Anyway, thanks a lot for the big help :)
-
I dislike this video. For making the tutorials further
1.you should type the code rather than copy paste.
2.You should have to zoom the window while typing so the code can be read without stress on eyes.
3.Should have to explain the logic behind the code. As the codes are already available in books also but the missing part is explanation of logic.
-
Twitchvald10 thx for code
-
Private Sub Timer1_Timer() Shape1.Left = Shape1.Left + xspeed Shape1.Top = Shape1.Top + yspeed If Shape1.Left > (Form1.Width - Shape1.Width - (Form1.Width - Form1.ScaleWidth)) Then xspeed = xspeed * -1 End If If Shape1.Top > (Form1.Height - (Form1.Height - Form1.ScaleHeight)) Then yspeed = yspeed * -1 End If If Shape1.Left < 0 Then xspeed = xspeed * -1 End If End Sub
-
'vbkeyf4 115 f4 key
if shift = vbaltmask then
if keycode = vbkey f4 then
end
end if
end if
if keycode = vbkeyescape then
end end if
-
THANK YOU VERY MUCH!!!!!!!!!!!!!!
-
oh yeah make your next vid with the code in the discription
-
Thx man you are awsome !! ;)
-
Great video! The code was very well wrote.
If you what to see the text better, watch it in HD!
Thanks but could you take it slower? lol
Nice tut
WeArePatriots 3 years ago 6
u should add source god or a zip of the project
soldadit0 1 year ago 4