User Tag List

Results 1 to 5 of 5

Thread: Limit conditions when object is clicked

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    462
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Limit conditions when object is clicked

    Hi

    Im making an educational game. As you can see from my print screen I have at the bottom random letters, (group.good. sprite). Then I get a picture and boxes for the letters. On my screen I have a cap and two boxes thats just for testing. Cap in Icelandic is hfa. Im stuck here . If I have a word like "k j l l" I want only one of the l to appear at one click. So I click k then j, and then I should need two clicks for the ls BUT they appear at the same time. Hope you understand my English. I have tried to "Only one action when event loops " and "Run this event once"

    If you try my mfa you press "Byrja" and then select "FT" other selections do not work.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    462
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Some explaination:

    Global value A = 0 then the first box is empty - I then change the value to 1. Global value B is 0 then and Global value A is 1 then I put a letter in the second box and so on. My mfa was too big I did not upload so the last sentence in my riginal post is invalid. Somehow I can not edit that.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    462
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    My mfa file at last

    Here is my mfa file see my post

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    284
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    I can't figure out what you're doing - but I noticed a few things:

    When a line is red - it means it wants to be the first line in the group - so lines 353 - 367 you need to change the order so that the click command is first - it will then turn green. (Drag the line - user clicks - to the top.)

    You are creating all your objects at start - it's a setting under "Properties - Runtime Options". Then you're creating them again when the user clicks on it. So you now have 2 objects every time the user clicks instead of 1.

    When you create an object - you need to check the event list editor - your code for making it appear is above where you create the object - for example line 367 - make active 3 appear - is above create active 3. At this point Fusion hasn't created active 3 yet so it will go look for another copy of active 3 to make that appear (which it will find, because you told it to create it at start, so there is another copy.) You would have to drag those lines in the event list editor so that they're in the right order - that the create event is first.

    You can rename your actives, values and alterable values so that they make sense when you look at them. (or at least if you rename them in Icelandic - so that they make sense to you.) When you have a descriptive name it's easier to work out what's going on.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    462
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your help. I did not know about the red color thanks for that. I know its not commented thats my fault. Im having this post deleted.

    Thanks anyway.

Similar Threads

  1. Help setting position of an object when clicked
    By bordersguy in forum Fusion 2.5
    Replies: 2
    Last Post: 4th August 2014, 12:24 AM
  2. Moving an object when clicked
    By stillhawk in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th July 2007, 06:44 AM
  3. Sample file for moving object when clicked
    By stillhawk in forum File Archive
    Replies: 2
    Last Post: 7th July 2007, 04:37 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
  •