Hi there folks!
I’m creating a 2d game besides the RPG development. I’m finding myself struggling with the readability and structure when I continue my project after a little while so I started thinking about applying MVC principles to the Unity project structure (like for example in Xamarin).
Of course this is already done by other people before, so I decided to try and find some references on google first to get me going. I’ve found a very interesting article about applying MVC to a Unity project instead of using their standard Entity-Component structure. I’m going and try to apply this concept to my 2d game. I’m not sure if you guys agree on this kind of structure but it’s probably interesting to give it a quick read.
@ben & @Rick_Davidson Maybe apply it to the RPG course beforehand? You know, for the sake of non-spaghetti code or something If not that’s okay of course but I’m very curious about your opinion on this.
The article: https://www.toptal.com/unity-unity3d/unity-with-mvc-how-to-level-up-your-game-development
UPDATE: modified the outcome of the article to my needs. A small simple example can be downloaded here:
- Unity Package: UnityMVC.unitypackage.zip (10.3 KB)
- Git repository: https://bitbucket.org/jeroenboumans/unitymvc
Cheers!