User Tag List

Results 1 to 6 of 6

Thread: Setting controls

  1. #1
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Setting controls

    Hi, I was wondering how you would go about letting the player set their own controls. Would you save the key the chose in a text box and then say that, for jump for example, if they press the key in teh text box it jumps?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setting controls

    You can do this using the Control-X object - it has conditions that allow you to check for a key by name or value, and if you point it towards a set of global values (or strings in textboxes, like you suggested) then you can change controls by changing those values.

    I might do up an example of this - it's a handy trick.

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setting controls

    If you do, try and include joypad controls.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setting controls

    What I've done in my current game is have a "translation" group at the top that takes input from the joypad and simulates keypresses (but this really needs more workarounds than it's worth sometimes).

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setting controls

    I would really appreciate it if you made a tutorial on this.

    Thanks!

  6. #6
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setting controls

    I would really appreciate it if you made a tutorial on this.

    Thanks!

Similar Threads

  1. PC vs IOS controls
    By GameMaker2019 in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 4th March 2013, 02:01 PM
  2. Setting up alternative input controls
    By ionside in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th October 2010, 08:06 AM
  3. Configure controls (custom controls)
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 8th June 2010, 11:47 AM
  4. setting values of activex controls
    By Chokito in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 31st August 2008, 12:06 AM
  5. Controls
    By Stephen38 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th December 2006, 03:25 PM

Posting Permissions

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