Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7435729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:07:26+00:00 2026-05-29T10:07:26+00:00

I am developing a Game and I didn’t want an array full of levels

  • 0

I am developing a Game and I didn’t want an array full of levels that would most likely increase page load when iterating through them to find the users Level. I needed an algorithm to work this out independently with only the User’s experience to hand. This is because I want the max Level to be around 1,000, and an array that long would take some time to go through.

I have, with some help, come up with the following algorithm for the difference between each level:

difference = difference + (difference / 7)

And it works well on the lower-levels, but this graph is the Levels 1-141, and as you can see, it’s extremely easy up until about half way, then it shoots up and carries on shooting up, until it gets to the point 1,500,000,000 Experience is Level ~250, which isn’t good enough.

The Graph for Levels 1-141

So, my question is, what do you think is a better way to do the difference between each level? Any advice is welcome, I will test all algorithms.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:07:27+00:00Added an answer on May 29, 2026 at 10:07 am

    First off, there’s the linear system.

    Level = Experience / 1000
    

    Every 1,000 experience equates to one level. To make leveling slow down, you decrease the rate at which experience is acquired. This has the added bonus of making super-easy activities count as zero experience later, so you can’t become epic by slaying rats.

    Then there are decreasing-returns curves of various sorts. For example:

    Level = (Experience/1000)^(1/scale)
    

    With a scale of 2 (sqrt curve), for level 1, you need 1,000 experience. For two, you need four thousand. For three, nine thousand. Each level gets harder and harder. If you make the scale smaller, the rate at which the difficulty ramps up decreases (the slope gets less steep).

    I suggest building the function itself, rather than building the first derivative (as you seem to have tried to do). That’ll give you a better idea about the graph before you integrate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing game editor in C# that uses c++ lib files. I want
I'm developing a game for windows for learning purposes (I'm learning DirectX). I would
I'm developing chess game for Android ( androidchess.appspot.com ). If I want to add
I am developing a game with dozens of levels and each level has a
I'm developing a game in XNA. It would be nice for it to be
I am developing visual game level editor in C++. For this I want reflection(RTTI)
I'm developing a game. I want to have game entities each have their own
Im developing a game for Android using AndEngine. As of now, I want to
I am developing a game that uses a different controller for each level. It
So I am developing a game and I want it to have background sound

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.