XP - Level Up System

XP is meant to be a generic leveling up system for Defold. It’s useful for single use leveling such as a player profile, but it could be used for single units in an RPG too and was designed to handle multiple ids at once.

XP has ability to modify GUI elements for you. All you have to do is define their IDs and XP will update them.

XP can use experience points based formulas for figuring out how much experience a level requires to reach. It also supports look up tables of pre-made values - or even a mix of both depending on level ranges. Gamers have figured out the formulas of most RPG games so if there is a game you like you can learn from it to see how you can make a better formula for your game.

The example included works similar to how the game Overwatch handles leveling.

I’ll be updating and adding to XP over time.

There is an HTML5 demo on the project page.

8 Likes