by Steven Lee (1 Submission)
Category: Games
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 14th September 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)
hop sound effect has wrong pathway for frogger, so it doesn't play. this code corrects it.
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
No comments have been posted about hop sound effect has wrong pathway for frogger, so it doesn't play. this code corrects it.. Why not be the first to post a comment about hop sound effect has wrong pathway for frogger, so it doesn't play. this code corrects it..