Pages

Sunday, 6 July 2014

Play Subway Surfers on PC-Keyboard Controls!!

Now, assuming you have been socially active and not living in a cave for the past couple of months, you have probably heard of a game called Subway Surfers. It's available on Android and iOS platforms. And it's addictive and best of all, it's free.
I have played a lot of PC games over the years but this perhaps the first time that I have found a game originally developed for mobiles, to be so strangely addictive. Strange because I am more of a NFS, Crysis kind of guy and the graphics of this game are like mid-90s cartoons albeit, with Full HD. 

I played this on a friend's phone(my phone doesn't support this) and I was hooked. I wanted it on my PC but later I discovered that it's not released for PC at all. So I loaded up the Subway Surfers .apk file on an Android emulator and finally got to play it. But I could only play it using a mouse and so I couldn't get good scores. 

One day, I got to know of this program called AutoHotKey, which allowed me to bind keys and combinations from the keyboard and mouse to keys that I liked.  Like, for example I could bind the VolumeUp function to Ctrl+Up key if I so desired. Finally, I found a way to port the mouse gestures for Subway Surfers control to specific keys. And here's how you can do it too:

For Keyboard Controls:

  1. Download AutoHotKey and install it.
  2. Open a text editor. (e.g. - Notepad )
  3. Paste the following code: 
Up::
{ Click down
MouseMove, 0, -300, 3, R
Click up
MouseMove, 0, 300, 0, R
}
return
Down::
{ Click down
MouseMove, 0, 300, 3, R
Click up
MouseMove, 0, -300, 0, R
}
return
Right::
{ Click down
MouseMove, 300, 0, 3, R
Click up
MouseMove, -300, 0, 0, R
}
return
Left::
{ Click down
MouseMove, -300, 0, 3, R
Click up
MouseMove, 300, 0, 0, R
}
return
  1. Save the file as an .ahk file. Use All types "." (E,g,: "Subway Surfers code.ahk")
  2. Run this file before you play the game.
  3. To end the AutoHotKey script after playing the game - Look at the system tray (near the clock and   date). There should be a big "H" icon. Right click on it and click "Exit".
Go ahead and enjoy the game.
P.S.: Playing on keyboard gives better scores than a touchscreen.

No comments: