User Tag List

Results 1 to 6 of 6

Thread: Global Counter Help!

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Global Counter Help!

    Please Help! I got this to work once a while back but i guess i must have forgot to save. So I have global counters representing my health, ammo, etc... and i have a purple active object at the end of frame 1. when you collide with the purple active object MMF2 saves the frame position to bin(1) and after frame position is saved you are taken to the next frame. Because all my counters are global, when you are on frame 2 you keep all your guns, health, ammo etc... The global counters work fine! There is the same purple active on frame 2, and it does the exact same thing when you touch it. Save frame position and then jump back to frame 1.

    But when you return to frame 1, all the enemies you killed are still dead, but the counters are how they were when you saved the frame the first time. Aren't they supposed to be what they were when you saved them the second time? What am i doing wrong?

    Please respond asap and if someone can get back to me by monday I will promise them a free copy of my game!

    Thanks to all who read and double thanks to all who answer!

  2. #2
    Clicker Fusion 2.5 Developer
    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)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi Kolar_Games!

    You don't need to promise free copies of your game for help. CT community is very helpful so just feel free to ask!

    But that sounds odd. It sounds like you are altering the global counter values somewhere in the start of the frame.

    Double-check your counters are actually global, try to rename them and do some value checking.
    Try to check your event editor's counter events, see if you are altering them. Are you for example loading values to those counters somewhere? INI file etc?

    - Jesse

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was just about to quit trying when I was visited by the spirit of global events. The spirit of global events showed me the way and taught me to make all my local level swappin' conditions in the global events! I did this and I don't know why, but it worked! Thank you J3ssem! You have helped me more than you will ever know!

  4. #4
    Clicker Fusion 2.5 Developer
    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)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Glad it sorted out!

  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol. Nevermind. I guess it didnt sort out at all. Gurrrr. I am so frusterated. Can I send you not my actual game but the game i practice coding on? I would love if you could look at it and see why nothing is working. Ughhhh... Been coding for 4 days and i think it might be an mmf2 problem.

  6. #6
    Clicker Fusion 2.5 Developer
    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)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sure, I can take a look if I can find the problem.

Similar Threads

  1. Counter Value/Global Value into a Filename?
    By antipode in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 8th February 2012, 09:47 PM
  2. State of global counter not updated in subapp
    By RayMarble in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 22nd March 2010, 02:33 PM
  3. [Request] Replace Counter by Global Value
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th February 2008, 05:22 PM
  4. Global counter
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 27th September 2007, 07:18 PM
  5. global value equal to counter
    By rhoymand in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd November 2006, 08:20 PM

Tags for this Thread

Posting Permissions

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