flyover / spine-c2-plugin

A Construct 2 plugin for creating a Spine animation object.
MIT License
27 stars 5 forks source link

Bug: Cant use the "On Created" feature with spine object #11

Closed justifun closed 8 years ago

justifun commented 8 years ago

When using the "On Created" action to trigger another action,

Results are a java script error upon running game.

Uncaught TypeError: Cannot Read property 'anim_keys' of null Spineplugin_plugin.js line 525(col 30)

flyover commented 8 years ago

I see. It looks like it calling the action before the Spine data has finished loading. I need to figure out if/how Construct handles asynchronous loading.

flyover commented 8 years ago

fixed in ea48f45b72c5b65889359180af0b0e3cdd9e8e5b