To earn mana, gems, and energy in the game, you need to complete the mission. Moreover, you can also download the mod version of this game which offers you everything in unlimited quantities.