How to use a gamepad in AM-created games

This forum is meant for people to share their knowledge by writing their own tutorials for Adventure Maker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

How to use a gamepad in AM-created games

Postby Lyberodoggy » Tue Oct 27, 2009 5:03 pm

I found this program, which simulates mouse clicks and movement and keyboard actions using a gamepad: http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm

It's very easy to use and adjust. I 'd recommend adding it to your projects' external folder along with a config file with the settings for each button you can generate with the program itself. Ask the player if they want to use a controller, then use the OpenFile command to run the program. Used in conjuction with ShadowHunter's KG plugin it can give you the ability to control everything with your pad.
User avatar
Lyberodoggy
Administrator
 
Posts: 2519
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby reneuend » Tue Oct 27, 2009 8:51 pm

Very nice find! :)
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2731
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby Lyberodoggy » Tue Oct 27, 2009 11:05 pm

I hope the rest of the devs will use it. I definitely will in a future project...
(basically I found it while looking for a way to control my computer using my wireless controller, but since I always wanted to make a plugin to support gamepads, I thought it would be nice to tell you guys about it)
User avatar
Lyberodoggy
Administrator
 
Posts: 2519
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby chickens1127 » Wed Oct 28, 2009 5:37 pm

Looks cool...

will have to read..
Hi... It's Chickens1127...
CHINCHILLAS ROCK!

RIP Crazygamemaker
User avatar
chickens1127
AM Magazine Moderator
 
Posts: 898
Joined: Thu Nov 22, 2007 12:49 am
Location: Awsomeville, USA

Postby Candle » Wed Oct 28, 2009 6:09 pm

Good find Lyberodoggy.
I had started on one but never got far into it.
Be surprise what you can do with autoit.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3061
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby Lyberodoggy » Thu Oct 29, 2009 2:11 pm

Actually if you try to create a controller simulator from scratch you are gonna need to work with DirectX6 and stuff like that...
User avatar
Lyberodoggy
Administrator
 
Posts: 2519
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens


Return to Post Your Own Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron