User Tag List

Results 1 to 4 of 4

Thread: Smooth Counters

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Verbage's Avatar
    Join Date
    Dec 2010
    Location
    Lakewood, CO, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smooth Counters

    Hello Clickteam forums.

    On my current iPhone app I'm working on, there's an XP system. However, every time I add a value to the counter, it jumps instantly to that value.

    I have tried to conjure up some fast loop, makeshift and other methods of getting it to simply get the counter to smoothly add.

    Has anyone had this problem, and more importantly a fix?

    Thanks in advance.

    -Verbage

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Do you mean if you add 10 to your counter it shows as the new value instantly (either number or bar) but you want it to count up gradually?

    If so, store your XP in an alterable value, or global value or a hidden counter. This will be the real XP value. Then just add an event similar to the following:

    -- If counter value < Real value ... then add 1 to Counter Value.

    The above will increment your visible counter until it reaches to the real hidden value.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Verbage's Avatar
    Join Date
    Dec 2010
    Location
    Lakewood, CO, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AWESOME. Thank you. Will try it right now.

    EDIT: It works! Thank you so much.

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    May 2011
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alternatively you can use 'smooth animation' on the "Interface Bar Object" extension which automatically creates such an effect.

Similar Threads

  1. Getting Smooth Rotation
    By drnebula in forum File Archive
    Replies: 0
    Last Post: 27th March 2010, 12:22 AM
  2. Movement not smooth, please take a look
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 5th August 2008, 09:03 PM
  3. Steady and smooth anywhere?
    By Olivier in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th July 2008, 10:29 PM
  4. Steady and smooth anywhere?
    By Olivier in forum File Archive
    Replies: 4
    Last Post: 10th July 2008, 09:21 PM
  5. Smooth Rotations
    By stAtrill in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 5th February 2007, 01:22 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
  •