Wasnt much help there but I found a video that was alot more help...though ran into another problem.
I created custom Login buttons for my game, Though I gotten them to work Sorta having problems speeding up the movements. I have them Moving +1 space to the right until they hit a certain spot, at a interval of 50 but it still goes slow the speed doesnt change even if i bump it higher or lower. Only way to make it go fast is to move is to change it from going +1 to like plus 35 but that messes up the alignment.
Under form_Load I put
Code:
Image1 = LoadPicture(App.Path & "\Grh\login_btn.gif")
Image2 = LoadPicture(App.Path & "\Grh\signup_btn.gif")
Image3 = LoadPicture(App.Path & "\Grh\options_btn.gif")
Image4 = LoadPicture(App.Path & "\Grh\exit_btn.gif")
Image1.Left = -Image1.Width '- 90
Image2.Left = -Image2.Width '- 70
Image3.Left = -Image3.Width '- 40
Image4.Left = -Image4.Width '- 20
Then at the end I added
Code:
Private Sub Timer1_Timer()
If Image1.Left < 20 Then
Image1.Left = Image1.Left + 2
Else
Timer1.Enabled = False
Timer2.Enabled = True
End If
End Sub
Private Sub Timer2_Timer()
If Image2.Left < 40 Then
Image2.Left = Image2.Left + 2
Else
Timer2.Enabled = False
Timer3.Enabled = True
End If
End Sub
Private Sub Timer3_Timer()
If Image3.Left < 70 Then
Image3.Left = Image3.Left + 2
Else
Timer3.Enabled = False
Timer4.Enabled = True
End If
End Sub
Private Sub Timer4_Timer()
If Image4.Left < 90 Then
Image4.Left = Image4.Left + 2
Else
Timer4.Enabled = False
End If
End Sub
thats the only code i put in the game.
4 timers that never run all at once one shuts off then the next starts up
Forgot to add that currently im using gif images for the transparent part but i wanna use PNG because of the center of the button are suppose to be semi transparent if u know of a way to do this be great thanks.
Also Is there Alpha mapping built into vbgore or is it something we gotta put in?