How do I fix this EXP system?

0 favourites
  • 8 posts
From the Asset Store
Create complex dialogues with ease with this tool/template!
  • imgur.com/sRcjM7k

    The image above is the script, starting from string 5, of the EXP system.

    Whenever the progress bar reaches the end, it doesn't reset, change the level and the EXP progress is not changed.

    How do I fix this?

  • Hmm i dont see why the leveling shouldent work but what about the progress bar?

    How does it know what its maximum is?

    Also the maximum isent static, it changes with every level cause the

    formula is 100*Level*2.

    Have you checkt the numbers for level and EXPprogress in the debuger?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hmm i dont see why the leveling shouldent work but what about the progress bar?

    How does it know what its maximum is?

    Also the maximum isent static, it changes with every level cause the

    formula is 100*Level*2.

    Have you checkt the numbers for level and EXPprogress in the debuger?

    In the debugger, the EXPProgress variable reaches over 100*Level*2 and (currently 100) and doesn't stop. The level isn't increased.

    For the progress bar, I don't know how to increase it's maximum with each level using the same method as the EXPProgress (100*Level*2) as it does not let me type in the progress bar properties.

  • ProgressBar->Set maximum = 100*Level*2

  • ProgressBar->Set maximum = 100*Level*2

    Where do I access the "ProgressBar" from? I tried the projects and objects list and right clicking them both doesn't bring up the option to set maximum.

  • Just add the Action.

    Posting your CAPX would be easier.

  • Just add the Action.

    Posting your CAPX would be easier.

    You sir, just resolved the whole problem

    The maximum of the progress bar was stopping the script from working.

    Thank you.

  • 90% of gamebreaking bugs are small things like a simple line of code.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)