Jump to content

JS Error cannot read property of 'c2Object' of undefined


Exile03330

Recommended Posts

Hello,

I am having a problem updating the sprites for one of my tests. It seems that when I add a sprite to the animation I will get a JS error when I run the C2 project. After I got the error I removed the sprite from the animation and it would not error.

OS: Windows 10 Pro

Spriter: Steam version R5

Plugin: The updated one from 1/23/16

C2: R221

LInk to capx and Spriter files: https://drive.google.com/file/d/0B_14V9jZl-I2aldxc1RHdmw3Zzg/view?usp=sharing

The "edited" folders are the ones I made the changes to and that error.

Hmm, also when I load the edited Spriter files the trigger name shows up in the Z-order of the objects..I am not sure if this is expected. The TimerBody.png was showing before I saved.

 

Thanks for any help :)

 

Trigger.png

Error.png

Link to comment
Share on other sites

@Exile03330 I had a chance to look at your files.  It appears that there was an issue where your event trigger ended up causing a file corruption issue.  This seems to be causing oddities within Spriter, and also the import issues in C2.  I fixed a bug like this for the upcoming version of Spriter which will release soon.   Please try adding the trigger again with the upcoming version and let me know if you run into the issue again.   

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...