I need some math to spread my values apart

I need some math to spread my values apart

FacadeGaikan's picture

Have you ever played Banjo-Kazooie, Super Mario 64, or similar games? Notice how the amounts of notes/jiggies/stars needed keep increasing across worlds? Good. I need a formulae that allows me to input the total number of world-opening pickups, worlds, and allows the first world to start at one or two. It should spread the amount needed for each world, increasing in a semi-linear fashion. I know I could use something similar to how Pokemon Exp. is caclulated and add from all the levels, but I'd have to try several different formulas. If ther is a better way, I'd like to hear it. This formulae will be either enterd into python or GDScript.