Most Optimal Method for Unlockable Abilities?

Dylanrockin
Wed, 09 May 2018 07:50:41 +0000
Debugging, Optimization, & Profiling

There is a system in my game, where as you progress through the game as well as by gaining levels, certain abilities will unlock. However, I am having a hard time deciding if I should go about doing this with an array of booleans or if I should make individual booleans for each character and turn them on/off. However, I am not sure which is the most optimal or the most preferable. Or maybe there is an even better method, that I am not aware of. Was hoping to hear some feedback as to how some would approach this method.

7 posts - 1 participant