Spriter/C2 - (9-16-2019 - bug fix)

From the Asset Store
Rotate & Animation for 16 Direction & Mouse Direction
  • lucid, Oh thank you! That was it. Did't even cross my mind :)

  • lucid - It wouldn't import properly, but by following Roccino's instructions I could get it into the game. But when I start the game in preview I get this:

    Javascript error!Uncaught SyntaxError: Unexpected token <http://localhost:50000/, line 1 (col 0)This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!

    Followed by this:

    Javascript error!Uncaught TypeError: Cannot read property 'length' of nullhttp://localhost:50000/Spriter_plugin.js, line 1222 (col 14)This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!

    Any ideas? I followed all your instructions. I am using version 152 of C2.

  • Tobye, unfortunately, I won't be able to look at this until tomorrow, but please send me the capx to lucid@brashmonkey.com, and I'll take a look.

  • lucid - sorry, my mistake. I didn't follow allll the instructions correctly <img src="smileys/smiley9.gif" border="0" align="middle" /> Just went and got the pro version anyway, this is a beastly addition to C2.

    EDIT: I tried it out on the Tizen IDE emulator just now though and nothing shows up at all :( Any ideas/plans about this?

  • Yay ,new update !!! :D

  • MelVin

    what i did was:

    i went to spriter(installed the latest version from their site) and re-saved (saving as option)with the exact same name as before both files(scml,scon)

    i installed the 25/11 version

    i loaded my previous save with the 18/11 version of the plugin

    i went to spriter animation tab in construct(bottom right corner)

    deleted the 2 files(scon,scml)

    right clicked on the tab,selected import,and i imported both.

    after that it just worked!

    i hope it works for you too.

    Roccinio, thanks for help and the instructions, I did try this but had no luck.

    Lucid

    Thanks for your hard work, but Im still having the same issue as mentioned before. To recap briefly, it has always work with the 18/11 plugin but framerate is very low, about 10-15 fps( normally with spriter it's 60 all the time).

    Once I upgrade to the 25/11 or 28/11 the spriter object not longer pins to my Playerbox(collisionbox) after spawning, it just stays were it was created in a big mess of parts. Nothing has been changed in the project, I have tested multiple times with each one.

    My spriter object is using the Pin and Flash Behavior, animation speed is set to run at 0.05 and scaled to 0.45 if this helps.

  • EDIT: I tried it out on the Tizen IDE emulator just now though and nothing shows up at all :( Any ideas/plans about this?

    I will have to look into this. I don't know much about the Tizen export yet.

    ... Im still having the same issue as mentioned before...

    Please send me your capx to lucid@brashmonkey.com, and I'll take a look

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lucid

    with the new version my bone animations play fine ,but the swapped pngs during runtime don't play at all. (meaning eyes closing and opening etc)

    inside spriter everything is fine.

  • I'll try to combine 2-3 spriter objects for my monsters/players etc. to have more control in C2(change angle of a special part in realtime etc.)

    But spriters .scml object saves for each instance its own zorder.

    So it's impossible for me to combine them for my project.

    Even set "every tick -> bring to front/bottom" doesn't help.

    Could you make an option when I export, to not save the z-order into the scml?

    Or someone has another idea how to solve my problem?

    And is it possible to change the origin of the scml in C2?

    ____

    I try to setup a guy with a gun. The arms are one scml object, another scml for the torso etc. Have no control of the z-order or the origin of each scml object means, it's impossible to setting up mouse aiming with spriter. That would be sad :/

    edit: Okay, the origin seems to be always the center in the editor, that makes sense. Just having that issue with the z-order.

    edit2: hm, kinda solved sorting prob. but changing the angle of an scml object, also changes the direction of the animation. For example arms going up and down a little in 'idle' animation, will going left/right for 90? angle etc...

    I have to wait then, until there is more control(maybe with IK) in C2 self with the scml object.

  • lucid

    I spent last night testing and re testing everything, reinstalled C2 and all the plugins and behaviors without any luck. Finally I broke down my project piece by piece til nothing remained but the restart/character spawning, still nothing. Hoping you will have better luck.

    Thanks for helping, email should be there shortly :)

  • MelVin

    I have the same problem, the only fix I found was removing my spriter stuff from my C2 project and re-adding it. Luckily I didn't have much going on with it yet so I won't lose much time.

  • Hi, working through emailed projects at the moment, but anyone having similar trouble, before removing all Spriter stuff, please try to just remove the actual scon file from the project, and add the resaved version using c2's project pane

  • Easing curves and deformation not work on c2 now?

  • So what is the process for re-importing in this current version? When I drag the .scml or .scon file into Construct 2, it seems to find the file for reimporting, but then it gives me an error about how it can't find the .scml file and stops. This happens whether I drag in the .scml or the .scon.

    Using r152 of Construct, and the latest build of Spriter and the plugin. All save options enabled in Spriter.

  • Easing curves and deformation not work on c2 now?

    Not yet winsonzhong.

    So what is the process for re-importing in this current version? When I drag the .scml or .scon file into Construct 2...

    I should have been more clear. I meant to just re-import the actual Spriter project files:

    <img src="https://dl.dropboxusercontent.com/u/1013446/forumstuff/reimportc2.PNG" border="0" />

    Specifically the .scon file. I know this transition period is a bit messy, but the it was necessary to get us this faster, CocoonJS compatible version.

Jump to:
Active Users
There are 3 visitors browsing this topic (0 users and 3 guests)