Skip to content

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

@Arisoo

Description

@Arisoo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions