cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
6.77k stars 1.77k forks source link

Expect to upgrade the built-in minigame-canvas-engine for open-data #15425

Open yuanzm opened 1 year ago

yuanzm commented 1 year ago

Use Case

The built-in minigame-canvas-engine(platforms/minigame/openDataContext/engine.js) in Cocos is already outdated by 3 years. Recently, the minigame-canvas-engine has undergone many optimizations and upgrades, including support for the tweening system, support for WeChat Mini-Game plugins, support for rich-text components, as well as a series of performance optimizations.

Specifically, by using the WeChat Mini-Game plugin to reference the minigame-canvas-engine, better version control and upgrades can be achieved, while also enjoying the additional benefits brought by the WeChat Mini-Game plugin.

Problem Description

I am unable to use the various new features of the minigame-canvas-engine.

Proposed Solution

No response

How it works

No response

Alternatives Considered

I have two suggestions:

Upgrade the built-in minigame-canvas-engine. Support referencing the minigame-canvas-engine using the WeChat Mini-Game plugin method, which can be referred to in the documentation at https://wechat-miniprogram.github.io/minigame-canvas-engine/overview/plugin.html.

Additional Information

No response

dumganhar commented 10 months ago

https://github.com/wechat-miniprogram/minigame-canvas-engine

https://github.com/cocos/cocos-engine/blob/v3.8.2/platforms/minigame/openDataContext/engine.js

https://docs.cocos.com/creator/manual/en/editor/publish/build-open-data-context.html

Test: https://github.com/cocos/cocos-example-open-data-context