AAA
started a topic on Sat, 11 July 2015 at 2:58 PM
I've been developing a simple turn based card game in Unity, void of any real network or multiplayer aspects - just the game logic and some graphics. Yesterday I decided it was time to work on Multiplayer, and first I found Photon, and naturally that lead me to PlayFab. I've been reading docs and examples for a day, but I'm still confused. Here are my basic questions:
1) My game is a two player, turn-based game. That means I don't care about continuous syncing - I should only have to send or receive data when a player performs an action. This means I should use the App ID for Photo Turnbased, right?
2) When I first found Photon, I followed their guides and downloaded their Unity package to my Unity project. Then I later found PlayFab. Now I'm not sure what package I need. the PlayFab SDK and Photon's Unity package?
3) Where in the world does my game logic go? I'm very confused (and inexperienced) about this. Traditionally, the game logic is within the Unity project, in scripts attached to objects. But if neither of the players are servers, where do I put my game code? I want to make sure players don't cheat (authoritative).
Thanks and I hope to get going with PlayFab/Photon soon!