User Tag List

Results 1 to 3 of 3

Thread: Help with level up meter

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question Help with level up meter

    I have got stuck on a problem I just can't get around. What I want to do is have a "Level up meter" that fills up if the player have points over. So for example the max value of the level up counter at level 1 is 250, then it becomes 500 at level 2, 1000 at level 3 and so on. So the points the player have scored will go toward the level up meter filling up again, but roughly at the same speed, even if the max value is bigger.

    I am using a 1 pixel line in length to represent the level meter so what I am actually doing is increasing the X scale. Could someone help with how I can achieve this? It is basically the thing happening in this video: http://www.youtube.com/watch?v=ZjCyc...tailpage#t=494
    The level meter is filling up at roughly the same speed.

    I have attached an example I began working on, but it is obviously not working right :/
    Attached files Attached files

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So you're saying you double the max value every level, and when you overflow past a level you want the bar to continue to rise at the same proportional speed even though it should appear to be going up half as fast the next time around? If so, just double the left over points when you level up.

    LeftoverPoints = NewPoints - ((TotalPoints + NewPoints) % Max)
    LeftoverPoints = LeftoverPoints * 2

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Hmm Jacob I am not sure I follow :/ Is it possible to adjust my example file with this method?

Similar Threads

  1. Audio Meter
    By FinalSpecimen in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 23rd April 2013, 11:53 PM
  2. Distance Meter
    By videogiochi in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 6th July 2010, 09:02 AM
  3. Custom Life meter?
    By JaJitsu in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 14th May 2009, 10:47 PM
  4. Metroid Energy Meter Example
    By Strider in forum File Archive
    Replies: 4
    Last Post: 24th October 2007, 07:57 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
  •