Thanks to visit codestin.com
Credit goes to github.com

Skip to content

UWillno/spine-qt

Repository files navigation

Spine-Qt-QSG

只是一个简单的QQuickItem实现Spine渲染,测试QSG的可行性、跨平台。

It's just a simple QQuickItem that implements Spine rendering to test the feasibility and cross-platform of QSG.

已测试PC、Android、WebAssembly均可以显示。

It has been tested that PC, Android, and WebAssembly can all be displayed.

具体功能自己完善,解包的资源不上传上来了,你需要换成自己的。

You can improve the specific functions by yourself. The unpacked resources are no longer uploaded. You need to replace them with your own.

Spine-cpp版本为3.8 换成你需要的。

The Spine-cpp version is 3.8. Change it to the one you need.

测试用的Qt版本为 6.10

The Qt version used for testing is 6.10

混合模式、着色器、图片可能需要自己调整,我没有深入研究,只是按照通用渲染绘制的QSGNode……

Blend Modes, shaders, and images may need to be adjusted by yourself. I did not study it in depth. I just drew the QSGNode according to the general rendering...

代码有很大的优化空间,仅供参考。

The code has a lot of room for optimization and is for reference only.

单纹理测试如下

The single texture test is as follows

image-20251018223800246

多纹理测试如下

Multi-texture test is as follows

image-20251018223450865

都可以正常播放,但我并没有截取gif。

All can be played normally, but I did not capture the gif.

测试资源来自碧蓝航线。

The test resources come from Azur Lane.

About

spine-qt-qsg/QQuickItem/QML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages