In my game I have Xp and Levels in the private variables of a character. What I want to know is how I can make it so that for every level The player gets up it takes 1.25 times more Xp to get to the next level
Develop games in your browser. Powerful, performant & highly capable.
You can make a new variable called "next level" and each time your player's exp is greater or equal to it, set the exp to 0 and "next level" to itself * 1.25 or something.