Experience bar

  • Hi guys, I'm trying to make an experiment bar

    That alemnte the limit to each e level

    example

    At level 1 it has to be 100 xp to win

    At level 2 it has to be 200 xp to win

    But when it does, the xp bar gets bigger at each level

    Has a way to make an xp bar like I want

  • You can use the progress bar object.

    Sprites

    or even a sprite font.

    And any combination of those as well.

    The main thing, is to work with percentages. %. You level up at 100% experience. This allows the progress bar to remain the same size and show the same information. You can then use a percentage to determine where the progress bar should show.

    I made a VERY ROUGH capx to give an idea of what im talking about.

    in a real project I would probably have two separate sprites where one is hidden beneath and stretches to fill this way I am in control of the visuals completely and retain the accuracy of the built in progress bar.

    https://dl.dropboxusercontent.com/u/583 ... ample.capx

  • I like the more you have to use scripts because they are kind of better

    Or if you can not change the sliter bar

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can use the progress bar object.

    Sprites

    or even a sprite font.

    And any combination of those as well.

    The main thing, is to work with percentages. %. You level up at 100% experience. This allows the progress bar to remain the same size and show the same information. You can then use a percentage to determine where the progress bar should show.

    I made a VERY ROUGH capx to give an idea of what im talking about.

    in a real project I would probably have two separate sprites where one is hidden beneath and stretches to fill this way I am in control of the visuals completely and retain the accuracy of the built in progress bar.

    https://dl.dropboxusercontent.com/u/583 ... ample.capx

  • Thank you. Thank you. Thank you.

    Dude, it was perfect, thank you.

  • Thank you. Thank you. Thank you.

    Dude, it was perfect, thank you.

    Glad that helped! Good luck with everything.

  • Tylermon Can you repost the example please. I think its needed

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