Formula for this sequence of numbers
3absh
Member Posts: 601
75, 175, 300, 425, 575
basically
75+ 100, 125, 150, 175 and so on
how can i write this in a formula?
Comments
using "n" as a variable that increases every level up
My failed attempt
If you think of that list of numbers as multiples of 25, it can also be written as:
3 * 25, 4 * 25, 5 * 25, 6 * 25, 7 * 25, etc.
And each level corresponds to a multiple two greater than the level (e.g. Level 1 = 3 * 25, Level 2 = 4 * 25, etc.).
So this should work:
Change attribute game.score to game.score+(game.gameLVL+2) * 25
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User