Difference between revisions of "Metro Cop"

From Sinden Lightgun
Jump to navigation Jump to search
 
Line 72: Line 72:
 
return
 
return
  
RButton::                             ;will let you shoot off screen to reload
+
ypos:=300
MouseClick, left, 960, 940            ;you might need to change Y Axis for your monitor
+
test:=False
return
+
while (!test) {
 +
        Sleep 1000
 +
    PixelGetColor, color, 912, %ypos%,
 +
    if !(color=0xEEEEEE) {
 +
        test:=True
 +
    }
 +
    }
  
 +
test:=False
 +
while (!test) {
 +
    PixelGetColor, color, 912, %ypos%,
 +
    if !(color=0x241AC8) {
 +
        ypos:=ypos+10
 +
    } else {
 +
        test:=True
 +
    }
 +
    }
 +
 +
Click 912, %ypos%
 +
Sleep 2000
 +
ypos:=ypos+280
 +
Click 1320, %ypos%
 +
 +
 +
RButton::
 +
    PixelGetColor, color, 390, 820
 +
    if (color=0x000000) {
 +
        Click 960, 940
 +
    }
 +
    return
 
Esc::
 
Esc::
     Process,Close,Firefox.exe
+
     WinClose, Metro Cop
    Run,taskkill /im "Firefox" /F
 
 
     ExitApp
 
     ExitApp
 
return
 
return

Latest revision as of 19:18, 8 April 2024



ItchIo Games
Download: Itch.io
License: Free
Game info
Developer: helpcomputer0
Released: Jan, 2018
Players: 1 Player
Type: Shooter
MetroCopTitle.png
MetroCopGameplay.png

Metro Cop is a web-based online "demake" of Virtua Cop. It's free to play and can be launched from a front end or similar using the AHK script example below.

You can play the game at Itch.io

You can use these example scripts to launch it in full screen (Thanks to Scott W for the script):

Minimized Window:

#SingleInstance Force
run helpcomputer.itch.io/metro-cop
Sleep 2000
Click 508, 400
Sleep 2000
Click 880, 650
~RButton::
{
MouseGetPos CurX, CurY
MouseClick, left, 900, 900
Click 900, 900
MouseMove %CurX%, %CurY%, 0
}
return
~Esc::
{
ExitApp
}

Fullscreen window:

#SingleInstance Force
run helpcomputer.itch.io/metro-cop
Sleep 2000
Click 912, 368
Sleep 2000
Click 1320, 650
~RButton::
{
MouseGetPos CurX, CurY
MouseClick, left, 900, 900
Click 900, 900
MouseMove %CurX%, %CurY%, 0
}
return
~Esc::
{
ExitApp
}

Sample AHK Script

Run, https://helpcomputer.itch.io/metro-cop
Sleep 3000
Click 912, 420
Sleep 2000
Click 1320, 680
return

ypos:=300
test:=False
while (!test) {
        Sleep 1000
    PixelGetColor, color, 912, %ypos%,
    if !(color=0xEEEEEE) {
        test:=True
    }
    }

test:=False
while (!test) {
    PixelGetColor, color, 912, %ypos%,
    if !(color=0x241AC8) {
        ypos:=ypos+10
    } else {
        test:=True
    }
    }

Click 912, %ypos%
Sleep 2000
ypos:=ypos+280
Click 1320, %ypos%


RButton::
    PixelGetColor, color, 390, 820
    if (color=0x000000) {
        Click 960, 940
    }
    return
Esc::
    WinClose, Metro Cop
    ExitApp
return