Hello,
I have trouble understanding if CloudScript would fit my needs :
My game is a 3D RPG for smartphones with "live" action combats (as opposed to turn-based combats).
However, I won't need to check things server-side in live (like in a multiplayer game to prevent cheating). It's a solo game with social features like visiting other players' castles/house whatever but always as a solo player.
I just need to check if everything is in order at certains points of the game.
But there will be text messaging between friends.
For example, when the player creates a new character, I'll just send from the client the character appearance data like colors and hair style to PlayFab and I'd like to assign, from the server, the character's level (1). Because I guess if I do it from the client, it could get modified to create a new character at lv 100 for example, am I right?
Another example would be to validate, server-side, the player earnings after completing a dungeon.
First, the player initiate a dungeon. So the server will store in player's data a dungeon ID (for example, it can be other data), which can be used to regenerate, client-side, the dungeon to play if the player closes the game before completing or giving up the dungeon. This ID will also help the server to determine the available loots and send them to the client alongside the data needed to "construct" the dungeon the player will explore. (a loading screen is displayed while this happens)
Dungeon is created procedurally according to data sent from server, the player can now play.
So after completing the dungeon, thanks to this ID (and/or other data), the server will check all the looted items/ressources are valid. The player can't drop a Legendary weapon X which shouldn't be lootable in the completed dungeon, or can't earn 2 millions gold where that dungeon could only loot 150 gold at best.
The dungeons will be generated room-by-room (one room = one scene in Unity) so after each room, the server will check what need to be checked and send what type of room is the next one.
Do you think CloudScript is enough for that? Or do I need a separate game server anyway?
If I do need a separate game server, how should I proceed in this path? It's the first time I'm working with remote servers so if you have any leads/documentation etc I would be very grateful.
(That's also why I hope CloudScript is enough hehe, but I guess a separate game server, if needed, would provide more flexibility)
TL;DR :
Is CloudScript enough for these kinds of features :
- Direct messaging between players
- [Solo Play] Check validity of data server-side after completing specific actions (creating a character and set level to 1, check looted objects/currencies after a dungeon has been completed etc)
What do you think?
Thanks