The Daily Click ::. Forums ::. Klik Coding Help ::. A little help with keys and so.
 

Post Reply  Post Oekaki 
 

Posted By Message

Sagal



Registered
  17/10/2007
Points
  36
11th June, 2008 at 17:15:07 -

Is it possible to make configure keys style thing?
Example:
Whack: *You would choose what button does it*


 
n/a

aphant



Registered
  18/05/2008
Points
  1242
11th June, 2008 at 20:16:51 -

You sort of can. From the quick test code I whipped up:

* Upon pressing "Enter"
+ Player 1: Set key 1 to "down arrow"

You're limited to pre-configured key settings. Control X would allow you to create customizable settings:

* Upon pressing "Enter"
+ Control X: Set down for player 1 to LastKeyPressed$("Control X")

You can change the conditions, of course, as well as expand upon the action.

 

Sagal



Registered
  17/10/2007
Points
  36
12th June, 2008 at 02:29:55 -

Okay il try that control X

 
n/a

Sagal



Registered
  17/10/2007
Points
  36
12th June, 2008 at 02:36:57 -

Okay i got down,left,right,up and jump but what about controls? Where i get condition : Pl1 pressed fire etc.

 
n/a

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
12th June, 2008 at 02:47:31 -

You can use Key Object ( http://ext.neatwares.ath.cx/ext/Key_Object ) to get and set the keys and the Player Objects (1-4, built in to the frame) to see if they were pressed and such.

 
Service Unavailable
   

Post Reply



 



Advertisement

Worth A Click