0 Favourites

Error trying to use Spriter with C2

  • when I drag the spriter's animation to C2 and run the project, I get this error:

    "Javascript error!

    Uncought TypeError: cannot read property 'name' of

    undefined"

    -I've already setted up the 'custom save options';

    -The animation was made without bones, but i've tried with them too;

    -I'm using the latest version of spriter and spriter's plugin;

    Any tips? Thanks.

  • Are you importing both a scon and scml of the same name from the same folder? (you just need to drag in one, but BOTH must exist.)

    Thanks,

    Mike at BrashMonkey

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Are you importing both a scon and scml of the same name from the same folder? (you just need to drag in one, but BOTH must exist.)

    Thanks,

    Mike at BrashMonkey

    Hey Mike, thanks for the answer.

    I'm just dragging the .scml file into C2.

    And I am using the c2 and spriter free version.

    Edit: what is that scon file?

    Edit 2 (off-topic): if I buy a spriter license, I can use in more computers?

  • You must save out your spriter project as BOTH scml and a scon file (its the second file format option)...same name, same folder. Then drag in the scml into C2.

    Please check this out: https://www.scirra.com/tutorials/699/im ... tion-files

    And this is a follow-up : https://www.scirra.com/tutorials/827/re ... t2-project

    I hope this helps,

    As for Spriter Pro.. yes, you can install it and register it on all of your computers you'll use it on, just don't allow others to use your Spriter Pro the same time you are.

    cheers,

    Mike at BrashMonkey

  • You must save out your spriter project as BOTH scml and a scon file (its the second file format option)...same name, same folder. Then drag in the scml into C2.

    Please check this out: https://www.scirra.com/tutorials/699/im ... tion-files

    And this is a follow-up : https://www.scirra.com/tutorials/827/re ... t2-project

    I hope this helps,

    As for Spriter Pro.. yes, you can install it and register it on all of your computers you'll use it on, just don't allow others to use your Spriter Pro the same time you are.

    cheers,

    Mike at BrashMonkey

    Thank you very much!

    Works fine now. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • You're very welcome. At some point C2 will only require the scon to work.. We know its confusing and less than ideal that it currently requires both.

    cheers,

    Mike at BrashMonkey

  • You're very welcome. At some point C2 will only require the scon to work.. We know its confusing and less than ideal that it currently requires both.

    cheers,

    Mike at BrashMonkey

    hey mike, sorry for bother you again..

    I wonder if there's a way to make separate animations.. for example:

    I have this guy with a gun in his hands. Can I do an animation just for the gun "knockback"?

    Because if the guy is walking, the walkcycle can't stop to play the shot animation...

    Just one more thing: how can I 'turn on' the animation blend? I can't find any tutorials for this..

    Sorry for the noob questions..

    and for the english

    Thanks

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
Spriter/C2 - Spriter 2 Teaser!
1,800 322,125
tarek2's avatar
tarek2
Unread sticky
763 305,636
asikanddestroy's avatar
asikanddestroy
Unread hot topic
0 Favourites
Your C2 tests
566 243,727
thisisblogs's avatar
thisisblogs