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
22
S
5
G
1
Posts: 430
Reputation: 3,383

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
225
S
27
G
13
Posts: 1,774
Reputation: 18,024


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests