User Tag List

Results 1 to 2 of 2

Thread: XP Bar / Leveling Up Example

  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)

    XP Bar / Leveling Up Example

    Does anyone have a good XP Bar/ Leveling Up example? I have one that works in my iOS app, but it seems to be a bit unstable.

    What mine does: XP Bar = Horizontal Counter; XP = global value
    1. Growth of the XP bar
    +XP Bar < XP
    -Add 1 to XP Bar

    2. Skipping Growth
    +Continue Button is pressed
    -Set XP Bar to XP

    3. Skipping + Level Up
    +Continue Button is pressed
    +XP > MaxValue XP Bar
    -Add 1 to Level (global value)
    -Set XP to (XP-MaxValue XP Bar)

    This works most of the time, but seems highly unreliable especially when skipping the level up action.

    Does anyone have something similar to this that can detect when it's done, and can reliably auto-calculate leveling up and how much after the max value of a current level is reached goes into the next level?

    For example:
    XP to next level: 100
    Player earns: 120
    Therefore the next level gets 20/(xp to the next level) and a level up?

    Thanks

  2. #2
    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)
    Fixed my problem after writing this -_-

    Can a moderator delete it please? :P

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. Leveling with xp-bar
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th September 2012, 08:44 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
  •