samchen2009 / SpineInCocosCreator

This is an example of spine animation in CocosCreator preview:

Home Page:https://dengxiaochun.github.io/SpineInCocosCreator/build/web-mobile/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spine 骨骼动画在Cocos Creator中的应用

本实例基于CocosCreator v2.0.9,spine runtime v3.6示例项目

因creator暴露出来的骨骼动画接口不多,增加了creator.d.ts中的Skeleton类的属性,而且添加了spine-core.d.ts。

实例中有3个场景,可切换场景

spineboy

基本动画和过渡效果,还有手动更改插槽中的附件实现表情更换 image

hero

更换皮肤和装备功能 image

IKConstraints

动画分层和路径约束功能 image

About

This is an example of spine animation in CocosCreator preview:

https://dengxiaochun.github.io/SpineInCocosCreator/build/web-mobile/index.html

License:Mozilla Public License 2.0


Languages

Language:TypeScript 43.8%Language:JavaScript 28.2%Language:CSS 18.4%Language:HTML 9.6%