A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Making a game, can I have customizable keys?

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    20

    Making a game, can I have customizable keys?

    How can I make it so that players of my game can customize the keys to their liking? Anyone have any experience with this?

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    You'll need to store the keycodes in variables. Rather than checking against constants like 13, check against those variables.

  3. #3
    Junior Member
    Join Date
    Oct 2011
    Posts
    20
    Alright, makes sense. But when the player is setting up the keys, how would I transfer the keycode of the key they have chosen to the varible?

  4. #4
    Junior Member
    Join Date
    Oct 2011
    Posts
    20
    I've got it. Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center