├── README.md ├── docs ├── 1.gif ├── 2.gif └── README.md ├── main.js ├── package.json ├── res ├── builtin │ ├── anchor.png │ ├── bone.png │ └── bone.psd ├── goblins-pro.atlas ├── goblins-pro.json ├── goblins-pro.png ├── shaders │ ├── default.fs │ ├── default.vs │ ├── instancing.fs │ └── instancing.vs ├── skeleton.atlas ├── skeleton.json ├── skeleton.png ├── sp_shuicao.atlas ├── sp_shuicao.json └── sp_shuicao.png ├── run.bat ├── run └── index.html ├── src ├── app.ts ├── core │ ├── spine-animation.ts │ ├── spine-atlas.ts │ ├── spine-bezier-utils.ts │ ├── spine-bone.ts │ ├── spine-data.ts │ ├── spine-debug-mesh.ts │ ├── spine-mesh.ts │ ├── spine-slot.ts │ ├── spine-utils.ts │ └── spine.ts ├── examples │ ├── test-debug.ts │ ├── test-instance.ts │ ├── test-spine.ts │ └── test-sprite.ts └── webgl │ ├── matrix4.ts │ ├── mesh.ts │ ├── renderer.ts │ ├── shader.ts │ ├── sprite.ts │ └── texture.ts ├── test ├── 2.png ├── 3.png ├── grass.spine ├── imges │ └── shuicao6.png └── test.spine ├── tsc.bat └── tsconfig.json /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/README.md -------------------------------------------------------------------------------- /docs/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/docs/1.gif -------------------------------------------------------------------------------- /docs/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/docs/2.gif -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/docs/README.md -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/main.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/package.json -------------------------------------------------------------------------------- /res/builtin/anchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/builtin/anchor.png -------------------------------------------------------------------------------- /res/builtin/bone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/builtin/bone.png -------------------------------------------------------------------------------- /res/builtin/bone.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/builtin/bone.psd -------------------------------------------------------------------------------- /res/goblins-pro.atlas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/goblins-pro.atlas -------------------------------------------------------------------------------- /res/goblins-pro.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/goblins-pro.json -------------------------------------------------------------------------------- /res/goblins-pro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/goblins-pro.png -------------------------------------------------------------------------------- /res/shaders/default.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/shaders/default.fs -------------------------------------------------------------------------------- /res/shaders/default.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/shaders/default.vs -------------------------------------------------------------------------------- /res/shaders/instancing.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/shaders/instancing.fs -------------------------------------------------------------------------------- /res/shaders/instancing.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/shaders/instancing.vs -------------------------------------------------------------------------------- /res/skeleton.atlas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/skeleton.atlas -------------------------------------------------------------------------------- /res/skeleton.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/skeleton.json -------------------------------------------------------------------------------- /res/skeleton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/skeleton.png -------------------------------------------------------------------------------- /res/sp_shuicao.atlas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/sp_shuicao.atlas -------------------------------------------------------------------------------- /res/sp_shuicao.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/sp_shuicao.json -------------------------------------------------------------------------------- /res/sp_shuicao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/res/sp_shuicao.png -------------------------------------------------------------------------------- /run.bat: -------------------------------------------------------------------------------- 1 | ..\node_modules\.bin\electron .\ 2 | -------------------------------------------------------------------------------- /run/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/run/index.html -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/core/spine-animation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-animation.ts -------------------------------------------------------------------------------- /src/core/spine-atlas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-atlas.ts -------------------------------------------------------------------------------- /src/core/spine-bezier-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-bezier-utils.ts -------------------------------------------------------------------------------- /src/core/spine-bone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-bone.ts -------------------------------------------------------------------------------- /src/core/spine-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-data.ts -------------------------------------------------------------------------------- /src/core/spine-debug-mesh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-debug-mesh.ts -------------------------------------------------------------------------------- /src/core/spine-mesh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-mesh.ts -------------------------------------------------------------------------------- /src/core/spine-slot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-slot.ts -------------------------------------------------------------------------------- /src/core/spine-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine-utils.ts -------------------------------------------------------------------------------- /src/core/spine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/core/spine.ts -------------------------------------------------------------------------------- /src/examples/test-debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/examples/test-debug.ts -------------------------------------------------------------------------------- /src/examples/test-instance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/examples/test-instance.ts -------------------------------------------------------------------------------- /src/examples/test-spine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/examples/test-spine.ts -------------------------------------------------------------------------------- /src/examples/test-sprite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/examples/test-sprite.ts -------------------------------------------------------------------------------- /src/webgl/matrix4.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/webgl/matrix4.ts -------------------------------------------------------------------------------- /src/webgl/mesh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/webgl/mesh.ts -------------------------------------------------------------------------------- /src/webgl/renderer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/webgl/renderer.ts -------------------------------------------------------------------------------- /src/webgl/shader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/webgl/shader.ts -------------------------------------------------------------------------------- /src/webgl/sprite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/webgl/sprite.ts -------------------------------------------------------------------------------- /src/webgl/texture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/src/webgl/texture.ts -------------------------------------------------------------------------------- /test/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/test/2.png -------------------------------------------------------------------------------- /test/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/test/3.png -------------------------------------------------------------------------------- /test/grass.spine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/test/grass.spine -------------------------------------------------------------------------------- /test/imges/shuicao6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/test/imges/shuicao6.png -------------------------------------------------------------------------------- /test/test.spine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/test/test.spine -------------------------------------------------------------------------------- /tsc.bat: -------------------------------------------------------------------------------- 1 | node .\node_modules\typescript\bin\tsc -w -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laomoi/spine-player/HEAD/tsconfig.json --------------------------------------------------------------------------------