Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Ahk guru required  (Read 993 times)

0 Members and 1 Guest are viewing this topic.

Connorsdad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 268
  • Last login:May 18, 2024, 04:28:42 pm
  • I want to build my own arcade controls!
Ahk guru required
« on: August 29, 2013, 02:24:09 pm »
Please see here http://www.hyperspin-fe.com/forum/showthread.php?t=25807

Sent from Amstrad CPC464

    

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Ahk guru required
« Reply #1 on: August 29, 2013, 03:57:05 pm »
I'm not familiar with the game, but it sounds like if you actually have to move the mouse pointer "around" the player character, that the game is making use of both the x and y axis to do that.

Not that it would be impossible with just a single axis, but that would take some pretty good math skills to do and even then I'm not sure because you'd need to know the current player position, since the x axis of a spinner could only be used to "move" the mouse circularly around that point.


BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9275
  • Last login:Today at 01:59:51 pm
  • ...
Re: Ahk guru required
« Reply #2 on: August 29, 2013, 04:13:21 pm »
I think the best plan would be to have mouse pointer move around the very edges of the screen.  I don't think the player position would matter so much then.

On the cell phone version I have, the frog can switch between two places.  It wouldn't be too hard to have ahk click on those screen locations when a button is pressed, but they would have to be in the same places for every level.

There are also some levels and boss battles where the frog stays at the bottom of the screen and only moves horizontally.
Having it track the edges of the screen still might work for this.  The frog will just stop moving as the pointer traces the left and right edges.

These variations in the levels makes it a lot more difficult.

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Ahk guru required
« Reply #3 on: August 29, 2013, 04:24:09 pm »
Good point. That might work, just rotating the mouse around the edges of the screen.