In This Article:

Introduction 🏷


Agate MVC Framework is a toolkit for game developer that uses Unity as their game engine’s of choices. It’s goal is to make developing project easier and more structured rather than starting from scratch. By providing an easy access to implementing known programming concept such as Dependency Injection and Pub Sub pattern, Agate MVC Framework lets you focus more on developing your project while maintaining modularity of your code to follow MVC pattern.

Do you need Agate MVC Framework?

Agate MVC Framework will be your go-to, if :

In conclusion, Agate MVC Framework can help your project code have clearer responsibility, and better scalability in future. Do note that since implementing Agate MVC Framework requires time for setup and designing, if your game is simple and very much straightforward with small amount of code, you don’t really need to use Agate MVC Framework.

Although learning a new framework can somewhat be difficult yet exciting at the same time. To ease your journey, we’ve created a go-to list for you to read below :

After reading those bite sized reads, you can start implementing Agate MVC Framework. Head to Usage Manual for additional guidance on how you work with Agate MVC Framework or you can go to Examples to see how Agate MVC Framework applied to games!

GitHub - AgateInternational/MVC: MVC Framework for Unity

Programming Concept 📚

<aside> 📌 To use Agate MVC Framework, you need to understand programming concept below

</aside>

MVC

Architecture Layer

Modularity

Dependency Injection (DI)

Publish Subscribe (Pub-Sub)

Getting Started 🚀


<aside> 🎯 Goals

Installation

Namespace

Setup Boot

Setup Scene

Implement MVC

Implement DI

Implement Pub-Sub

Conclusion

<aside> ℹ️ ExampleGame project that we have created in getting started can be cloned or downloaded from ExampleGame repository

</aside>

<aside> ℹ️ You can also clone Agate MVC Repository to see Example for more complex implementation of Agate MVC Framework

</aside>

API Documentation 📃

Boot

Scene

Module

Connector

Usage Manual 🛠


<aside> 🎯 Goals

Define Layer

Choosing MVC Types

Multi-Instance Object

Setup Object

Implement Connector

Example Game 🎨


Additional Reference

You can watch the story behind Agate MVC Framework from video below:

Skill Tree Online #88 - Developing Scalable and Maintainable Game Using Agate MVC Framework