Hello,
im currently working on a 1v1 Multiplayer Game with Photon and Playfab - i'm at the stage where each player:
- starts with a amout of gold to buy enemies.
- can spawn enemies which try to attack the other player (spawning costs gold)
- when the other player kills the enemy - he earns gold to spawn more enemies.
But i don't know how to get it done for a multiplayer game.
In the start phase of the game i used "PlayerPrefs" - but i don't know if this is a secure way using it in a multiplayer game. So i started looking up information about virtual currency - but i think this isn't a good way either because both players kills alot of enemies which means alot of updates - how are "goldsystem" in mmorpg's working like WoW is it all done with PlayerPrefs or?
also if the game is done the winner get's something like "credits" to buy items from a shop - is it possible to make this done like "player 1 wins and credits are added with API / cloudscripts? Seems like a secure way aswell for me.
I hope my question was clear, thanks to all advance.
Unravel