Spriter C3 Addon (8-16-2021 Bug fixes)

From the Asset Store
Rotate & Animation for 16 Direction & Mouse Direction
  • luckyrawatlucky

    hi lucid

    have you looked into this ?

    > 3) "Pin C2 Object to Spriter Object" & "Set C2 Object to Spriter Object" not working.

    They're working for me. I remember fixing something like this recently, but I remember pinging the person who mentioned it. I think you and one other person may have reported it at the same time, and I got mixed up. In any case, please let me know if it's not working for you still, and send me a cap. I just tried with a new cap and both actions worked as expected.

  • lucid I have installed the latest version of spriter plugin but in the Construct 3 addon manager always showing its version 2019.21.02 to me.

    still version showing 2019.21.02.

  • > lucid I have installed the latest version of spriter plugin but in the Construct 3 addon manager always showing its version 2019.21.02 to me.

    still version showing 2019.21.02.

    Oh oops. Just realized it's getting that version number for somewhere else. I know where it is for next version. In any case. Does that mean the pinning to c2 object is working now?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • not working, may be i am doing something wrong.

    can you guide me what are steps?

    my steps are

    On start of the layout > pin sprite's position to "spriter object"

    i also tried

    On initialised > pin sprite's position to "spriter object"

    not working

  • Hi again luckyrawatlucky - I tried at start of layout just to make sure that there wasn't an on start bug I didn't know about, and it still works. The main thing to might be going on is that for the Spriter Object you have to make sure it's exactly the name of the Spriter object from the Spriter project (case-sensitive), and not the name that it gets after it's imported into C3. For instance, I have a project here and one of the C3 sprite objects got named "Person_entity_000_Front_shoulder", but if I wanted to pin to it I would just use "Front_shoulder". If it still doesn't work, please try with an empty project, and lemme know if that works.

  • Thanks lucid

    now i got it working, i was using name that it gets after it's imported into C3.

    Thank you so much.

    What is the difference between "Pin C2 Object to Spriter object" and "Set C2 Object to Spriter object".

    I tried both and both are doing same thing. what exactly difference between them.

    btw "Pin C2 Object..." should rename as "Pin C3 Object..."

  • luckyrawatlucky - excellent. Glad it's working now. Pin is permanent, and Set should be only for the current tick. I fixed the strings saying 'C2' for the next version.

  • in Spriter software if you add predefined easing tween in (easing curve editor) then it will be so good. When i do animations in spriter. easing were always my problem.

  • lucid

    getting C3 crash when i drag Spriter plugin object to timeline for animation.

    Error report information

    Type: unhandled exception

    File: editor.construct.net/r168/main.js, line 2, col 126705

    Message: Uncaught Error: invalid property id 'initial-animation'

    Stack: Error: invalid property id 'initial-animation' at i.ǃFl (https://editor.construct.net/r168/projectResources.js:1:187918) at Object.ǃEst (https://editor.construct.net/r168/components/bars/timelineBar/timelineBar.js:1:72554) at new (https://editor.construct.net/r168/components/bars/timelineBar/timelineBar.js:1:66965) at Function.ǃf (https://editor.construct.net/r168/main.js:2:126684) at l.ǃllB (https://editor.construct.net/r168/components/bars/timelineBar/timelineBar.js:1:57326) at l.ǃlFD (https://editor.construct.net/r168/components/bars/timelineBar/timelineBar.js:1:57195) at l.ǃFTT (https://editor.construct.net/r168/components/bars/timelineBar/timelineBar.js:1:38316) at Array. (https://editor.construct.net/r168/components/bars/timelineBar/timelineBar.js:1:33285) at Object.ǃEbJ (https://editor.construct.net/r168/main.js:2:195033) at Object.dispatchEvent (https://editor.construct.net/r168/main.js:2:192901)

    Construct 3 version: r168

    URL: editor.construct.net/r168

    Date: Sun Sep 29 2019 13:20:30 GMT+0530 (India Standard Time)

    Uptime: 26.1 s

    Platform information

    Browser: NW.js

    Browser version: 0.41.0

    Browser engine: Chromium

    Browser architecture: 64-bit

    Context: nwjs

    Operating system: Windows

    Operating system version: 10

    Operating system architecture: 64-bit

    Device type: desktop

    Device pixel ratio: 1

    Logical CPU cores: 12

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (@ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364) NWjs/0.41.0 (like Chrome/77.0.3865.75)

    C3 release: r168 (beta)

    Language setting: en-US

    WebGL information

    Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)

    Numeric version: 2

    Supports NPOT textures: yes

    Supports GPU profiling: yes

    Supports highp precision: yes

    Vendor: Google Inc.

    Renderer: ANGLE (NVIDIA GeForce GTX 1060 6GB Direct3D11 vs_5_0 ps_5_0)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 1024

    Extensions: EXT_color_buffer_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_filter_anisotropic, KHR_parallel_shader_compile, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context

  • lucid

    zelevation not showing in the property bar > common

  • getting 1 more issue

    I did 6 copies of Spriter animation in the layout and on start of the layout i picked few random animations and flipped to x axis. then later on specific conditions i changed scale ratio of Spriter object. but it also affecting "flip x axis". If i choose "don't flip x axis" then it sets all animations to its normal state (which is not flipped) which i did flip at startup.

  • Hi lucid,

    Any news from the bug which make all SCML object with an effect on them become invisible?

    Do you plan to fix it anytime soon?

    Thanks!

  • luckyrawatlucky

    in Spriter software if you add predefined easing tween in (easing curve editor) then it will be so good. When i do animations in spriter. easing were always my problem.

    That type of thing will work better in Spriter 2. In the meantime, I think the best workaround is to copy the easing curve you want and then select all the other keys and paste the easing curve.

    getting C3 crash when i drag Spriter plugin object to timeline for animation.

    Unfortunately, I can't look into this right now. I haven't worked with the timeline api at all yet.

    zelevation not showing in the property bar > common

    Once the api documentation has been updated to show how to add z-elevation to common aces, this will be an easy fix.

    getting 1 more issue

    I did 6 copies of Spriter animation in the layout and on start of the layout i picked few random animations and flipped to x axis. then later on specific conditions i changed scale ratio of Spriter object. but it also affecting "flip x axis". If i choose "don't flip x axis" then it sets all animations to its normal state (which is not flipped) which i did flip at startup.

    I would need to see a basic capx where I could reproduce the problem easily. I can't get it to happen over here.

    Rable

    Any news from the bug which make all SCML object with an effect on them become invisible?

    Do you plan to fix it anytime soon?

    Thanks!

    10-12-2019

    • Fixed a bug where self-drawing instances with effects applied would not render at all.
  • this file

  • luckyrawatlucky - oh, ok. That's actually not a bug, but I will see if I can think of better wording for a future version. Basically, the Set Object Scale Ratio sets the scale AND whether the object is flipped. So when it says 'don't flip x axis', that means, set the object x axis to 'unflipped'. I can't do it right now, but I can definitely add something in a future version that will let you choose a third option for 'keep flipping the same'.

    In the meantime, there are conditions to check(and actions to set) if an object is mirrored(x axis) or flipped(y axis), so it would take two events instead of one, but you could do

    is mirrored

    • -set ratio with x flipped

    else

    • -set ratio with x not flipped
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)