Django-Unity-Example is an example project of how to use Django as a backend for a Unity3D game.
Creating backends for your games has never been this easy! Django and the Django Rest Framework are excellent tools for designing your ideal Unity3D API. The goal of this project is to provide you with an example which shows you how to get started with Django and Unity3D. As this is just an example project, this does not cover deploying or getting ready for production.
This project contain the following features:
- Players can signup using an email adress, username and password
- Players can login
- Players will be able to save their score and get a list of all scores
- Players can save their game(blob of data) and retreive a list of saved games
This project was targetted for Windows users but since both Django and Unity3D are compatible with Linux and Mac, converting to these platforms won't be that much trouble.
- Django (v1.7.1)
- Django-rest-framework (v3.0.2)
- Unity3D (v5.0+) NOTE: For Unity 4.x support, check out the unity4_support tag at https://github.com/eamonwoortman/django-unity3d-example/releases/tag/stable_unity4
- MS Visual Studio Community 2013
- Python tools for Visual Studio (v2.1)
- Installation - Installation
- Getting Started - Getting Started
- API routes - A list of all the supported API routes of the Django back-end
- Wiki - The rest of the wiki
All the screenshots can be found at our screenshots page.
- Bas Roding (broding)
Django-Unity-Example is licenced under the MIT License. Please see the LICENSE file for details.
The Json.Net library was also released under the MIT License