The Daily Click ::. Forums ::. Klik Coding Help ::. Definable Keys
 

Post Reply  Post Oekaki 
 

Posted By Message

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
6th June, 2006 at 16:41:56 -

How do i make it so that the user can set keys they want to use in the game. i am using mmf if that helps.

 
n/a

Werbad



Registered
  18/09/2002
Points
  235
6th June, 2006 at 16:55:00 -

Control X can check if a certain key (from a string or value) has been pressed, use that...

 
n/a

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
6th June, 2006 at 23:32:07 -

I've never used it, but I've heard some people have a problem with Control X. Another method is to create an object that exists to store flags, with flag 0 corresponding to moving left and flag 5 corresponding to hitting the fire button, for example. Then have all your events that would normally check keyboard states check whether those flags are set instead.
Then you have a group at the top of your events list, with the very first event being Always---[set all the used flags off]. Below that you can have all the events that set those flags, and have a mechanism for customisation as well.

That would be a -lot- more effort then just using the extension of course, but it does have some benefits.

 
n/a

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
6th June, 2006 at 23:38:38 -

Well, you could also just use Control X to redefine the built-in controls...

Or you could go a couple o' steps further and make completely customizable controls with joypad support...
*COUGH* http://www2.create-games.com/article.asp?id=1677 *COUGH*

Image Edited by the Author.

 
Go Moon!

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
7th June, 2006 at 00:38:04 -

am i just being stupid or something drastically wrong??

I downloaded control x, control interpreter and agco.

control x showed no choices in event editor, control interpreter didn't do what i needed and agco crashed mmf. what the hell is wrong??

EDIT: No i'm just being stupid.

btw: is there a way to get 3 fire buttons using control x???

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click