Press the space key to gain xp. I haven't added staggered (is that the expression?) xp needed to gain a level but I have added staggered stat increases (for each level, you get more and more than the last time)
I just got the idea when making my basic RPG