Page 1 of 1

WASD to Mouse Movement in Android Emulator

Posted: 01 Dec 2020, 07:41
by vinistark
I understand that many emulators currently have this option, but in this case I can only use WASD movement and would like to use my mouse to walk, can someone help me with some script so that when I move my mouse a little to the right D is pressed, down, S is pressed, up, W is pressed, to the left, A is pressed.

That the key is always kept until I move the mouse to another direction regardless of the distance, for example, if I drag a lot to the right, after dragging a little to the left A is pressed regardless of the position of the mouse on the screen.

Example of how I wanted it to be: https://imgur.com/a/5ylXtMA

Re: WASD to Mouse Movement in Android Emulator

Posted: 01 Dec 2020, 09:34
by ozz
Lets try this again.
Well if I had to do it I would identify a completely unique pixel using "auto color aid" from villavu.com/ that was roughly in the center of my character so I could easily position my mouse to the rough center line and do some math to detect in which positional area my mouse is in when clicked and execute the corresponding movement key.

I doubt you would find a full on tutorial for what you are asking for. There are a few really old tutorials on how to use auto color aid but use of the program still applies you just wont be doing half of the stuff to create functions for simba like on the tutorial.

This is direct link to ACA v2 villavu.com/forum/showthread.php?t=26944

The ACA tutorial: youtu.be/98wVrr6GwyU?t=65

Image search is a little tricky to get functioning correctly and is often times finicky so I try to avoid it unless I am working in a very small area like 250x250.

Re: WASD to Mouse Movement in Android Emulator

Posted: 01 Dec 2020, 10:20
by vinistark
I tried to create an account to download the file but I don't have permission, do you have any other download links?