Difference between revisions of "Metro Cop"
Jump to navigation
Jump to search
IntoShadows (talk | contribs) |
IntoShadows (talk | contribs) |
||
Line 72: | Line 72: | ||
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:: | ||
+ | PixelGetColor, color, 390, 820 | ||
+ | if (color=0x000000) { | ||
+ | Click 960, 940 | ||
+ | } | ||
+ | return | ||
Esc:: | Esc:: | ||
− | + | WinClose, Metro Cop | |
− | |||
ExitApp | ExitApp | ||
return | return |
Latest revision as of 19:18, 8 April 2024
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