I'need a help!!,o(
Posted 25 May 2010 - 10:56 AM
Posted 25 May 2010 - 11:35 AM
Posted 25 May 2010 - 11:50 AM
Posted 27 May 2010 - 02:56 AM
DeathKindler, on 26 May 2010 - 10:38 PM, said:
Posted 27 May 2010 - 11:40 AM
Posted 27 May 2010 - 01:18 PM
Posted 27 May 2010 - 03:32 PM
Sub drawRoll1()
Dim img As Bitmap = New Bitmap(width, height) ' Initialize Bitmap to draw to '
Dim g As Graphics = Graphics.FromImage(img) ' Initialize graphics object '
spin1 += 1 ' increment spin for Roll 1 '
If (spin > rollEnd) ' if at end of roll, restart!'
spin = 0
End If
g.DrawImage(Image.FromFile("Roll.png"), 0, spin1) ' Draw Image "Roll.png" at point (0, spin1) '
g.DrawImage(Image.FromFile("Roll.png"), 0, spin1 - rollEnd) ' Draw Image "Roll.png" at point (0, spin1 - rollEnd) - this prevents the BG showing, can be optimised '
PictureBox1.Image = img ' set PictureBox1 image as img '
g.Dispose ' destroy g '
img.Dispose ' destroy img '
End Sub
Posted 28 May 2010 - 07:21 PM
VisualMelon, on 27 May 2010 - 04:32 PM, said:
Sub drawRoll1()
Dim img As Bitmap = New Bitmap(width, height) ' Initialize Bitmap to draw to '
Dim g As Graphics = Graphics.FromImage(img) ' Initialize graphics object '
spin1 += 1 ' increment spin for Roll 1 '
If (spin > rollEnd) ' if at end of roll, restart!'
spin = 0
End If
g.DrawImage(Image.FromFile("Roll.png"), 0, spin1) ' Draw Image "Roll.png" at point (0, spin1) '
g.DrawImage(Image.FromFile("Roll.png"), 0, spin1 - rollEnd) ' Draw Image "Roll.png" at point (0, spin1 - rollEnd) - this prevents the BG showing, can be optimised '
PictureBox1.Image = img ' set PictureBox1 image as img '
g.Dispose ' destroy g '
img.Dispose ' destroy img '
End Sub
Posted 30 May 2010 - 04:35 AM
Posted 31 May 2010 - 12:55 PM
VisualMelon, on 30 May 2010 - 05:35 AM, said:
Posted 01 July 2010 - 05:38 PM
VisualMelon, on 27 May 2010 - 04:32 PM, said:
Sub drawRoll1()
Dim img As Bitmap = New Bitmap(width, height) ' Initialize Bitmap to draw to '
Dim g As Graphics = Graphics.FromImage(img) ' Initialize graphics object '
spin1 += 1 ' increment spin for Roll 1 '
If (spin > rollEnd) Then ' if at end of roll, restart!'
spin = 0
End If
g.DrawImage(Image.FromFile("Roll.png"), 0, spin1) ' Draw Image "Roll.png" at point (0, spin1) '
g.DrawImage(Image.FromFile("Roll.png"), 0, spin1 - rollEnd) ' Draw Image "Roll.png" at point (0, spin1 - rollEnd) - this prevents the BG showing, can be optimised '
PictureBox1.Image = img.Clone() ' set PictureBox1 image as img '
g.Dispose ' destroy g '
img.Dispose ' destroy img '
End Sub
Posted 16 July 2010 - 12:13 PM
If (spin > rollEnd) ' if at end of roll, restart!'
spin = 0
End If
Posted 06 August 2010 - 09:52 AM
VisualMelon, on 16 July 2010 - 01:13 PM, said:
If (spin > rollEnd) ' if at end of roll, restart!'
spin = 0
End If
Posted 07 August 2010 - 07:36 AM