Use WordPress for your game's database and instantly turn any game into a cloud game.
This asset was originally developed for Unity and allowed for games to share their data between each other. Now that this asset has been ported to Unreal it also allows Unity and Unreal games to share their data between each other.
This asset is written entirely in C++ and exposed to Blueprints. Most of the demos are in C++ but some are made in Blueprint just to demonstrate
Installation instructions: https://mybadstudios.com/getting-started/
General documentation: https://mybadstudios.com/
Demo project: https://github.com/mybadstudios/PlatformerGame
This is an ongoing development so new features will be added over time. Current features include:
Login
Login with your WordPress account or create an account from within your game
Auto fetch any data in user-meta when login succeeds
Auto login if "Remember me" is selected
Temporarily kick or permanently ban users
Reset / update WordPress account password
Access / Update personal info from within your game
Guaranteed unique avatar icons for all users (Powered by Gravatar.com)
Age restricted user avatars
Includes a security feature to prevent outside tampering with your data
Virtual Currency & Out-Of-App purchasing
Sell in-game content directly on your website using WooCommerce
Sell items without having to pay royalties to third parties
Accept all forms of payment you can setup on your website including Crypto Currencies.
Includes native support to sell virtual currencies via WooCommerce
Includes native support to sell games via WooCommerce and (optionally) automatically register it to the buyers’ account meaning there is no need for the buyer to first enter a serial to register the game
Cloud Storage
Store anything you can turn into a string: FString, int32, float, bool, Vector, FRotator...
Store data globally for access within all games you make
...or store data for a specific game only
Sort data into categories and fetch data back by field or category or everything at all
Data stored from one device is available from all devices, instantly making your game cloud based
Easy to allow cross-game promotions like adding a bonus in one game for buying something in another...
Achievements
Award achievements manually by deciding for yourself "Now is the time to award this"
Or configure requirements online and regularly check if the requirements are met so they can be awarded automatically
Manage requirements online without needing players to download the binary again
Change the graphics post launch (like seasonal) without needing players to download an update
No need to implement the SDKs of multiple stores. Just host them yourself and code once for all stores
Each achievement contains:
A locked image
An unlocked image
A name
Text to describe how to unlock
Text that describes it after being unlocked
Completely GUI agnostic so you can build your own style of GUI then just plug the above data into it
Piracy Protection
Instead of trying to prevent people from copying a digital product, we propose you let the pirates troll each other to the point where it is no fun playing a pirated copy of your game.
Sell serials from your website
Sell your game from your website and auto issue a serial to the person who bought it
Serials are managed on the server side so players who bought the game never even need to see their serial
Serials are linked to a single account and each account can have only one serial (thus no sharing of serials between players)
Leaderboards
Install once and use with all current and future titles
Display user’s real Gravatar images (if available) with 0 setup
Guaranteed unique avatar for each player
Decide how many results to return from the database
Any size Gravatar from 32 to 512 pixels
Apply age restrictions to user Gravatars
Only 2 functions to learn: FetchScores() and SubmitScore(amt)
With the GUI and functional code being separate from one another it is completely GUI agnostic
Have multiple leader boards per game
Timers
Server hosted timers mean non-cheatable timers
Add any number of stats (HP, Energy, Gold, etc)
Each stat has an independent timer
Each timer has its own duration
Can count down or count up
No configuration required on the server
Takes seconds to implement
Works on all platforms
Fully GUI agnostic
Website
Includes a full WordPress dashboard control panel
Includes a widget to display leaderboards
Full control over all components via the dashboard
Can generate a page listing all your games
Create a skeleton page and let the kit auto display your game's content pages when users select them from the games list
Planned future expansions:
Read and write to the POSTS table