Is their any errors? Like did anyone get their level wrong? I fixed 1 the other day.
I am happy you are enjoying this. This is all based on research (a topic post on this website, click the word research in my first post) so i am not sure if anything is off.
People over level 1,000 cant see their level, so i made this. You could also plug in your level (if below 1,000) to see your total exp.
Some of the equations i used
E = level * 20,000.
E = 300 * level + 20,000.
E = level * 20,000 + 93,605,000
Going by this, somebody on my friends list who runs one of the top 3 clubs on the leaderboard is level 2302. I wonder what the highest level so far is?
Bug fix: The EXP section of the calculator would be 1 level off (too low). For example, level 2 would appear as level 1. Very small error that has been fixed, no worries.
I fixed this because their was a typo in my findLevel(expR) function that caused it to return your level -1. The new return statement looks like return lvl + 1; .
Take a look at jQuery. You can easily grab the users window size and scale accordingly (especially handy for people who are not always using a maximised window)
I could use Javascript or @media to scale it, but it would take a long time and i think just putting a preset would be the simplest solution. I have tried a lot of different methods but none of worked but this.
A simple function like this would change it to 80% of the screen width, just run the function on loading the page and give your main DIV the class=“mypagesection”
function changesize() {
var conv = 0.80;
var newsectionwidth = parseInt(conv * $(window).width());
$(".mypagesection").css(“min-width”, newsectionwidth + “px”);
}
obviously you can change the names of the variables