Hello everyone,
first thanx for Your great Tools and great support :-)
Last game I've only used Your leaderboards, so everything else is quite new to me and in the past I've developed board- and cardgames expect me to be a bad coder :-).
Id: 36FDD Language: JavaScript
Background === if(inHurry){skip}
/*
I'm develooping a game idle game, in which you've got a farm and grow food and breed animals.
For better understanding think of racing horses. Grow better food and your horses get faster. Compete in races to gather points. Reproduce with other fast horses to get even faster children...
There's although a quite complex economy involved. I've got 5 nation with 5 ingame currency to make trading and expansion more of a challenge. Everthing works well untill I installed PlayFab :-)
*/
My code works if I allow cient side adding and subtracting currency, but the more I get used to your system, so less I will.
/*
I've got different prizes for items, depending on how smart our horse is. So I've Adapt my code so you purchase for a minimum prize plus buy some extra selfconsuming item if Your horse is dump. So I include Your system I got a new problem ...
*/
I'll grant a new player 50.000 Coins by PlayFab. But if the player wants to start in the desert he needs 50.000 Peppercoins and if it's the Icepol he needs 50.000 IceCoins...
So i grant the Player 50.000 GlobalCoins and allow him client side to change to actuell currency. I've looked around quite a lot but didn't find out how to do this :-(
Unimportend Question:
/*
I've desiged the game for easy storage and light data use... My Farms consist of an array of about a 1.000 integer including:
- Landscape (You can dig, tunnel, fertilizeand so on
- Plants ( knowing wich bee visited the flowers (breeding)
- Farmhouse (no Idle Game without construction)
*/
is there any possible to store a Json in a couple like:
{ Farm : JSON1,
Hive : JSON2,
Plant : JSON3 }
In my uneducated eyes a Json is at least only a formatted String...
Thax again
Jörg