Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhaserGame.add.spine( x, y, key) raise TypeError: points is undefined #98

Open
Arisoo opened this issue Mar 22, 2018 · 1 comment
Open

Comments

@Arisoo
Copy link

Arisoo commented Mar 22, 2018

Hello. I am very thank you!!!.

I use phaser-spine - version 3.0.9

I have a problem.

I use spine used by weightedmesh

  • when using simple MESH, then no error and no rendering.
  • but when using weightedmesh, then raise follow errors.

I faced with error

function SpineAvatar(aGame, aX, aY, key) {

this.spines = aGame.add.spine(aX, aY, key);  <-- occur error

TypeError: points is undefined
PIXI.Rope
file:///D:/01_idiowork/rnd/phaser/spinetest/lib/phaser.js:22010:5
Phaser.Rope
file:///D:/01_idiowork/rnd/phaser/spinetest/lib/phaser.js:59823:5
Spine.prototype.createMesh
file:///D:/01_idiowork/rnd/phaser/spinetest/lib/phaser-spine.js:3174:25
Spine
file:///D:/01_idiowork/rnd/phaser/spinetest/lib/phaser-spine.js:3003:32
SpinePlugin.prototype.addSpineFactory/Phaser.GameObjectFactory.prototype.spine
file:///D:/01_idiowork/rnd/phaser/spinetest/lib/phaser-spine.js:2927:35
SpineAvatar
file:///D:/01_idiowork/rnd/phaser/spinetest/SpineAvatar.js:4:19
Main.prototype.create
file:///D:/01_idiowork/rnd/phaser/spinetest/Main.js:28:14

@nhech
Copy link

nhech commented May 23, 2019

i have same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants