Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Godot MVC

An asset by baifeng
The page banner background of a mountain and forest
Godot MVC hero image

Quick Information

0 ratings
Godot MVC icon image
baifeng
Godot MVC

lightweight mvc framework written with gdscript.- Lightweight and non-intrusive.- Support serialization and deserialization.- Easy to use.

Supported Engine Version
4.3
Version String
1.4.1
License Version
MIT
Support Level
community
Modified Date
10 months ago
Git URL
Issue URL

godot-mvc

Lightweight mvc framework wirtten with gdscript.

README

Features

  • Lightweight and non-intrusive.
  • Independent of Node components.
  • Support serialization and deserialization.
  • Easy to use.

How To Use

  • Copy the 'mvc' directory to any location within your Godot project.
  • Begin your MVC coding journey with the following code:

# create mvc app
var app = mvc_app.new()

# add proxy (model proxy)
app.add_proxy("p1", mvc_proxy.new(1))
app.add_proxy("p2", mvc_proxy.new(2))
app.add_proxy("p3", mvc_proxy.new(3))

# add handler (controller)
app.add_handler("h1", mvc_handler.new())
app.add_handler("h2", mvc_handler.new())
app.add_handler("h3", mvc_handler.new())

# add command
app.add_command("my_command", mvc_command)

# send notification
app.notify("my_notification", with_param)
app.notify("my_command", with_param)

# get proxy
var p1: mvc_proxy = app.get_proxy("p1")
print( p1.data() )

lightweight mvc framework written with gdscript.

- Lightweight and non-intrusive.
- Support serialization and deserialization.
- Easy to use.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot MVC icon image
baifeng
Godot MVC

lightweight mvc framework written with gdscript.- Lightweight and non-intrusive.- Support serialization and deserialization.- Easy to use.

Supported Engine Version
4.3
Version String
1.4.1
License Version
MIT
Support Level
community
Modified Date
10 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers