Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Leveling System ~ Calculate or code everything out? (GM7)  (Read 837 times)

0 Members and 1 Guest are viewing this topic.
Leveling System ~ Calculate or code everything o...
« on: December 09, 2008, 11:57:55 pm »
  • *
  • Reputation: +12/-2
  • Offline Offline
  • Gender: Male
  • Posts: 4849
  I have been trying to think if there was a calculation that I could do in GM that would increase the xp needed for a level up on a reasonable scale.
  I know that I could code it ALL out ( 99 times >.< ).  But there has to be a better way. 

Hmm.
Basic non-code concept
Maybe start of with:
30 XP needed for first level
When player levels up(reaches 30 or more), take the XP needed(30) multiply it by 1.1 then lastly add it to the original amount of XP needed.  So now you would need 63(rounding down/up as needed).

After so many levels, say every five levels, increase the mutiple by 0.1.
If the player ever gets to 90 levels, they would be at around ( [Last XP needed * 2.8] + Last XP Needed).

Too complicated?
Logged
  • Super Fan Gamers!
Re: Leveling System ~ Calculate or code everythi...
« Reply #1 on: December 10, 2008, 12:00:02 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Female
  • Posts: 2374
Find out the final result of level 99 and judge if that's possible.
Logged

Jeod

Team Dekunutz, Doubleteam
Re: Leveling System ~ Calculate or code everythi...
« Reply #2 on: December 10, 2008, 12:02:29 am »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1675
It looks simple. Let's see...let W be the current XP needed, and let X be the multiple. Y will be the product of the last equation done. Z will be the new amount needed.

WX+Y=Z
Logged
"You should challenge your fates. When all else fails, you can still die fighting." ~Yune
___________________________________

Zelda GBC+ Engine for Multimedia Fusion 2
  • Doubleteam Project Page

Xiphirx

wat
Re: Leveling System ~ Calculate or code everythi...
« Reply #3 on: December 10, 2008, 04:23:57 am »
  • Xiphirx
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3007
F = floor((current EXP) + ((current LVL)*50))

Of course, you do not have to use 50.

So let's say:

Lvl 1 needs 50 EXP to level up
Lvl 2 needs 150 EXP to level up
Lvl 3 needs 300 EXP to level up
Lvl 4 needs 500 EXP to level up

(I did those calculations in my head lol, might be wrong XD)
Logged
  • For The Swarm
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.104 seconds with 45 queries.

anything