User Tag List

Results 1 to 8 of 8

Thread: Global Value Bug?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    544
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Global Value Bug?

    Hi I have a problem with global value in my game?

    1.First you write two names in frame 1 the click ok
    2. In frame two some one wins, select one...it jumps to frame 3
    3. In Frame 3 you get the one who wins and click back (jump to frame 1)

    If you repeat this many times, it will not show the right name in frame 3?????

    What is wrong in my app.?

    Can some tell me that?

    Thanks
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5

    Join Date
    Dec 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Warlords,

    In frame 1 under the start of the frame

    set global value A to 0 and
    set global value B to 0
    I did that and it seemed to solve your problem. I hope that helps

    In my asteroid type game I am having a similar problem with the global values
    I' am finding that occasionally the game jumps to the next frame before all the objects are destroyed it doesn't happen all the time.
    Is that the thing to use to count objects destroyed. I've also tried the counter object and that had the same problem.
    Now that I have created all the objects separately rather than using the same ones repeated it's a lot better but it still happens although rarely now.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    544
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks Mat75

    I did not know it, but there seem to be working .... in the example I send you.

    I tryed to do it in my game, and was testing it. It still add a wrong name sometimes?

    Do CT know this problem?

  4. #4
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,016
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    This is not a bug.

    You are not resetting Global Value A or Global Value B, so even if you switch, Global Value B still = 1 so in Frame 3, it will always display the second name.
    Want to learn Clickteam Fusion 2.5?




  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    warlords's Avatar
    Join Date
    Oct 2011
    Location
    Dk
    Posts
    544
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi Danny

    Thanks I didn't know you should do that, I learned someting today
    Also I have used Global value C and D in my game, that's why I though it would not work right, but it do now

  6. #6
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I recommend doing this:
    When player 1 wins, Set Global A to 1
    When player 2 wins, Set Global A to 2

    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleMac 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)
    NashMuhandes's Avatar
    Join Date
    Dec 2013
    Location
    Kuala Lumpur, Malaysia
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for the offtopic question but BartekB, what did you use to make that animated GIF? That looks like a very useful tool for capturing instructions without actually making a video.

  8. #8
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I used GifCam (The program) and GifTime (The Upload Website because the forum didn't allow me to nor dropbox). GifCam is actually pretty easy to use and it doesn't uses as that much size for a gif, as for GifTime you just upload and copy the image URL. :P
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

Similar Threads

  1. Using a Global Value within Global String?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th August 2013, 12:32 PM
  2. Global objects in global events
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th October 2010, 12:12 PM
  3. [BUG] Global Value and Global String the same name
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th January 2010, 09:11 PM
  4. 241_MMF2dev -Global strings refusing being global
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th July 2006, 07:00 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
  •