SDK devs #1 Emote shop creation
Learn how you can easily develop a shop to monetize Emotes in your game by leveraging Kinetix's Emote Infrastructure.
Learn how you can easily develop a shop to monetize Emotes in your game by leveraging Kinetix's Emote Infrastructure.
Emote integration helps games generate new revenue streams. Blockchain Lab Research on Digital Identity reported that the average willingness to spend on Emotes alone is $18.2 per user. Kinetix allows you to leverage an Emote infrastructure giving you access to a large catalogue of Emotes that can be easily monetized in-game.
Antonin Bernardin, Founder & CEO of Valuable Vision, explains you how he leveraged our Emote SDK to create a shop in Unity. He also provides our community of devs with source code and sample for their projects (links are available below).
I implemented a Unity scene which showcases the emote fetching feature of the Kinetix SDK and includes a scenario in which the playable character can interacts with a NPC merchant. Once the player is close enough to the NPC and press the interaction key, it displays a 2D user interface (UI) wherein a few emotes are listed that the player can virtually buy (adding to the player's emote bag). In this UI, displayed emote data are asynchronously loaded using the REST API of Kinetix.
As the provided data is in JSON format and the Unity scripts are coded in C#, I used the HttpClient .NET class to request the REST API and the Newtonsoft Json.NET package to parse data. It was a straightforward process. Regarding the asynchronous loading of the textures/sprites that represent the logos of the buyable emotes, it was achieved through the Unity classes UnityWebRequestTexture and UnityWebRequest.
If your game involve such kind of a scenario, feel free to take a look at the source code of the related Unity project for details (i.e. Github repository's link).
Source code - https://github.com/Ant0nin/kinetix_sdk_use_case_emote_fetching
Unity project (Windows 64-build) - https://github.com/Ant0nin/kinetix_sdk_use_case_emote_fetching/releases/tag/win64_build
Join our newsletter
With Kinetix's SDK & APIs, integrate an AI-powered User-Generated Emote feature in your game with just a few lines of code.