eamonwoortman / django-unity3d-example Goto Github PK
View Code? Open in Web Editor NEWDjango-unity3d-example is an example project of how to use Django as a backend(API) for a Unity3D game.
License: MIT License
Django-unity3d-example is an example project of how to use Django as a backend(API) for a Unity3D game.
License: MIT License
Take a look at http://www.django-rest-framework.org/api-guide/status-codes/
Whenever you update a savegame, a new file is generated due to the nature of the upload_to method. This will cause the uploads folder to get bloated with old, "overwritten" savegames.
Make sure the old file gets deleted whenever a savegame get's updated.
It would be nice to separate the different features over multiple apps so backend developers can simply add/remove apps to their project.
For example, if one project requires savegames but the other does not, the developer can simply add 'unity.savegames' to the INSTALLED_APPS config variable and it will be enabled.
Great project...it will be a big help!
I'm able to open the project and successfully run it using Unity 4.5.2f1.
In Unity 5 Personal I get a message of "No MonoBehaviour scripts in the file, or their names do not match the file name."
Pseudo code:
JeuDeBoulesGameData
System.Type type = System.Type.GetType("JeuDedBoulesGameData");
JeuDeBoulesGameData data = JConvert.DeserializeObject(jsonString, type);
public class JeuDeBoulesGame : BaseGame<JeuDeBoulesGameData> {
}
{
"name" : "Awesome savegame 1",
"type" : "JeuDeBoulesGameData",
"file" : "/foo/bar/"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.