You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose to write a ~500-1000 word tutorial about Nakama storage. While the building blocks are documented, information is missing about how to build game features with them. I think a tutorial on how decks are implemented in unity-sampleproject would have great value for developers.
The proposed outline is:
Nakama's Storage Engine for decks in unity-sampleproject
This section introduces the storage engine and describes how the decks feature is built on top of it. It also gives an overview of how the feature is structured on the server and the client.
Initializing data for new users
This section describes the data layout and how and when storage for new users can be initialized. It also touches on permissions and explains the permissions in unity-sampleproject.
Verifying storage in the Nakama Console
Shows the user how they can browse the storage using the Nakama Console to help with debugging.
Buying and upgrading cards on the server
Explore the ServerModule implementation and highlight error handling, return types of the RPC calls and where it could be extended (e.g. notifications). The exact RPC calls that should be part of the tutorial should be discussed. Including all RPC calls in the feature would probably lead to too much repetition.
Syncing client state after doing RPC calls
This section is Unity specific and describes how to react to state changes originating from RPC calls. Focuses on the difference between calls that change a single card and calls that change the entire deck.
I also had a look at other features that could benefit from a unity-sampleproject specific tutorial. In addition to storage, Groups/Clans, Wallets, Notifications, Leaderboards and SQL Queries are used in the ServerModules . However, the usage is very basic and for wallets, a tutorial covering its functionality already exists here.
Quests are another feature built on top of Nakama storage. I think it is too basic to highlight the storage feature, however, it would be a good fit for a tutorial showing how different features are connected (storage, wallet (if the reward is implemented) and notifications).
Please let me know what you think!
The text was updated successfully, but these errors were encountered:
I propose to write a ~500-1000 word tutorial about Nakama storage. While the building blocks are documented, information is missing about how to build game features with them. I think a tutorial on how decks are implemented in unity-sampleproject would have great value for developers.
The proposed outline is:
This section introduces the storage engine and describes how the decks feature is built on top of it. It also gives an overview of how the feature is structured on the server and the client.
This section describes the data layout and how and when storage for new users can be initialized. It also touches on permissions and explains the permissions in unity-sampleproject.
Shows the user how they can browse the storage using the Nakama Console to help with debugging.
Explore the
ServerModule
implementation and highlight error handling, return types of the RPC calls and where it could be extended (e.g. notifications). The exact RPC calls that should be part of the tutorial should be discussed. Including all RPC calls in the feature would probably lead to too much repetition.This section is Unity specific and describes how to react to state changes originating from RPC calls. Focuses on the difference between calls that change a single card and calls that change the entire deck.
I also had a look at other features that could benefit from a unity-sampleproject specific tutorial. In addition to storage, Groups/Clans, Wallets, Notifications, Leaderboards and SQL Queries are used in the ServerModules . However, the usage is very basic and for wallets, a tutorial covering its functionality already exists here.
Quests are another feature built on top of Nakama storage. I think it is too basic to highlight the storage feature, however, it would be a good fit for a tutorial showing how different features are connected (storage, wallet (if the reward is implemented) and notifications).
Please let me know what you think!
The text was updated successfully, but these errors were encountered: