User Tag List

Results 1 to 3 of 3

Thread: Little easy help about a mfa example

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Little easy help about a mfa example

    Hello again my friends,

    I want to use a engine example that I found on Nivram website examples (thank you marvin), this engine will be on my next iOS/Android game.

    The little problem is: on 8║ condition, the first event is to double click on item, I've tried to switch to just a single click like the 4║ condition (because it will be a touch), but when I do it, this "crash" the entire engine system.

    I just want that the user can single touch on both events, to add the blocks and to remove those blocks too.

    Can you see this for me? I attached the MFA file on this thread, you can see the engine working well on open it, try to change the 8║ condition to single click and everything will not work anymore.

    Best regards and thank you very much!
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nobody? =/

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,142
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hey dude,

    What's happening is that your 'User clicks on item' events are both triggering in the same loop, so they click on it once and it goes up, but in the same loop it sees that they're now up the top so it sends them back down again, because in that event you're still clicking on it, if this makes sense?

    Here's a fixed version for you, I used flags - When you click the item it sets it's flag on, then in the two 'on click' events it instead checks if the flag is on, and then switches it off if it already is. This prevents MMF from reading the click twice in the same loop.

    I hope this made sense
    Attached files Attached files

Similar Threads

  1. A few EASY questions. Please & Thank You
    By Jacob_Miller in forum SWF/Flash Export Module Version 2.0
    Replies: 25
    Last Post: 12th July 2010, 04:28 PM
  2. Easy Grid: need help.
    By legocacher in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th April 2010, 03:40 PM
  3. An easy way to pause?
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 26th March 2010, 11:15 PM
  4. Another Easy Question
    By kaiser37 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 3rd September 2007, 10:37 PM
  5. This must be easy
    By Shmoo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th January 2007, 06:01 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
  •