Levelling

For questions about using Classic.

Post » Sat Mar 19, 2011 1:20 pm

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
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

Post » Sat Mar 19, 2011 1:39 pm

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.
Image
B
240
S
28
G
13
Posts: 1,787
Reputation: 18,535


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest