Difference between revisions of "Metro Cop"

From Sinden Lightgun
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 71: Line 71:
Click 1320, 680
Click 1320, 680
return
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::
RButton::
PixelGetColor, color, 390, 820
MouseGetPos, xposb, yposb ;MONITOR HAS TO BE SET TO 1920x1080 RESOLUTION!
if (color=0x000000) {
BlockInput, On
MouseMove, 960, 940
sleep, 100
Click 960, 940
Click 960, 940
}
BlockInput, Off
return
Return

Esc::
Esc::
WinClose, Metro Cop
Process,Close,Firefox.exe
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