Page 1 of 1

Presenting my latest GG series fix

Posted: Wed Oct 13, 2021 12:06 pm
by MarkShot
What does it do?

Well if you make one slight change for WITE-2; a simpler form of this supports multiple monitors running in window giving you the the same scrolling as full screen. No problem on the left and right with a second or third display.

And for the ultimate in "backward compatibility" you may have noticed WITW when you press SHIFT for deliberate or hasty attack, it only updates the icon, but not the CV as in WITE-2. Now, it behaves just like WITE-2.

You'll need to know AHK, or I offer this to Matrix as a beta since 2003 to include with the two games for better hardware compatibility and UI for the player community.

=====================================

Game01 = War in the West 1.

TimerInterval = 50

SetTitleMatchMode 1
CoordMode, Mouse, Screen

Pressed = 0
Sleep, 30000
;SysGet, MonCnt, MonitorCount
;If MonCnt==1
; ExitApp
SetTimer, ScriptDone, %TimerInterval%
SetTimer, WatchCursor, %TimerInterval%
return

ScriptDone:

IfWinNotExist,%Game01%,
ExitApp

Return

WatchCursor:

IfWinActive, %Game01%
{
SysGet, Screen, Monitor,
MouseGetPos, XPos, YPos
If (XPos > ScreenRight)
{
MouseMove, ScreenRight+5, %YPos%
}
If (XPos < ScreenLeft)
{
MouseMove, ScreenLeft-5, %YPos%
}
if GetKeyState("LShift")
{
If Pressed = 0
{
MouseMove, XPos+1, YPos+1
Pressed = 1
}
}
else
{
If Pressed = 1
{
MouseMove, XPos-1, YPos-1
Pressed = 0
}
}
}
return