- Home
·
- Games
·
- hop sound effect has wrong pathway for frogger, so it doesn't play. this code corrects it.
hop sound effect has wrong pathway for frogger, so it doesn't play. this code corrects it.
hop sound effect has wrong pathway for frogger, so it doesn't play. this code corrects it.
Rate hop sound effect has wrong pathway for frogger, so it doesn't play. this code corrects it.
(1(1 Vote))
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyUp Then
' assign integer for W, so appropriate movement procedure can be called in UpdateScreen.
PlaySound App.Path + "\HOP.wav", 0, SND_ASYNC
Z = 0
W = 1
ElseIf KeyCode = vbKeyRight Then
PlaySound App.Path + "\HOP.wav", 0, SND_ASYNC
W = 2
Z = 0
ElseIf KeyCode = vbKeyDown Then
PlaySound App.Path + "\HOP.wav", 0, SND_ASYNC
W = 3
Z = 0
ElseIf KeyCode = vbKeyLeft Then
PlaySound App.Path + "\HOP.wav", 0, SND_ASYNC
W = 4
Z = 0
Else
End If
Exit sub
hop sound effect has wrong pathway for frogger, so it doesn't play. this code corrects it. Comments
No comments yet — be the first to post one!
Post a Comment