The Daily Click ::. Forums ::. Klik Coding Help ::. Custom keys
 

Post Reply  Post Oekaki 
 

Posted By Message

Hplkopra



Registered
  30/08/2002
Points
  65
12th December, 2003 at 11:07:25 -

How do I make an game with custom keys? Like you can change the keys you play with during the game. Thank you!

 
Try to solve the mystery of this signature.

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
12th December, 2003 at 11:19:35 -

controlX extension, or get the user to hit Ctrl + Y to bring up the controls dialogue.

 
www.thenatflap.co.uk

Hplkopra



Registered
  30/08/2002
Points
  65
12th December, 2003 at 12:08:13 -

Is there an other way? I have Click 'n' Create.

 
Try to solve the mystery of this signature.

cake



Registered
  13/12/2002
Points
  1173
13th December, 2003 at 03:07:08 -

Make sure your control conditions are from the player object, not the keyboard object, ie:

Instead of:
User pressed key "d"

It should be:
Player 1 pressed fire button 1

Then you can change the controls ingame by pressing control+y

 
n/a

Hplkopra



Registered
  30/08/2002
Points
  65
13th December, 2003 at 12:18:47 -

Ok. I shall upgrade to MMF. :/

 
Try to solve the mystery of this signature.

Hplkopra



Registered
  30/08/2002
Points
  65
13th December, 2003 at 13:51:44 -

But now when I change the event "upon pressing A" to "Upon player 2 moves left", I play it, I check the controls, you can't check the control for player 2. Why?

 
Try to solve the mystery of this signature.

cake



Registered
  13/12/2002
Points
  1173
13th December, 2003 at 18:54:39 -

Hm, in the movement property of the object you want player two to control, make sure that the player for it is set to player 2, not player 1. Once an object exists that a player can control, CNC will activate all the things for that player, including their control properties.
Basically you know the game doesn't recognise player 2 when you got into the controls window in-game and the cross for player 2 is disabled.

 
n/a

wp



Registered
  22/11/2003
Points
  34
14th December, 2003 at 18:02:45 -

Is there a version of controlx that works with MMF 1.2? I can't seem to get it to load the controlx object for MMF 1.2. Also, is there a tutorial for custom keys with controlx?

Thanks

 
n/a
   

Post Reply



 



Advertisement

Worth A Click