Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27248

VS 2008 Space invaders

$
0
0
hi, what i want is that when u hit a specified block (Alien) a certain picturebox falls down that if u collect it with the paddle (using collision code) u can use this extra weapon.
the problem is that the picturebox is lagging when falling down and the timer is set to 1 or even 10
the code i'm using is:
If Missle1.Bounds.IntersectsWith(AlienBox22.Bounds) Then
PictureBox1.Visible = True
PictureBox1.Top += 1
End If
Any idea what can cause lag? or any other way to do it?

Viewing all articles
Browse latest Browse all 27248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>