07-21-2012, 01:37 PM
Thank you for making this tutorial!
Since the simple way is limiting my options and creativity, I am going to follow your tutorial and hopefully I will succeed. Once again, thanks for the tutorial!
Edit #1:
This simply won't work. I suppose I am doing something wrong.[code2=vbnet]Public Sub shootBulletL()
Dim b As System.Drawing.Image = My.Resources.Player_Left_Bullet
' Image has been already set inside the Left_Bullet class.
Dim Bullet(145, 400, b.Width, b.Height, 5, 1) As Left_Bullet
Me.Controls.Add(Bullet)
End Sub[/code2]
Since the simple way is limiting my options and creativity, I am going to follow your tutorial and hopefully I will succeed. Once again, thanks for the tutorial!
Edit #1:
This simply won't work. I suppose I am doing something wrong.[code2=vbnet]Public Sub shootBulletL()
Dim b As System.Drawing.Image = My.Resources.Player_Left_Bullet
' Image has been already set inside the Left_Bullet class.
Dim Bullet(145, 400, b.Width, b.Height, 5, 1) As Left_Bullet
Me.Controls.Add(Bullet)
End Sub[/code2]
Microsoft Visual Studio Wrote:Error 5 Value of type '6-dimensional array of Windows_Forms_Application.Left_Bullet' cannot be converted to 'System.Windows.Forms.Control'. C:\Documents and Settings\Owner\my documents\visual studio 2010\Projects\Shooter\Shooter\Forms\Form1.vb 106 25 Shooter
Also known as Rocketalypse.
System.out.println("I prefer Java.");
System.out.println("I prefer Java.");