home *** CD-ROM | disk | FTP | other *** search
Wrap
Attribute VB_Name = "Module1" '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 'Exit the game always by pressing F12 !!!!! '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! '************************************************************ ' My original language is dutch, so for your understanding: ' Kogel means bullet ' Gif means posion ' GifSpuit is the spitting of posion ' This is just for you to better understand the codes ' Enjoy the game ' If you know new features, add them and put them online ' My email address is agrisman@hotmail.com '************************************************************ Option Explicit Global nrKogel As Integer Global Bullet0 As Integer Global Bullet1 As Integer Global Bullet2 As Integer Global Bullet3 As Integer Global Bullet4 As Integer Global Bullet5 As Integer Global Bullet6 As Integer Global Bullet7 As Integer Global Bullet8 As Integer Global Bullet9 As Integer Global Bullet10 As Integer Global nrGif As Integer Global Gif0 As Integer Global Gif1 As Integer Global Gif2 As Integer Global Gif3 As Integer Global Gif4 As Integer Global Gif5 As Integer Global Gif6 As Integer Global Gif7 As Integer Global Gif8 As Integer Global Gif9 As Integer Global Gif10 As Integer Global Gif11 As Integer Global Gif12 As Integer Global Gif13 As Integer Global Gif14 As Integer Global Gif15 As Integer Global Gif16 As Integer Global Gif17 As Integer Global Gif18 As Integer Global Gif19 As Integer Global Gif20 As Integer Global Gif21 As Integer Global gifM As Integer Global Howmuch As Integer Global track As Integer Global Tel, Ran As Integer Global Kill, Victory, GameOver As Integer Global WichSide As Integer Global GifSpuitAction As Integer Global TimeS As Integer Global TimeM As Integer 'This is to make sure the mouse can not be moved Public Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Public Declare Function ClipCursor Lib "user32" (lpRect As Any) As Long 'Declare function to play music and sfx Public Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long Public Declare Function mciSendString Lib "winmm" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As Any, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long Public Const Music = "passport.mid"