I'm looking for tips to implement an Experience System that will influence Stats.
I found this useful tutorial from Tobye
https://www.scirra.com/tutorials/720/st ... nce-system
but I was not able to link it with what I wanted to do.
I don't know if I have to use an Array or not. (Actually, I never used an array before)
I would like to create a Table that allows me to define for Each level, the new stats and the XP requested (non-linear) to level up.
When the player levels up, he gets his new stats updated (health, strength, mana... XP to Next Level)
That will let you load it from an XML, so you can edit it and reimport it as needed. Let me know if you have any queries about it.
https://dl.dropboxusercontent.com/u/108 ... Array.capx
Thank you a lot Emoaeden.
It is exactly what I was looking for.
For XP and Level Up, should I use the same technique or should I use Tobye's Tutorial approach? Then each time the Player levels up, I link the global value "level" to the XML?
Check the CAPX again, I've just updated it so it does what you need. Ideally I'd do it this way, as you can always edit the XML as opposed to writing copious amounts of code. And as you can see, this does it in 5 lines
Develop games in your browser. Powerful, performant & highly capable.
woaouuu. Thanks again Emoaeden.