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

QframeworkGodot

An asset by gwtt
The page banner background of a mountain and forest
QframeworkGodot hero image

Quick Information

0 ratings
QframeworkGodot icon image
gwtt
QframeworkGodot

This project is based on a https://github.com/liangxiegame/QFramework implementation of a Godot plugin, using a pure GDStscript implementation. It is still being improved

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

README

QFrameworkGodot 简介 Intro

本项目基于https://github.com/liangxiegame/QFramework 实现的一个godot插件,使用纯gdscript实现的版本。目前还在完善

我的对于此框架的理解:

  • 所有层全部注册到architecture,各个层按所需职责限制好范围,不越界。具体可以参考上面页面的学生总结部分。
  • 类似于注册中心。比如ioc_container和type_event_system都是一个对应的中心,一个是系统的中心,一个是事件分发的中心。
  • command我觉得是一种高级权限,可以直接更改所有层状态。而event属于一种事件的订阅和分发。(最好的说明就是:command是一种意图,event是一个事实)
  • 框架是采取规范的,不必太过于苛刻遵守,但是好的规范一定会编码受益

v0.4:

去除了command这一层,因为gdscript语言的特性,不偏向于多层封装。

v0.5

实现architecture采用全局自动加载形式,可以去掉单例块的代码,保证简洁

v0.6

修复了model自动错误的bug

v0.7

增加了save_manager,可以保存和加载数据,自定义加载数据类型

结构图: README show

如有问题或者相关问题可以联系我

This project is based on a https://github.com/liangxiegame/QFramework implementation of a Godot plugin, using a pure GDStscript implementation. It is still being improved

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
QframeworkGodot icon image
gwtt
QframeworkGodot

This project is based on a https://github.com/liangxiegame/QFramework implementation of a Godot plugin, using a pure GDStscript implementation. It is still being improved

Supported Engine Version
4.3
Version String
0.7
License Version
MIT
Support Level
community
Modified Date
4 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