chuigda / Project-705

中国式家长 - 山寨版
7 stars 1 forks source link

GFX system #35

Closed CousinZe closed 1 year ago

CousinZe commented 1 year ago

游戏中很多地方都会用到自定义资源,需要有一个统一的GFX系统来管理这些资源

chuigda commented 1 year ago

简单来说这套系统就是关于

因为不涉及“业务”上的内容,所以相对比较简单,但可以帮助初步理解 compilation 和 mod loading 环节。

暂时不需要考虑缓存问题,浏览器应该会自行进行一些缓存。处理资源时亦不需要保存其尺寸信息,尺寸可在最终展示时决定(顺便能让多个展示环节使用同一份资源)。

@flaribbit

chuigda commented 1 year ago

Replaced by #52