User Tag List

Results 1 to 5 of 5

Thread: Leveling with xp-bar

  1. #1
    No Products Registered

    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Leveling with xp-bar

    Ok.. I need my brain switched. or maybe a little help from the community.

    I have a level-up system made with this formula:

    xpcounter>=Level( "Catlin" )*(750+(250*Level( "Catlin" )))

    So each time my character "Catlin" levels up she will need 250 additional xp next time to level.
    Now.. I would like to illustrate the level-progressing classically.
    I have an Xp-bar 500 pixels long. and an indicator I would like to move this distance according to the xpcounter.

    So I need a formula, or a work around, each time Xp is gained.

    I'm thinking something like this:
    set x position of Indicator to: (value("xpcounter")-(Level( "Catlin" )*(750+(250*Level( "Catlin" )))))*(500/(Level( "Catlin" )*(750+(250*Level( "Catlin" ))))

    Problem is, this will set the xp-bar negatively at first level.
    It's late in Denmark, and my brain is about to implode. Any advice on how to make a level-progress bar that works?

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Are you making this for an exporter? If it's just going to be an .exe on PC you can download the Interface Bar Object, it has features a counter doesn't have and works better for this sort of thing. It was never ported to any other runtimes though so if you want to use exporters you're out of luck.

    Someone really should port this object or make a new extension that works the same.

  3. #3
    No Products Registered

    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For an exporter.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Are you starting at level 0 or level 1? Most games don't start a player at level 0.

  5. #5
    No Products Registered

    Join Date
    Sep 2011
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    True, should start at level 1.

Similar Threads

  1. Experience/Leveling
    By Verbage in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 27th April 2013, 03:40 PM
  2. XP Bar / Leveling Up Example
    By Verbage in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th April 2012, 04:47 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
  •