User Tag List

Results 1 to 2 of 2

Thread: Control X question...

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Control X question...

    I have finished making a Key Config screen by using Global Strings to store the various keyboard keys and I am saving them out to an ini++ file. My code for each line of my config screen is as follows:

    (Control:Key (Global String "SHOT") is pressed
    +"Press Any Key" AO is invisible
    -->Play sample
    -->"Press Any Key" AO reappear

    (Control: Any key is down
    +"Press Any Key" AO is visible
    -->Set (Global String "SHOT") to LastKeyPressed$ (Control
    -->Make "Press Any Key" AO invisible

    Since I initiate the ability to change the key using the SHOT key, I am running into a problem. When I press SHOT (default is the Z key)to change any key (UP, DOWN, LEFT, RIGHT, SHIELD, etc...) it works perfectly. But when I try to change the SHOT key, my code doesn't work. Well, I hear the sound sample in my code play, but the message "Press Any Key" doesn't appear. If I delete the second line of code up there, the "Press Any Key" appears.

    I think this might have to do with trying to change a Global String which is being polled by the previous line of code. Can anyone think of a reason this would be happening and a possible solution?

    Thanks in advance,

    Mobichan

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Control X question...

    Thanks Snail! Adding a flag to just that particular set of events (involving the SHOT key) solved the problem. Now I can release my game with key config.

    Mobichan

Similar Threads

  1. Question regarding the Tab Control object...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st February 2011, 07:26 PM
  2. Question regarding the DataGrid control...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th September 2010, 05:37 PM
  3. Control X question
    By Nifflas in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 11th November 2009, 03:39 PM
  4. control question
    By Nintendo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd September 2007, 05:09 PM
  5. Control X Object - Question
    By Itokazu in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd December 2006, 09:57 AM

Posting Permissions

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