07-22-2012, 06:29 AM
This fixed an error. Now I have to figure out the rest. Thanks!
Edit #1:
The class is almost identical to the one you've written. However, the bullet doesn't shows up on the screen.[code2=vbnet]Public Sub shootBulletL()
Dim b As System.Drawing.Image = My.Resources.Player_Left_Bullet
Dim Bullet As Left_Bullet = New Left_Bullet((Me.ClientRectangle.Width / 2), (Me.ClientRectangle.Height / 2), b.Width, b.Height, 5, 1)
Bullet.Visible = True
Me.Controls.Add(Bullet)
End Sub[/code2]
Edit #1:
The class is almost identical to the one you've written. However, the bullet doesn't shows up on the screen.[code2=vbnet]Public Sub shootBulletL()
Dim b As System.Drawing.Image = My.Resources.Player_Left_Bullet
Dim Bullet As Left_Bullet = New Left_Bullet((Me.ClientRectangle.Width / 2), (Me.ClientRectangle.Height / 2), b.Width, b.Height, 5, 1)
Bullet.Visible = True
Me.Controls.Add(Bullet)
End Sub[/code2]
Also known as Rocketalypse.
System.out.println("I prefer Java.");
System.out.println("I prefer Java.");