Not sure if this is where to post this, but I am creating an 8-Bit RPG in Lua. I'm coding the whole thing from the beginning. Some of the things I have completed are as follows.
-Collision Detection
-Player, Mobs, Bosses
-Action Battles, Zelda Style
I'm having trouble with getting an extremely simple leveling system scripted in lua. I'm probably just over thinking it. I'm trying ro get it to make the main character to level when he hits x amount of exp and did so by checking if the current exp is greater than the exp needed to level, then add 1 to level, increase hp by 1.5 times, increase damage by 1, subtract the exp needed from the current exp, and multiply the exp needed by 1.5 times. I might be placing it in the wrong place or just doing it completely wrong altogether. Either way, any input is greatly appreciated.
-Collision Detection
-Player, Mobs, Bosses
-Action Battles, Zelda Style
I'm having trouble with getting an extremely simple leveling system scripted in lua. I'm probably just over thinking it. I'm trying ro get it to make the main character to level when he hits x amount of exp and did so by checking if the current exp is greater than the exp needed to level, then add 1 to level, increase hp by 1.5 times, increase damage by 1, subtract the exp needed from the current exp, and multiply the exp needed by 1.5 times. I might be placing it in the wrong place or just doing it completely wrong altogether. Either way, any input is greatly appreciated.