Using the AWS Cloud for Your next Unity 3D Game
Indie game developers are pumped up about the many opportunities available in the growing mobile gaming market. But these gaming startups face many challenges when building and updating their games. One recurring theme with mobile developers is the need to seamlessly transition users between devices (smartphone, tablets, consoles) and adjust the game look and logic without deploying a full app update.
For this reason the AWS Mobile Development team recently announced the availability, in developer preview, of the AWS Mobile SDK for Unity. You can now build cross-platform applications that leverage the AWS services with Unity. The SDK includes support for Amazon Cognito, Amazon DynamoDB and Amazon S3.
You can use Amazon Cognito to securely access your AWS resources as well as save and synchronize the application state across devices. This blog post and sample discusses how to use Amazon Cognito to store saved games in the cloud, cache them on the local device, and synchronize them across all of a user’s devices.
DynamoDB is a flexible NoSQL database that gives consistent, single-digit millisecond latency at any scale. DynamoDB helps you save data that your game needs to share across multiple users, such as a top score table and a shared assets list.
But DynamoDB isn’t your only option. When your game relies on large, frequently changed assets, you can use Amazon S3 to store these files in the cloud and then retrieve them from your game at run time. This helps you update the assets in your game without having to publish a full update through the app stores.
The AWS Mobile SDK for Unity is compatible with Unity 4.0 and onward, and supports both free and pro versions. The SDK is currently available in developer preview; the development team will make improvements based on your feedback. So be sure to communicate your questions, issues, or ideas through the AWS SDK GitHub repository.
Here’s some links to get your started:
• AWS Mobile SDK for Unity
• AWS Mobile SDK for Unity Getting Started Guide
• Get Started with Amazon Cognito Sync
• Get Started with Amazon S3
• Get Started with Aamazon DynamoDB